/* =============================================
   THE 1% - Premium Tax Optimization Agency
   Design System & Styles
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Premium Dark Theme */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.05);

  /* Accent Colors - Electric Cyan */
  --accent-primary: #00E5CC;
  --accent-light: #5EEAD4;
  --accent-dark: #00C4B0;
  --accent-glow: rgba(0, 229, 204, 0.25);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 229, 204, 0.3);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography - Outfit + Inter */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

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

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 229, 204, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 229, 204, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(0, 229, 204, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

.text-accent {
  color: var(--accent-primary);
}

.text-muted {
  color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header .overline {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

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

/* ===== BUTTONS - SLEEK MINIMAL ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 229, 204, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Light refraction on secondary button */
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  pointer-events: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(0, 229, 204, 0.4);
  box-shadow:
    0 0 20px rgba(0, 229, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-icon svg {
  width: 22px;
  height: 22px;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.language-btn .flag {
  font-size: 1rem;
  line-height: 1;
}

.language-btn .chevron {
  font-size: 0.625rem;
  transition: transform var(--transition-fast);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(20, 20, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.language-selector:hover .language-dropdown,
.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-selector:hover .chevron {
  transform: rotate(180deg);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.language-option:hover {
  background: rgba(0, 229, 204, 0.1);
  color: var(--text-primary);
}

.language-option.active {
  background: rgba(0, 229, 204, 0.15);
  color: var(--accent-primary);
}

.language-option .flag {
  font-size: 1.125rem;
}

/* ===== CARDS - LIQUID GLASS ===== */
.card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

/* Liquid glass light refraction effect */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 20%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.15) 80%,
      transparent 100%);
  pointer-events: none;
}

/* Prismatic edge glow */
.card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg,
      rgba(0, 229, 204, 0.1) 0%,
      transparent 30%,
      transparent 70%,
      rgba(0, 229, 204, 0.05) 100%);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.card:hover {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(0, 229, 204, 0.2);
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 229, 204, 0.1);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--bg-primary);
}

.card-icon-img {
  width: 70px;
  height: 70px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.card-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 1rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

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

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
  animation: fadeInDown 0.8s ease;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== PROBLEM SECTION ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.problem-card {
  padding: var(--space-xl);
  text-align: center;
}

.problem-card.before {
  border-color: rgba(239, 68, 68, 0.3);
}

.problem-card.before .problem-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.problem-card.after {
  border-color: var(--border-accent);
}

.problem-card.after .problem-icon {
  background: rgba(0, 229, 204, 0.15);
  color: var(--accent-primary);
}

.problem-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
}

.problem-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.problem-card.before .problem-label {
  color: #ef4444;
}

.problem-card.after .problem-label {
  color: var(--accent-primary);
}

.problem-value {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.problem-desc {
  font-size: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  padding: var(--space-xl);
  text-align: center;
}

.service-card .card-icon {
  margin: 0 auto var(--space-md);
}

/* ===== PROCESS TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
  z-index: 1;
  box-shadow: var(--shadow-glow);
}

.timeline-content {
  flex: 1;
  max-width: calc(50% - 50px);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
}

.timeline-content h3 {
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  font-size: 0.9375rem;
}

/* ===== CASE STUDY SECTION ===== */
.case-study {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin: 0 auto;
  max-width: 1000px;
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.case-study-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.case-study-info h3 {
  margin-bottom: var(--space-xs);
}

.case-study-info p {
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.case-study-info .flag {
  font-size: 1.25rem;
}

.case-study-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.comparison-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.comparison-box.before {
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comparison-box.after {
  border: 1px solid var(--border-accent);
}

.comparison-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.comparison-box.before .comparison-label {
  color: #ef4444;
}

.comparison-box.after .comparison-label {
  color: var(--accent-primary);
}

.comparison-stat {
  margin-bottom: var(--space-md);
}

.comparison-stat:last-child {
  margin-bottom: 0;
}

.comparison-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.comparison-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.comparison-box.before .comparison-stat-value {
  color: #ef4444;
}

.comparison-box.after .comparison-stat-value {
  color: var(--accent-primary);
}

.comparison-arrow {
  font-size: 2rem;
  color: var(--accent-primary);
}

/* ===== FEATURES / WHY US SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 204, 0.12);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-md);
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.feature-card p {
  font-size: 0.9375rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-stars {
  color: var(--accent-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== FAQ SECTION ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-smooth);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--space-lg);
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center top, rgba(0, 229, 204, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta h2 {
  margin-bottom: var(--space-md);
  position: relative;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-logo span {
  color: var(--accent-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

.footer-copyright {
  width: 100%;
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes float {

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.floating-cta .btn {
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

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

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

  .hero-stats {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

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

  .timeline::before {
    left: 25px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 70px;
  }

  .timeline-marker {
    left: 25px;
  }

  .timeline-content {
    max-width: 100%;
    text-align: left !important;
  }

  .case-study-comparison {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .floating-cta {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-value {
    font-size: 2rem;
  }

  .case-study {
    padding: var(--space-lg);
  }

  .comparison-box {
    padding: var(--space-lg);
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: var(--space-md) 0;
  }

  .final-cta {
    padding: var(--space-xl);
  }

  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }

  .nav-cta .btn-primary {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .nav-cta .btn-icon {
    width: 44px;
    height: 44px;
  }
}

/* ===== MOBILE NAVIGATION OVERLAY ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 11, 0.98);
  backdrop-filter: blur(20px);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--accent-gold);
}