/* ============================================
   KORU WEBSITE — Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Lato:wght@700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.9);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent-teal: #0099ff;
  --accent-blue: #00d4aa;
  --accent-purple: #7c3aed;
  --gradient-accent: linear-gradient(135deg, #0099ff 0%, #00d4aa 100%);
  --gradient-accent-hover: linear-gradient(135deg, #00e6b8 0%, #1aa8ff 100%);
  --gradient-hero: linear-gradient(160deg, #ffffff 0%, #f1f5f9 40%, #e2e8f0 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.6));

  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-accent: rgba(0, 212, 170, 0.3);

  --glow-teal: 0 0 20px rgba(0, 212, 170, 0.15);
  --glow-blue: 0 0 20px rgba(0, 153, 255, 0.15);
  --glow-orange: 0 0 20px rgba(255, 106, 0, 0.25);

  --accent-orange: #ff9d00;
  --accent-orange-deep: #ff6a00;
  --gradient-orange: linear-gradient(135deg, #ff9d00 0%, #ff6a00 100%);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --header-height: 72px;
  --container-max: 1000px;
  --container-mid-wide: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;
  --section-padding: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container-mid-wide {
  max-width: var(--container-mid-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-sm {
  padding: 80px 0;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo svg,
.header-logo img {
  width: 32px;
  height: 32px;
}

.header-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.08);
}

.header-nav a.active {
  color: var(--accent-teal);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-accent);
  color: #0a0e17 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 2px 15px rgba(0, 212, 170, 0.25);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(0, 212, 170, 0.4);
  color: #0a0e17 !important;
}

.btn-download img {
  width: 16px;
  height: 16px;
}

.btn-download-orange {
  background: var(--gradient-orange);
  color: #fff !important;
  box-shadow: 0 2px 15px rgba(255, 106, 0, 0.3);
}

.btn-download-orange:hover {
  box-shadow: 0 4px 25px rgba(255, 106, 0, 0.5);
  color: #fff !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-teal);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-accent);
  color: #0a0e17;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 2px 15px rgba(0, 212, 170, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(0, 212, 170, 0.4);
  color: #0a0e17;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-teal);
  background: rgba(0, 212, 170, 0.05);
  color: var(--text-primary);
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-orange);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
  letter-spacing: 0.02em;
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 106, 0, 0.5);
  filter: brightness(1.05);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(0, 212, 170, 0.15);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-accent);
  opacity: 0.15;
  z-index: -1;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-teal);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 170, 0.1);
  margin-bottom: 20px;
}

.feature-icon img {
  width: 24px;
  height: 24px;
  /* color: var(--accent-teal); not needed for img */
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- What Is Koru Section --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse>* {
  direction: ltr;
}

.split-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.split-text h2 {
  margin-bottom: 20px;
}

.split-text p {
  margin-bottom: 16px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Screenshots --- */
.screenshot-block {
  margin-bottom: 40px;
  text-align: center;
}

.screenshot-block:last-child {
  margin-bottom: 2rem;
}

.screenshot-block img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.1));
  margin-bottom: 40px;
}

.screenshot-block p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: left;
  margin: 0 2rem 1rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-teal);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-info {
  padding: 20px 24px;
}

.gallery-card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.gallery-card-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Sub-navigation (for gallery, order) --- */
.subnav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  display: inline-flex;
  margin-bottom: 24px;
}

.subnav a {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.subnav a:hover {
  color: var(--text-primary);
}

.subnav a.active {
  background: var(--bg-tertiary);
  color: var(--accent-orange);
}

/* --- Content Page Styles --- */
.page-hero {
  padding: calc(var(--header-height) + 24px) 0 24px;
  background: var(--gradient-hero);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  /* margin-bottom: 12px; */
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 24px;
}

.page-hero p:last-child {
  margin-bottom: 0;
}

.content-section {
  padding: 40px 0;
}

.content-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.content-card+.content-card {
  margin-top: 24px;
}

.content-card h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.content-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.content-card p {
  margin-bottom: 12px;
}

.content-card img {
  margin: 32px 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-subtle);
}

.content-card img.clean-screenshot {
  box-shadow: none;
  border: none;
  width: 108%;
  max-width: 108%;
  margin-left: -4%;
  margin-top: 0;
  margin-bottom: 0;
}

.content-card ul {
  margin-bottom: 12px;
  padding-left: 0;
}

