:root {
  /* Fonts */
  --font-primary: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;
  
  /* Color Palette - MarkSense Cyan/Emerald Theme */
  --color-primary-grad: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --color-accent-grad: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --color-primary: #06b6d4;
  --color-primary-hover: #0891b2;
  --color-accent: #10b981;
  --color-dark-bg: #030712;
  
  /* Glassmorphism Design Tokens */
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-bg-hover: rgba(30, 41, 59, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(6, 182, 212, 0.3);
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.45);
  --glass-blur: blur(20px) saturate(180%);
  
  /* Light Glassmorphism Tokens */
  --light-glass-bg: rgba(255, 255, 255, 0.04);
  --light-glass-bg-hover: rgba(255, 255, 255, 0.08);
  --light-glass-border: rgba(255, 255, 255, 0.1);
  
  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-highlight: #38bdf8;
  
  /* Dimensions & Spacing */
  --border-radius-xl: 32px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-dark-bg);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
}

.bg-glow-1 {
  width: 550px;
  height: 550px;
  background: #06b6d4;
  top: -100px;
  left: -150px;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: #8b5cf6;
  top: 500px;
  right: -200px;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: #10b981;
  bottom: 300px;
  left: 10%;
}

/* Glass Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
}

.shadow-blur {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.gradient-text {
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  z-index: 1000;
  padding: 12px 28px;
  border-radius: var(--border-radius-xl);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-select option {
  background: #0f172a;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--color-primary-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
}

/* Main & Sections */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 120px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.highlight-item span {
  color: var(--color-accent);
}

/* Hero Visual Mockup */
.hero-visual {
  position: relative;
}

.mock-window {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mock-window:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

.bar-circle {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.bar-circle:nth-child(1) { background: #ef4444; }
.bar-circle:nth-child(2) { background: #f59e0b; }
.bar-circle:nth-child(3) { background: #10b981; }

.window-title {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-code);
}

.window-body {
  padding: 12px;
  background: rgba(3, 7, 18, 0.6);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
}

/* Section Headings */
.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  margin-bottom: 120px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--border-radius-md);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;

}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Deep Dive Feature Showcase */
.showcase-section {
  margin-bottom: 120px;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-row.reverse .showcase-text {
  order: 2;
}

.showcase-row.reverse .showcase-media {
  order: 1;
}

.showcase-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.showcase-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Privacy Callout */
.privacy-callout {
  padding: 48px;
  text-align: center;
  border-radius: var(--border-radius-xl);
  margin-bottom: 120px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.privacy-callout h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.privacy-callout p {
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 120px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  transition: var(--transition-fast);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  margin-top: 14px;
}

/* Legal Container (for Privacy & Terms) */
.legal-container {
  max-width: 850px;
  margin: 120px auto 80px;
  padding: 40px;
  line-height: 1.8;
  position: relative;
  z-index: 10;
}

.legal-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.legal-last-updated {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.legal-content h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 16px;
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
}

.legal-content p, .legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 10px;
}

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

/* Media Queries */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 36px;
  }
  
  .hero-actions {
    justify-content: center;
  }

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

  .showcase-row, .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-text {
    order: 1;
  }

  .showcase-row.reverse .showcase-media {
    order: 2;
  }
  
  .nav {
    display: none;
  }
}