.content-card ol {
  margin-bottom: 12px;
  padding-left: 24px;
  list-style: decimal;
}

.content-card ul li,
.content-card ol li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-secondary);
}

.content-card ol li {
  padding-left: 8px;
  /* Less padding needed for ol li since they have numbers in the gutter */
}

.content-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}

/* --- Code Blocks --- */
pre {
  background: var(--bg-tertiary);
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
}

pre code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-teal);
}

pre code {
  /* color: var(--text-primary); */
  color: #757a87;
}

/* --- Tables --- */
.content-card table {
  width: auto;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.content-card table th,
.content-card table td {
  padding: 14px 18px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.content-card table th:last-child,
.content-card table td:last-child {
  border-right: none;
}

.content-card table th {
  background: var(--bg-tertiary);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.content-card table tr:last-child td {
  border-bottom: none;
}

/* --- Download Cards --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.download-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-teal);
}

.download-card.active-platform {
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 157, 0, 0.15);
}

.download-card .os-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-md);
}

.download-card .os-icon img {
  width: 28px;
  height: 28px;
}

.download-card h3 {
  margin-bottom: 8px;
}

.download-card .platform-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.download-card .btn-primary {
  width: 100%;
  justify-content: center;
}

/* --- Comparison Table --- */
.comparison-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  table-layout: fixed;
  position: relative;
  z-index: 1;
}

/* Background highlight for the 2nd and 3rd columns */
.comparison-table::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(2 * max(100px, 30%));
  background: linear-gradient(to right,
      var(--accent-teal) 0%, var(--accent-blue) 50%,
      #f6faff 50%, #e1e9f1 100%);
  z-index: -1;
  border-radius: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 4px 24px;
  text-align: left;
  background: transparent;
  /* Ensure cells don't block the column background */
}

/* Center headers and cells for the 2nd and 3rd columns */
.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
  width: 30% !important;
  min-width: 100px !important;
  /* max-width: 300px !important; */
}

.comparison-table thead th {
  background: rgba(148, 163, 184, 0.05);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table thead th:nth-child(2) {
  color: #ffffff;
}

.comparison-table td:nth-child(2) {
  color: #ffffff;
}

/* Ensure all elements within the featured column stay white */
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(2) * {
  color: #ffffff !important;
}

/* Rounded corners for the last cell if needed - no longer needed with single element background, but kept for cell border-radius if any */

.comparison-table thead th:first-child {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  border-top-left-radius: 0;
}

.comparison-table thead th:last-child {
  border-top-right-radius: 0;
}

.comparison-table .group-row {
  background: rgba(148, 163, 184, 0.03);
}

.comparison-table .group-row td {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 32px;
  padding-bottom: 16px;
}

.comparison-table tr:hover:not(.group-row) {
  background: rgba(0, 212, 170, 0.02);
}

.comparison-table .feature-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table .feature-sublabel {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.comparison-table .status-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.comparison-table .status-icon.tick {
  -webkit-mask-image: url('/order/tick.svg');
  mask-image: url('/order/tick.svg');
  color: #10b981;
}

.comparison-table .status-icon.x {
  -webkit-mask-image: url('/order/x.svg');
  mask-image: url('/order/x.svg');
  color: #ef4444;
}

.comparison-table .price-cell {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.comparison-table .action-row td {
  padding: 32px 24px;
  border-bottom: none;
}

.comparison-table .btn-primary {
  padding: 10px 20px;
  font-size: 0.9rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .comparison-table-container {
    border-radius: var(--radius-md);
  }
}


/* --- Tutorial Cards --- */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.tutorial-card {
  display: block;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  color: inherit;
  text-decoration: none;
}

.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-teal);
  color: inherit;
}

.tutorial-card .tutorial-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.tutorial-card h3 {
  margin-bottom: 10px;
}

.tutorial-card p {
  font-size: 0.95rem;
}

/* --- Scene Info --- */
.scene-info {
  margin: 0 !important;
  /* border-collapse: collapse !important; */
  /* border-spacing: 0 !important; */
}

/* --- Contact Form --- */
.contact-form {
  max-width: var(--container-max);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .header-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-teal);
}

.footer-ds-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Tahoma', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* Floating animation for hero image */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .header-nav.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .container {
    padding: 0 16px;
  }

  .content-card {
    padding: 24px;
  }
}

/* --- Utility --- */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}