/* ================================================================
   HabityZen - Premium Luxury Design System v5.0
   RTL-First | Arabic + English | Wellness SaaS
   Built for: Linear.app / Stripe / Vercel caliber quality
   ================================================================
   TABLE OF CONTENTS:
   1.  CSS Variables & Custom Properties
   2.  CSS Reset & Base
   3.  Typography System
   4.  Layout System
   5.  Buttons
   6.  Navbar
   7.  Hero Section
   8.  Trusted/Partners Section
   9.  Cards System
   10. Feature Sections
   11. How It Works
   12. Stats/Numbers Section
   13. Pricing Section
   14. Testimonials
   15. CTA Section
   16. Footer
   17. Page Header (Inner Pages)
   18. Forms
   19. FAQ Accordion
   20. Blog Cards
   21. Feature Blocks (Inner Pages)
   22. Download/App Section
   23. Contact
   24. Legal Pages
   25. Newsletter
   26. Values/Misc Grids
   27. Animations & Keyframes
   28. Responsive Design
   29. Utility Classes
   30. Special Effects
   ================================================================ */


/* ================================================================
   SECTION 1: CSS Variables & Custom Properties
   ================================================================ */

:root {
  /* ---- Primary Color Scale ---- */
  --primary: #00A8FC;
  --primary-50: #EBF8FF;
  --primary-100: #D1F0FF;
  --primary-200: #A3E0FF;
  --primary-300: #6BCCFF;
  --primary-400: #33B8FF;
  --primary-500: #00A8FC;
  --primary-600: #0090D9;
  --primary-700: #0074B3;
  --primary-800: #005A8C;
  --primary-900: #003D66;

  /* ---- Secondary Color Scale (Lime) ---- */
  --secondary: #84CC16;
  --secondary-50: #F7FEE7;
  --secondary-100: #ECFCCB;
  --secondary-200: #D9F99D;
  --secondary-300: #BEF264;
  --secondary-400: #A3E635;
  --secondary-500: #84CC16;
  --secondary-600: #65A30D;
  --secondary-700: #4D7C0F;
  --secondary-800: #3F6212;
  --secondary-900: #365314;

  /* ---- Accent Color Scale ---- */
  --accent: #A3E635;
  --accent-50: #FAFFF0;
  --accent-100: #F0FFD1;
  --accent-200: #DFFFB0;
  --accent-300: #C8FF85;
  --accent-400: #B5F74D;
  --accent-500: #A3E635;
  --accent-600: #84CC16;
  --accent-700: #65A30D;
  --accent-800: #4D7C0F;
  --accent-900: #3F6212;

  /* ---- Neutral Color Scale ---- */
  --neutral-50: #F8FAFC;
  --neutral-100: #F1F5F9;
  --neutral-200: #E2E8F0;
  --neutral-300: #CBD5E1;
  --neutral-400: #94A3B8;
  --neutral-500: #64748B;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1E293B;
  --neutral-900: #0F172A;

  /* ---- Semantic Colors ---- */
  --success: #10B981;
  --success-light: #D1FAE5;
  --success-dark: #059669;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --warning-dark: #D97706;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --danger-dark: #DC2626;
  --info: #06B6D4;
  --info-light: #CFFAFE;
  --info-dark: #0891B2;

  /* ---- Gradients ---- */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-primary-reverse: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  --gradient-primary-vertical: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1a2744 30%, #0d3a5c 60%, #0F172A 100%);
  --gradient-hero-radial: radial-gradient(ellipse at 30% 50%, rgba(0, 168, 252, 0.15) 0%, transparent 50%),
                          radial-gradient(ellipse at 70% 50%, rgba(132, 204, 22, 0.1) 0%, transparent 50%);
  --gradient-card: linear-gradient(135deg, rgba(0, 168, 252, 0.03) 0%, rgba(132, 204, 22, 0.03) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(0, 168, 252, 0.06) 0%, rgba(132, 204, 22, 0.06) 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-dark-mesh: radial-gradient(at 20% 30%, rgba(0, 168, 252, 0.12) 0%, transparent 50%),
                        radial-gradient(at 80% 70%, rgba(132, 204, 22, 0.08) 0%, transparent 50%),
                        linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-glass-dark: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 168, 252, 0.2) 0%, transparent 50%),
                   radial-gradient(at 80% 40%, rgba(132, 204, 22, 0.15) 0%, transparent 40%),
                   radial-gradient(at 20% 80%, rgba(163, 230, 53, 0.1) 0%, transparent 50%),
                   radial-gradient(at 60% 70%, rgba(0, 168, 252, 0.08) 0%, transparent 40%);
  --gradient-border: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #EAB308 50%, #F59E0B 100%);
  --gradient-surface: linear-gradient(180deg, var(--neutral-50) 0%, #FFFFFF 100%);

  /* ---- Typography ---- */
  --font-heading: 'Cairo', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Cairo', sans-serif;
  --font-en: 'Montserrat', 'Poppins', sans-serif;
  --font-en-body: 'Poppins', 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* ---- Fluid Type Scale ---- */
  --text-xs: clamp(0.694rem, 0.05vw + 0.68rem, 0.72rem);
  --text-sm: clamp(0.8rem, 0.08vw + 0.78rem, 0.875rem);
  --text-base: clamp(0.9rem, 0.15vw + 0.88rem, 1rem);
  --text-lg: clamp(1rem, 0.2vw + 0.96rem, 1.125rem);
  --text-xl: clamp(1.125rem, 0.3vw + 1.06rem, 1.25rem);
  --text-2xl: clamp(1.35rem, 0.6vw + 1.2rem, 1.5rem);
  --text-3xl: clamp(1.6rem, 1vw + 1.35rem, 1.875rem);
  --text-4xl: clamp(1.9rem, 1.5vw + 1.5rem, 2.25rem);
  --text-5xl: clamp(2.2rem, 2vw + 1.7rem, 3rem);
  --text-6xl: clamp(2.6rem, 3vw + 1.8rem, 3.75rem);
  --text-7xl: clamp(3rem, 4vw + 2rem, 4.5rem);

  /* ---- Line Heights ---- */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  --leading-arabic: 1.8;

  /* ---- Letter Spacing ---- */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ---- Spacing Scale ---- */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-11: 2.75rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-18: 4.5rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-36: 9rem;
  --space-40: 10rem;

  /* ---- Border Radius ---- */
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --radius-4xl: 2rem;
  --radius-full: 9999px;

  /* ---- Shadows - Layered & Realistic ---- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 8px 30px rgba(0, 168, 252, 0.25), 0 4px 12px rgba(0, 168, 252, 0.15);
  --shadow-primary-lg: 0 15px 50px rgba(0, 168, 252, 0.3), 0 8px 20px rgba(0, 168, 252, 0.2);
  --shadow-secondary: 0 8px 30px rgba(132, 204, 22, 0.25), 0 4px 12px rgba(132, 204, 22, 0.15);
  --shadow-secondary-lg: 0 15px 50px rgba(132, 204, 22, 0.3), 0 8px 20px rgba(132, 204, 22, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-glass-lg: 0 16px 48px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 168, 252, 0.15), 0 0 80px rgba(0, 168, 252, 0.08);
  --shadow-glow-secondary: 0 0 40px rgba(132, 204, 22, 0.15), 0 0 80px rgba(132, 204, 22, 0.08);

  /* ---- Transitions & Easings ---- */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;
  --duration-slowest: 1000ms;

  /* ---- Z-Index Scale ---- */
  --z-behind: -1;
  --z-default: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-navbar: 400;
  --z-overlay: 500;
  --z-modal: 600;
  --z-popover: 700;
  --z-tooltip: 800;
  --z-toast: 900;
  --z-max: 9999;

  /* ---- Miscellaneous ---- */
  --navbar-height: 80px;
  --navbar-height-scrolled: 64px;
  --section-padding: clamp(4rem, 8vw, 7.5rem);
  --container-max: 1280px;
  --container-padding: clamp(1rem, 3vw, 2rem);
}

/* Dark mode variables */
[data-theme="dark"],
.dark {
  --neutral-50: #0F172A;
  --neutral-100: #1E293B;
  --neutral-200: #334155;
  --neutral-300: #475569;
  --neutral-400: #64748B;
  --neutral-500: #94A3B8;
  --neutral-600: #CBD5E1;
  --neutral-700: #E2E8F0;
  --neutral-800: #F1F5F9;
  --neutral-900: #F8FAFC;
}


/* ================================================================
   SECTION 2: CSS Reset & Base
   ================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: var(--leading-normal);
  tab-size: 4;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-arabic);
  color: var(--neutral-800);
  background-color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-normal) var(--ease-default);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--neutral-200);
}

/* Selection styling */
::selection {
  background-color: rgba(0, 168, 252, 0.15);
  color: var(--primary-800);
}

::-moz-selection {
  background-color: rgba(0, 168, 252, 0.15);
  color: var(--primary-800);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-400), var(--secondary-400));
  border-radius: var(--radius-full);
  border: 2px solid var(--neutral-100);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-500), var(--secondary-500));
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-400) var(--neutral-100);
}

/* Focus visible - accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ================================================================
   SECTION 3: Typography System
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--neutral-900);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-7xl);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-3xl);
  font-weight: 700;
}

h5 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  line-height: var(--leading-arabic);
  color: var(--neutral-600);
}

.lead {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--neutral-500);
  font-weight: 400;
}

.lead-lg {
  font-size: var(--text-2xl);
  line-height: var(--leading-relaxed);
  color: var(--neutral-500);
  font-weight: 300;
}

small,
.small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.tiny {
  font-size: var(--text-xs);
}

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

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

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

.text-gradient-animated {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

/* Font weight utilities */
.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* English typography override */
.en,
[lang="en"] {
  font-family: var(--font-en-body);
  direction: ltr;
}

.en h1, .en h2, .en h3, .en h4, .en h5, .en h6,
[lang="en"] h1, [lang="en"] h2, [lang="en"] h3,
[lang="en"] h4, [lang="en"] h5, [lang="en"] h6 {
  font-family: var(--font-en);
}

/* Arabic line height fix */
:lang(ar) {
  line-height: var(--leading-arabic);
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 {
  line-height: 1.4;
}

/* Text decoration */
.underline-gradient {
  position: relative;
  display: inline;
}

.underline-gradient::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Paragraph spacing */
.prose p + p {
  margin-top: var(--space-4);
}

.prose h2, .prose h3, .prose h4 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

/* Highlight text */
.highlight {
  position: relative;
  display: inline;
  z-index: 1;
}

.highlight::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -4px;
  left: -4px;
  height: 35%;
  background: rgba(0, 168, 252, 0.12);
  border-radius: var(--radius-sm);
  z-index: -1;
  transition: height var(--duration-normal) var(--ease-smooth);
}

.highlight:hover::before {
  height: 100%;
}


/* ================================================================
   SECTION 4: Layout System
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-sm {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-lg {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-full {
  width: 100%;
  padding-inline: var(--container-padding);
}

/* Section */
.section {
  padding-block: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section--sm {
  padding-block: clamp(2rem, 4vw, 4rem);
}

.section--lg {
  padding-block: clamp(5rem, 10vw, 10rem);
}

.section--dark {
  background: var(--gradient-dark);
  color: white;
}

.section--gray {
  background: var(--neutral-50);
}

.section--gradient {
  background: var(--gradient-dark-mesh);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  border: 1px solid rgba(0, 168, 252, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-5);
  letter-spacing: var(--tracking-wide);
}

.section-header__badge i,
.section-header__badge svg {
  font-size: 0.9em;
}

.section-header__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-5);
  color: var(--neutral-900);
}

.section--dark .section-header__title {
  color: #ffffff;
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-inline: auto;
}

.section--dark .section-header__subtitle {
  color: var(--neutral-400);
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1; }
.flex-auto { flex: auto; }
.flex-none { flex: none; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }

/* Gap utilities */
.gap-0 { gap: 0; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }
.gap-20 { gap: var(--space-20); }


/* ================================================================
   SECTION 5: Buttons
   ================================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-7);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    all var(--duration-normal) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-bounce);
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn i,
.btn svg {
  font-size: 1.1em;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

/* Primary button */
.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 4px 15px rgba(0, 168, 252, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 70%
  );
  transform: translateX(150%);
  transition: transform 0.6s var(--ease-smooth);
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg), var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  transform: translateX(-150%);
}

.btn-primary:hover i,
.btn-primary:hover svg {
  transform: translateX(-3px);
}

/* Secondary / Outline button */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-300);
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
  z-index: -1;
  border-radius: inherit;
}

.btn-secondary:hover {
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-secondary:hover::before {
  opacity: 1;
}

/* White button (for dark backgrounds) */
.btn-white {
  background: #ffffff;
  color: var(--neutral-800);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--neutral-50);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Dark button */
.btn-dark {
  background: var(--neutral-900);
  color: #ffffff;
  border-color: transparent;
}

.btn-dark:hover {
  background: var(--neutral-800);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--neutral-600);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--neutral-100);
  color: var(--primary);
}

/* Icon button */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
}

.btn-icon.btn-sm {
  width: 36px;
  height: 36px;
  font-size: var(--text-sm);
}

.btn-icon.btn-lg {
  width: 56px;
  height: 56px;
  font-size: var(--text-xl);
}

/* Button sizes */
.btn-xs {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
  gap: var(--space-1);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  gap: var(--space-2);
}

.btn-md {
  padding: var(--space-3) var(--space-7);
  font-size: var(--text-base);
}

.btn-lg {
  padding: var(--space-4) var(--space-9);
  font-size: var(--text-lg);
  border-radius: var(--radius-2xl);
}

.btn-xl {
  padding: var(--space-5) var(--space-12);
  font-size: var(--text-xl);
  border-radius: var(--radius-2xl);
}

/* Block button */
.btn-block {
  display: flex;
  width: 100%;
}

/* Button group */
.btn-group {
  display: inline-flex;
  gap: 0;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.btn-group .btn:last-child {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

/* Loading state */
.btn--loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-secondary.btn--loading::after {
  border-color: rgba(0, 168, 252, 0.3);
  border-top-color: var(--primary);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

/* Gradient outline button */
.btn-gradient-outline {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--primary);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.btn-gradient-outline:hover {
  background-image: var(--gradient-primary), var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

/* Success / Danger buttons */
.btn-success {
  background: var(--success);
  color: #ffffff;
}

.btn-success:hover {
  background: var(--success-dark);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: var(--danger-dark);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}


/* ================================================================
   SECTION 6: Navbar
   ================================================================ */

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    height var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    padding var(--duration-normal) var(--ease-smooth);
}

.navbar--dark {
  background: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  height: var(--navbar-height-scrolled);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
}

.navbar--dark.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.navbar__logo:hover .navbar__logo-icon {
  transform: rotate(-8deg) scale(1.05);
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: var(--radius-lg);
  transition: color var(--duration-normal) var(--ease-default),
              background var(--duration-normal) var(--ease-default);
  text-decoration: none;
}

.navbar--dark .navbar__link {
  color: var(--neutral-400);
}

.navbar__link:hover {
  color: var(--primary);
  background: rgba(0, 168, 252, 0.06);
}

.navbar--dark .navbar__link:hover {
  color: var(--primary-300);
  background: rgba(0, 168, 252, 0.1);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-smooth),
              right var(--duration-normal) var(--ease-smooth);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 60%;
  right: 20%;
}

.navbar__link.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar--dark .navbar__link.active {
  color: var(--primary-300);
}

/* Nav dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  padding: var(--space-2);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-smooth);
  z-index: var(--z-dropdown);
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown.active .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--neutral-600);
  transition: all var(--duration-fast) var(--ease-default);
  text-decoration: none;
}

.navbar__dropdown-item:hover {
  background: var(--neutral-50);
  color: var(--primary);
}

/* CTA buttons in navbar */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar__cta .btn {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6);
}

/* Hamburger / Mobile toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  z-index: calc(var(--z-navbar) + 2);
}

.navbar__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
  transform-origin: center;
}

.navbar--dark .navbar__toggle-bar {
  background: var(--neutral-300);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

/* Mobile menu overlay */
.navbar__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: calc(var(--z-navbar) + 1);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.navbar__mobile-overlay.active {
  opacity: 1;
}

/* Mobile menu panel */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: calc(var(--z-navbar) + 2);
  padding: calc(var(--navbar-height) + var(--space-4)) var(--space-6) var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-smooth);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.navbar--dark .navbar__mobile-menu {
  background: var(--neutral-900);
}

.navbar__mobile-menu.active {
  transform: translateX(0);
}

.navbar__mobile-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-default);
  text-decoration: none;
}

.navbar__mobile-link:hover,
.navbar__mobile-link.active {
  background: rgba(0, 168, 252, 0.06);
  color: var(--primary);
}

.navbar__mobile-cta {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.navbar__mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Spacer to prevent content from hiding behind fixed navbar */
.navbar-spacer {
  height: var(--navbar-height);
}


/* ================================================================
   SECTION 7: Hero Section
   ================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-radial);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  padding-block: clamp(2rem, 4vw, 4rem);
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(0, 168, 252, 0.1);
  border: 1px solid rgba(0, 168, 252, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-300);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s var(--ease-smooth) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--text-7xl);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s var(--ease-smooth) 0.1s both;
}

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

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--neutral-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
  animation: fadeInUp 0.6s var(--ease-smooth) 0.2s both;
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.6s var(--ease-smooth) 0.3s both;
}

.hero__buttons .btn-primary {
  box-shadow: var(--shadow-primary-lg);
}

.hero__buttons .btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero__buttons .btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero__buttons .btn-secondary::before {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero stats */
.hero__stats {
  display: flex;
  gap: var(--space-8);
  animation: fadeInUp 0.6s var(--ease-smooth) 0.4s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  font-weight: 400;
}

/* Hero visual / phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInLeft 0.8s var(--ease-smooth) 0.3s both;
}

.hero__phone-mockup {
  position: relative;
  width: 300px;
  perspective: 1000px;
}

.hero__phone-frame {
  position: relative;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.hero__phone-frame:hover {
  transform: rotateY(-3deg) rotateX(1deg);
}

.hero__phone-screen {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.hero__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 5;
}

.hero__phone-content {
  padding: 40px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* Animated progress bars inside phone */
.hero__phone-progress {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}

.hero__phone-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  animation: progressFill 2s var(--ease-smooth) infinite alternate;
  width: 0%;
}

.hero__phone-progress-fill--1 {
  animation-delay: 0s;
}

.hero__phone-progress-fill--2 {
  animation-delay: 0.4s;
}

.hero__phone-progress-fill--3 {
  animation-delay: 0.8s;
}

.hero__phone-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__phone-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.hero__phone-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* Floating notification badge */
.hero__notification {
  position: absolute;
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-800);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.hero__notification--1 {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
}

.hero__notification--2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 2s;
}

.hero__notification-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero__notification-icon--success {
  background: var(--success-light);
  color: var(--success);
}

.hero__notification-icon--primary {
  background: var(--primary-100);
  color: var(--primary);
}

/* Phone glow */
.hero__phone-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 168, 252, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Floating decorative elements */
.hero__float {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero__float--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 168, 252, 0.08) 0%, transparent 70%);
  top: 10%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero__float--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.06) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  animation: float2 10s ease-in-out infinite;
}

.hero__float--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 168, 252, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  animation: float3 12s ease-in-out infinite;
}

/* Hero wave / bottom shape */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: auto;
}

/* Grid pattern overlay */
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}


/* ================================================================
   SECTION 8: Trusted / Partners Section
   ================================================================ */

.trusted {
  padding-block: clamp(2rem, 4vw, 4rem);
  background: var(--neutral-50);
  border-block: 1px solid var(--neutral-100);
}

.trusted__title {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-8);
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.trusted__logo {
  height: 30px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.trusted__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Marquee option */
.trusted__marquee {
  display: flex;
  gap: var(--space-16);
  animation: marquee 30s linear infinite;
  width: max-content;
}

.trusted__marquee:hover {
  animation-play-state: paused;
}

.trusted--separator {
  position: relative;
}

.trusted--separator::before,
.trusted--separator::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--neutral-200), transparent);
}

.trusted--separator::before { top: 0; }
.trusted--separator::after { bottom: 0; }


/* ================================================================
   SECTION 9: Cards System
   ================================================================ */

/* Base card */
.card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-slow) var(--ease-smooth);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 168, 252, 0.15);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Glass card */
.card--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card--glass-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Gradient border card */
.card--gradient {
  border: none;
  background: #ffffff;
  position: relative;
}

.card--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: var(--gradient-primary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

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

/* Dark card */
.card--dark {
  background: var(--neutral-900);
  border-color: var(--neutral-700);
  color: #ffffff;
}

.card--dark:hover {
  border-color: rgba(0, 168, 252, 0.3);
}

/* Feature card */
.feature-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 168, 252, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.1), rgba(132, 204, 22, 0.1));
  color: var(--primary);
  position: relative;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.feature-card__icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.feature-card:hover .feature-card__icon {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-base);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--duration-normal) var(--ease-smooth);
}

.feature-card__link:hover {
  gap: var(--space-3);
}

.feature-card__link i,
.feature-card__link svg {
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.feature-card__link:hover i,
.feature-card__link:hover svg {
  transform: translateX(-4px);
}

/* Pricing card */
.pricing-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-3xl);
  padding: var(--space-10);
  border: 1px solid var(--neutral-100);
  text-align: center;
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.pricing-card__header {
  margin-bottom: var(--space-6);
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.pricing-card__price {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--neutral-100);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1;
}

.pricing-card__currency {
  font-size: var(--text-2xl);
  font-weight: 600;
  vertical-align: super;
  color: var(--neutral-400);
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  margin-top: var(--space-2);
}

.pricing-card__features {
  list-style: none;
  text-align: start;
  margin-bottom: var(--space-8);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

.pricing-card__feature i,
.pricing-card__feature svg {
  font-size: 1.1em;
  flex-shrink: 0;
}

.pricing-card__feature--included i,
.pricing-card__feature--included svg {
  color: var(--success);
}

.pricing-card__feature--excluded {
  opacity: 0.5;
  text-decoration: line-through;
}

.pricing-card__feature--excluded i,
.pricing-card__feature--excluded svg {
  color: var(--neutral-400);
}

/* Popular pricing card */
.pricing-card--popular {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.pricing-card--popular:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: var(--shadow-2xl), var(--shadow-primary-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-5);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}

.pricing-card--popular .pricing-card__amount {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonial card */
.testimonial-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-xl);
}

.testimonial-card__quote {
  position: relative;
  font-size: var(--text-lg);
  color: var(--neutral-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  padding-top: var(--space-4);
}

.testimonial-card__quote::before {
  content: '\201D';
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 4rem;
  font-family: Georgia, serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.testimonial-card__star {
  color: var(--warning);
  font-size: 0.9rem;
}

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

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--neutral-800);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

/* Blog card */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--neutral-100);
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.06);
}

.blog-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.blog-card:hover .blog-card__image::after {
  opacity: 1;
}

.blog-card__category {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  z-index: 1;
}

.blog-card__body {
  padding: var(--space-6);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

.blog-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--duration-normal) var(--ease-default);
}

.blog-card:hover .blog-card__title {
  color: var(--primary);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--neutral-100);
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.blog-card__author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-card__author-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--neutral-700);
}

.blog-card__reading-time {
  font-size: var(--text-xs);
  color: var(--neutral-400);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 168, 252, 0.2);
  transform: translateY(-4px);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.15), rgba(132, 204, 22, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-300);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--neutral-400);
}


/* ================================================================
   SECTION 10: Feature Sections
   ================================================================ */

.features {
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

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

.features__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Feature block - alternating layout */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
}

.feature-block:nth-child(even) {
  direction: ltr;
}

.feature-block:nth-child(even) .feature-block__content {
  direction: rtl;
}

.feature-block__content {
  max-width: 520px;
}

.feature-block__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  border: 1px solid rgba(0, 168, 252, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.feature-block__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: var(--space-5);
}

.feature-block__desc {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.feature-block__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-block__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--neutral-600);
}

.feature-block__list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.1), rgba(132, 204, 22, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
  font-size: 0.75rem;
}

/* Feature visual */
.feature-block__visual {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--gradient-dark-mesh);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-block__visual img {
  width: 80%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.feature-block__visual-float {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-block__visual-float--1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.feature-block__visual-float--2 {
  bottom: 15%;
  left: 10%;
  animation-delay: 2s;
}

/* Feature icon circle with gradient border */
.feature-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.feature-icon-circle:hover {
  background-image: var(--gradient-primary), var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}


/* ================================================================
   SECTION 11: How It Works
   ================================================================ */

.how-it-works {
  position: relative;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  position: relative;
}

/* Connecting line */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 50px;
  right: calc(16.66% + 30px);
  left: calc(16.66% + 30px);
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  z-index: 0;
  opacity: 0.3;
}

.how-it-works__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-it-works__step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #ffffff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.how-it-works__step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 168, 252, 0.2);
  animation: spin 15s linear infinite;
}

.how-it-works__step:hover .how-it-works__step-number {
  transform: scale(1.1);
}

.how-it-works__step-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  border: 2px solid rgba(0, 168, 252, 0.1);
  color: var(--primary);
  position: relative;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.how-it-works__step:hover .how-it-works__step-icon {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
  transform: scale(1.05);
}

.how-it-works__step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
}

.how-it-works__step-desc {
  font-size: var(--text-base);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  max-width: 280px;
  margin-inline: auto;
}

/* Animated connector line dots */
.how-it-works__connector {
  position: absolute;
  top: 50px;
  height: 3px;
  z-index: 0;
}

.how-it-works__connector-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  animation: connectorDot 3s linear infinite;
}


/* ================================================================
   SECTION 12: Stats / Numbers Section
   ================================================================ */

.stats-section {
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  z-index: 0;
}

.stats-section__container {
  position: relative;
  z-index: 1;
}

.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stats-section__item {
  text-align: center;
  padding: var(--space-8);
  position: relative;
}

.stats-section__item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stats-section__item:last-child::after {
  display: none;
}

.stats-section__number {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stats-section__label {
  font-size: var(--text-base);
  color: var(--neutral-400);
  font-weight: 400;
}

.stats-section__sublabel {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-top: var(--space-1);
}

/* Floating particles */
.stats-section__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 168, 252, 0.3);
  z-index: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.stats-section__particle:nth-child(2) {
  animation-delay: 2s;
  background: rgba(132, 204, 22, 0.3);
}

.stats-section__particle:nth-child(3) {
  animation-delay: 4s;
  background: rgba(0, 168, 252, 0.2);
}


/* ================================================================
   SECTION 13: Pricing Section
   ================================================================ */

.pricing {
  position: relative;
}

/* Toggle (monthly/yearly) */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.pricing__toggle-label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--neutral-500);
  cursor: pointer;
  transition: color var(--duration-normal) var(--ease-default);
}

.pricing__toggle-label.active {
  color: var(--neutral-900);
  font-weight: 600;
}

.pricing__toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-smooth);
}

.pricing__toggle-switch.active {
  background: var(--gradient-primary);
}

.pricing__toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.pricing__toggle-switch.active::after {
  transform: translateX(-26px);
}

.pricing__save-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--secondary-100);
  color: var(--secondary-700);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  animation: bounce 2s ease-in-out infinite;
}

/* Pricing grid */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: start;
}

/* Pricing comparison table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-12);
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  border-bottom: 1px solid var(--neutral-100);
  font-size: var(--text-sm);
}

.pricing-table th {
  font-weight: 700;
  color: var(--neutral-900);
  background: var(--neutral-50);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: start;
}

.pricing-table td {
  color: var(--neutral-600);
}

.pricing-table tr:hover td {
  background: rgba(0, 168, 252, 0.02);
}

.pricing-table__check {
  color: var(--success);
  font-size: 1.1rem;
}

.pricing-table__cross {
  color: var(--neutral-300);
  font-size: 1.1rem;
}


/* ================================================================
   SECTION 14: Testimonials
   ================================================================ */

.testimonials {
  position: relative;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

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

/* Large quote decoration */
.testimonials__decoration {
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 15rem;
  font-family: Georgia, serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* Star rating */
.stars {
  display: flex;
  gap: var(--space-1);
}

.star {
  color: var(--warning);
  font-size: 0.9rem;
}

.star--empty {
  color: var(--neutral-200);
}

/* Avatar with gradient ring */
.avatar-ring {
  position: relative;
  display: inline-block;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: -1;
}

.avatar-ring img {
  display: block;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-300);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}


/* ================================================================
   SECTION 15: CTA Section
   ================================================================ */

.cta {
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}

.cta__container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.cta__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.cta__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta__buttons .btn-white:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta__buttons .btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta__buttons .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Floating shapes */
.cta__shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  z-index: 0;
  pointer-events: none;
}

.cta__shape--1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.cta__shape--2 {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: 10%;
  animation: float2 10s ease-in-out infinite;
}

.cta__shape--3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: -30px;
  animation: float3 12s ease-in-out infinite;
}

/* Pattern overlay */
.cta__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 40px 40px;
  z-index: 0;
}


/* ================================================================
   SECTION 16: Footer
   ================================================================ */

.footer {
  background: var(--gradient-dark);
  color: var(--neutral-400);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(0, 168, 252, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(132, 204, 22, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.footer__main {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

/* Footer brand column */
.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--neutral-400);
  font-size: 1rem;
  transition: all var(--duration-normal) var(--ease-smooth);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__social-link:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

/* Footer columns */
.footer__column-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  transition: all var(--duration-normal) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--primary-300);
  padding-right: var(--space-2);
}

.footer__link::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.footer__link:hover::before {
  width: 12px;
}

/* Newsletter in footer */
.footer__newsletter {
  margin-top: var(--space-6);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: var(--text-sm);
  transition: all var(--duration-normal) var(--ease-default);
}

.footer__newsletter-input::placeholder {
  color: var(--neutral-500);
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 168, 252, 0.15);
}

.footer__newsletter-btn {
  padding: var(--space-3) var(--space-5);
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

/* Footer bottom */
.footer__bottom {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  transition: color var(--duration-normal) var(--ease-default);
  text-decoration: none;
}

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-smooth);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary-lg);
}


/* ================================================================
   SECTION 17: Page Header (Inner Pages)
   ================================================================ */

.page-header {
  position: relative;
  padding-top: calc(var(--navbar-height) + clamp(3rem, 5vw, 5rem));
  padding-bottom: clamp(3rem, 5vw, 5rem);
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-radial);
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

.page-header__container {
  position: relative;
  z-index: 1;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.page-header__breadcrumb a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.page-header__breadcrumb a:hover {
  color: var(--primary-300);
}

.page-header__breadcrumb-separator {
  color: var(--neutral-500);
  font-size: 0.8em;
}

.page-header__breadcrumb-current {
  color: var(--primary-300);
  font-weight: 500;
}

.page-header__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-header__subtitle {
  font-size: var(--text-xl);
  color: var(--neutral-400);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

/* Page header wave */
.page-header__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}


/* ================================================================
   SECTION 18: Forms
   ================================================================ */

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: var(--space-2);
}

.form-label--required::after {
  content: ' *';
  color: var(--danger);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--neutral-800);
  background: #ffffff;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-smooth);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--neutral-300);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 168, 252, 0.1);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 40px;
}

/* Floating label */
.form-floating {
  position: relative;
}

.form-floating .form-input,
.form-floating .form-textarea {
  padding-top: var(--space-6);
  padding-bottom: var(--space-2);
}

.form-floating .form-label {
  position: absolute;
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  font-weight: 400;
  color: var(--neutral-400);
  margin-bottom: 0;
}

.form-floating .form-input:focus ~ .form-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-label,
.form-floating .form-textarea:focus ~ .form-label,
.form-floating .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 12px;
  transform: translateY(0);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
}

/* Error state */
.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.02);
}

.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  animation: shakeX 0.4s ease-in-out;
}

/* Success state */
.form-input--success,
.form-textarea--success {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.02);
}

.form-input--success:focus,
.form-textarea--success:focus {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-success {
  font-size: var(--text-xs);
  color: var(--success);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Helper text */
.form-help {
  font-size: var(--text-xs);
  color: var(--neutral-400);
  margin-top: var(--space-1);
}

/* Checkbox */
.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--gradient-primary);
  border-color: transparent;
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 6px;
  width: 6px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.form-checkbox input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 168, 252, 0.2);
}

/* Radio */
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  user-select: none;
}

.form-radio input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-300);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--primary);
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* Toggle switch */
.form-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  user-select: none;
}

.form-toggle__switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  transition: background var(--duration-normal) var(--ease-smooth);
  flex-shrink: 0;
}

.form-toggle input:checked ~ .form-toggle__switch {
  background: var(--gradient-primary);
}

.form-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.form-toggle input:checked ~ .form-toggle__switch::after {
  transform: translateX(-22px);
}

.form-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-toggle__label {
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

/* Range slider */
.form-range {
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  outline: none;
}

.form-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform var(--duration-fast) var(--ease-bounce);
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.form-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-primary);
}

/* File upload */
.form-file {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  border: 2px dashed var(--neutral-200);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  background: var(--neutral-50);
}

.form-file:hover {
  border-color: var(--primary-300);
  background: rgba(0, 168, 252, 0.02);
}

.form-file__icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.form-file__text {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.form-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}


/* ================================================================
   SECTION 19: FAQ Accordion
   ================================================================ */

.faq {
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  background: #ffffff;
}

.faq__item:hover {
  border-color: rgba(0, 168, 252, 0.15);
  box-shadow: var(--shadow-sm);
}

.faq__item.active {
  border-color: rgba(0, 168, 252, 0.2);
  box-shadow: var(--shadow-md);
}

.faq__item.active::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--neutral-800);
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  gap: var(--space-4);
  transition: color var(--duration-normal) var(--ease-default);
}

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

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  color: var(--primary);
  font-size: 0.9rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.faq__item.active .faq__icon {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-smooth),
              padding var(--duration-slow) var(--ease-smooth);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-content {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
}


/* ================================================================
   SECTION 20: Blog Cards
   ================================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

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

.blog-card--featured {
  grid-column: span 2;
}

.blog-card--featured .blog-card__image {
  aspect-ratio: 2/1;
}

/* Category badge colors */
.blog-card__category--wellness {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-dark);
}

.blog-card__category--productivity {
  background: rgba(0, 168, 252, 0.1);
  color: var(--primary-700);
}

.blog-card__category--mindfulness {
  background: rgba(132, 204, 22, 0.1);
  color: var(--secondary-700);
}

.blog-card__category--fitness {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-dark);
}

.blog-card__category--nutrition {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-dark);
}

/* Reading time */
.blog-card__reading-time i,
.blog-card__reading-time svg {
  font-size: 0.85em;
}


/* ================================================================
   SECTION 21: Feature Blocks (Inner Pages)
   ================================================================ */

.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
}

.feature-detail:nth-child(even) {
  direction: ltr;
}

.feature-detail:nth-child(even) .feature-detail__content {
  direction: rtl;
}

.feature-detail__icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--primary);
}

.feature-detail__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: var(--space-5);
}

.feature-detail__desc {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.feature-detail__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-detail__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--neutral-600);
}

.feature-detail__list-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Feature visual placeholder */
.feature-detail__visual {
  position: relative;
  border-radius: var(--radius-3xl);
  background: var(--gradient-dark-mesh);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-detail__visual img {
  width: 85%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}


/* ================================================================
   SECTION 22: Download / App Section
   ================================================================ */

.download {
  position: relative;
  overflow: hidden;
}

.download__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.download__content {
  max-width: 500px;
}

.download__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-5);
}

.download__desc {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.download__badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.download__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: var(--neutral-900);
  color: #ffffff;
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-smooth);
  text-decoration: none;
}

.download__badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.download__badge i,
.download__badge svg {
  font-size: 1.5rem;
}

.download__badge-label {
  font-size: var(--text-xs);
  font-weight: 400;
  opacity: 0.7;
  display: block;
  line-height: 1;
}

.download__badge-store {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
}

.download__qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-100);
}

.download__qr img {
  width: 120px;
  height: 120px;
}

.download__qr-text {
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

/* Download visual */
.download__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


/* ================================================================
   SECTION 23: Contact
   ================================================================ */

.contact {
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.contact__info-card:hover {
  border-color: rgba(0, 168, 252, 0.15);
  box-shadow: var(--shadow-md);
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.1), rgba(132, 204, 22, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__info-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: var(--space-1);
}

.contact__info-text {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.contact__form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-md);
}

/* Map placeholder */
.contact__map {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: var(--space-10);
  border: 1px solid var(--neutral-100);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ================================================================
   SECTION 24: Legal Pages
   ================================================================ */

.legal {
  max-width: 800px;
  margin-inline: auto;
}

.legal h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--neutral-100);
}

.legal h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.legal p {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.legal ul,
.legal ol {
  padding-right: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal li {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
  list-style: disc;
}

.legal ol li {
  list-style: decimal;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-default);
}

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

.legal__last-updated {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--neutral-100);
  margin-bottom: var(--space-8);
}

.legal__toc {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-10);
  border: 1px solid var(--neutral-100);
}

.legal__toc-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.legal__toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal__toc-list a {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

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


/* ================================================================
   SECTION 25: Newsletter
   ================================================================ */

.newsletter {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.newsletter__container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

.newsletter__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.newsletter__desc {
  font-size: var(--text-base);
  color: var(--neutral-500);
  margin-bottom: var(--space-8);
}

.newsletter__form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin-inline: auto;
}

.newsletter__input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  font-size: var(--text-base);
  color: var(--neutral-800);
  background: #ffffff;
  transition: all var(--duration-normal) var(--ease-default);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 168, 252, 0.1);
}

.newsletter__btn {
  padding: var(--space-4) var(--space-8);
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.newsletter__btn:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

/* Newsletter pattern */
.newsletter__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 168, 252, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}


/* ================================================================
   SECTION 26: Values / Misc Grids
   ================================================================ */

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value-card {
  text-align: center;
  padding: var(--space-10);
  background: #ffffff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 168, 252, 0.12);
}

.value-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(0, 168, 252, 0.08), rgba(132, 204, 22, 0.08));
  color: var(--primary);
}

.value-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
}

.value-card__desc {
  font-size: var(--text-base);
  color: var(--neutral-500);
  line-height: var(--leading-relaxed);
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-5) var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--neutral-100);
}

.comparison-table th {
  font-weight: 700;
  color: var(--neutral-900);
  background: var(--neutral-50);
  font-size: var(--text-sm);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: start;
  font-weight: 600;
}

.comparison-table td {
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

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

.comparison-table__highlight {
  background: rgba(0, 168, 252, 0.03);
}


/* ================================================================
   SECTION 27: Animations & Keyframes
   ================================================================ */

/* Fade animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale animations */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Slide animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Float animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-12px) translateX(8px); }
  66% { transform: translateY(-6px) translateX(-8px); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-2deg); }
}

/* Pulse animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.5);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Shimmer */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Spin */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Bounce */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(-8px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Gradient shift */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Typing / typewriter */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary); }
}

/* Wave */
@keyframes wave {
  0%, 100% {
    d: path("M0,96L48,106.7C96,117,192,139,288,138.7C384,139,480,117,576,101.3C672,85,768,75,864,85.3C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L0,320Z");
  }
  50% {
    d: path("M0,128L48,117.3C96,107,192,85,288,90.7C384,96,480,128,576,138.7C672,149,768,139,864,128C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,320L0,320Z");
  }
}

/* Progress fill */
@keyframes progressFill {
  0% { width: 15%; }
  50% { width: 85%; }
  100% { width: 15%; }
}

/* Counter up - for JS usage */
@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Morph blob */
@keyframes morphBlob {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 50% 70% 50%;
  }
  75% {
    border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
  }
}

/* Particle float */
@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-50px) translateX(25px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-100px) translateX(-10px);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-60px) translateX(-25px);
    opacity: 0.7;
  }
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 168, 252, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 168, 252, 0.4), 0 0 80px rgba(0, 168, 252, 0.1);
  }
}

/* Ripple effect */
@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Shake (for form errors) */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Connector dot */
@keyframes connectorDot {
  0% { right: 0; }
  100% { right: 100%; }
}

/* Rotate slow */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Breathe - wellness oriented */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Draw line */
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

/* ---- Animate on scroll system ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

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

.animate-on-scroll.animate-fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.animate-fade-down {
  transform: translateY(-30px);
}

.animate-on-scroll.animate-fade-right {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-fade-left {
  transform: translateX(30px);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}

.animate-on-scroll.animated.animate-fade-up,
.animate-on-scroll.animated.animate-fade-down {
  transform: translateY(0);
}

.animate-on-scroll.animated.animate-fade-right,
.animate-on-scroll.animated.animate-fade-left {
  transform: translateX(0);
}

.animate-on-scroll.animated.animate-scale {
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }
.stagger-9 { transition-delay: 0.45s; }
.stagger-10 { transition-delay: 0.5s; }
.stagger-11 { transition-delay: 0.55s; }
.stagger-12 { transition-delay: 0.6s; }

/* Delay utilities */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
.delay-1000 { animation-delay: 1000ms; }

/* Duration utilities */
.duration-fast { animation-duration: 200ms; }
.duration-normal { animation-duration: 300ms; }
.duration-slow { animation-duration: 500ms; }
.duration-slower { animation-duration: 700ms; }
.duration-slowest { animation-duration: 1000ms; }


/* ================================================================
   SECTION 28: Responsive Design
   ================================================================ */

/* Large screens */
@media (max-width: 1280px) {
  :root {
    --container-max: 1100px;
  }

  .hero__container {
    gap: var(--space-10);
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }

  .features__grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-section__grid {
    gap: var(--space-6);
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  :root {
    --section-padding: clamp(3rem, 6vw, 5rem);
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__phone-frame {
    transform: none;
  }

  .hero__notification--1 {
    left: -10px;
  }

  .hero__notification--2 {
    right: -10px;
  }

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

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

  .feature-block {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .feature-block:nth-child(even) {
    direction: rtl;
  }

  .feature-block__content {
    max-width: 100%;
  }

  .how-it-works__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

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

  .stats-section__item:nth-child(2)::after {
    display: none;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .pricing-card--popular {
    transform: scale(1);
  }

  .pricing-card--popular:hover {
    transform: translateY(-8px);
  }

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

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

  .blog-card--featured {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .download__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download__content {
    max-width: 100%;
    margin-inline: auto;
  }

  .download__badges {
    justify-content: center;
  }

  .feature-detail {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .feature-detail:nth-child(even) {
    direction: rtl;
  }

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

/* Tablet portrait / mobile landscape */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
    --navbar-height-scrolled: 60px;
  }

  /* Navbar mobile */
  .navbar__nav,
  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__mobile-overlay,
  .navbar__mobile-menu {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-block: calc(var(--navbar-height) + 3rem) 4rem;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__phone-mockup {
    width: 240px;
  }

  .hero__notification {
    display: none;
  }

  .hero__stats {
    gap: var(--space-6);
  }

  .hero__stat-number {
    font-size: var(--text-3xl);
  }

  /* Section headers */
  .section-header__title {
    font-size: var(--text-4xl);
  }

  /* How it works - stack on smaller tablets */
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 400px;
    margin-inline: auto;
  }

  .how-it-works__steps::before {
    display: none;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  /* Stats */
  .stats-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stats-section__item::after {
    display: none;
  }

  .stats-section__number {
    font-size: var(--text-5xl);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--featured {
    grid-column: span 1;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 1;
    max-width: 100%;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .footer__bottom-links {
    justify-content: center;
  }

  /* CTA */
  .cta__title {
    font-size: var(--text-4xl);
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* Newsletter */
  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__btn {
    width: 100%;
  }

  /* Contact */
  .contact__info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact__info-card {
    flex: 1;
    min-width: 200px;
  }

  /* Page header */
  .page-header__title {
    font-size: var(--text-4xl);
  }

  /* FAQ */
  .faq__question {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-5);
  }

  /* Pricing table horizontal scroll */
  .pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table {
    min-width: 600px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-padding: clamp(2.5rem, 5vw, 4rem);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__buttons .btn {
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__phone-mockup {
    width: 200px;
  }

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

  .section-header__title {
    font-size: var(--text-3xl);
  }

  .section-header__subtitle {
    font-size: var(--text-base);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-7);
    font-size: var(--text-base);
  }

  .btn-xl {
    padding: var(--space-4) var(--space-9);
    font-size: var(--text-lg);
  }

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

  .feature-card {
    padding: var(--space-6);
  }

  .pricing-card {
    padding: var(--space-8);
  }

  .contact__info-card {
    min-width: 100%;
  }

  .download__badges {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  .cta__title {
    font-size: var(--text-3xl);
  }

  .cta__subtitle {
    font-size: var(--text-base);
  }

  .cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__buttons .btn {
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  body {
    font-size: 14px;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__stat-number {
    font-size: var(--text-2xl);
  }

  .hero__phone-mockup {
    width: 180px;
  }

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

  .section-header__title {
    font-size: var(--text-2xl);
  }

  .stats-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .stats-section__number {
    font-size: var(--text-4xl);
  }

  .stats-section__item {
    padding: var(--space-5);
  }

  .page-header__title {
    font-size: var(--text-3xl);
  }

  .page-header__subtitle {
    font-size: var(--text-base);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }
}

/* Print styles */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar,
  .back-to-top,
  .cta,
  .footer__social,
  .footer__newsletter {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a {
    text-decoration: underline;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
  }

  .container {
    max-width: 100%;
  }
}


/* ================================================================
   SECTION 29: Utility Classes
   ================================================================ */

/* Text alignment */
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* Text colors */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }
.text-white { color: #ffffff; }
.text-dark { color: var(--neutral-900); }
.text-muted { color: var(--neutral-400); }
.text-light { color: var(--neutral-500); }

/* Text sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

/* Margin utilities */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-10 { margin: var(--space-10); }
.m-12 { margin: var(--space-12); }
.m-16 { margin: var(--space-16); }
.m-20 { margin: var(--space-20); }
.m-auto { margin: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--space-1); }
.mr-2 { margin-right: var(--space-2); }
.mr-3 { margin-right: var(--space-3); }
.mr-4 { margin-right: var(--space-4); }
.mr-5 { margin-right: var(--space-5); }
.mr-6 { margin-right: var(--space-6); }
.mr-8 { margin-right: var(--space-8); }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--space-1); }
.ml-2 { margin-left: var(--space-2); }
.ml-3 { margin-left: var(--space-3); }
.ml-4 { margin-left: var(--space-4); }
.ml-5 { margin-left: var(--space-5); }
.ml-6 { margin-left: var(--space-6); }
.ml-8 { margin-left: var(--space-8); }

.mx-auto { margin-inline: auto; }
.my-0 { margin-block: 0; }
.my-4 { margin-block: var(--space-4); }
.my-8 { margin-block: var(--space-8); }
.my-12 { margin-block: var(--space-12); }
.my-16 { margin-block: var(--space-16); }

/* Padding utilities */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }
.p-20 { padding: var(--space-20); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--space-3); }
.pt-4 { padding-top: var(--space-4); }
.pt-5 { padding-top: var(--space-5); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }
.pt-10 { padding-top: var(--space-10); }
.pt-12 { padding-top: var(--space-12); }
.pt-16 { padding-top: var(--space-16); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-1); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-3 { padding-bottom: var(--space-3); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-5 { padding-bottom: var(--space-5); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }
.pb-10 { padding-bottom: var(--space-10); }
.pb-12 { padding-bottom: var(--space-12); }

.pr-0 { padding-right: 0; }
.pr-4 { padding-right: var(--space-4); }
.pr-6 { padding-right: var(--space-6); }
.pr-8 { padding-right: var(--space-8); }

.pl-0 { padding-left: 0; }
.pl-4 { padding-left: var(--space-4); }
.pl-6 { padding-left: var(--space-6); }
.pl-8 { padding-left: var(--space-8); }

.px-0 { padding-inline: 0; }
.px-4 { padding-inline: var(--space-4); }
.px-6 { padding-inline: var(--space-6); }
.px-8 { padding-inline: var(--space-8); }

.py-0 { padding-block: 0; }
.py-4 { padding-block: var(--space-4); }
.py-6 { padding-block: var(--space-6); }
.py-8 { padding-block: var(--space-8); }
.py-12 { padding-block: var(--space-12); }
.py-16 { padding-block: var(--space-16); }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* Flex utilities (supplemental) */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Background utilities */
.bg-white { background-color: #ffffff; }
.bg-gray { background-color: var(--neutral-50); }
.bg-dark { background-color: var(--neutral-900); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-gradient { background: var(--gradient-primary); }
.bg-transparent { background: transparent; }

/* Border utilities */
.border { border: 1px solid var(--neutral-200); }
.border-0 { border: none; }
.border-top { border-top: 1px solid var(--neutral-200); }
.border-bottom { border-bottom: 1px solid var(--neutral-200); }
.border-primary { border-color: var(--primary); }
.border-transparent { border-color: transparent; }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-visible { overflow: visible; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-grab { cursor: grab; }

/* User select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* Width/Height utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.max-w-full { max-width: 100%; }

/* Shadow utilities */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* Z-index utilities */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }

/* Line clamp */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Transition utilities */
.transition-none { transition: none; }
.transition-all { transition: all var(--duration-normal) var(--ease-default); }
.transition-colors { transition: color var(--duration-normal) var(--ease-default), background-color var(--duration-normal) var(--ease-default), border-color var(--duration-normal) var(--ease-default); }
.transition-transform { transition: transform var(--duration-normal) var(--ease-default); }
.transition-opacity { transition: opacity var(--duration-normal) var(--ease-default); }

/* Pointer events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* SR only - screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ================================================================
   SECTION 30: Special Effects
   ================================================================ */

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Film grain overlay */
.grain {
  position: relative;
}

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 10;
}

/* Noise texture */
.noise {
  position: relative;
}

.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Animated mesh gradient background */
.mesh-bg {
  background:
    radial-gradient(at 40% 20%, rgba(0, 168, 252, 0.15) 0%, transparent 50%),
    radial-gradient(at 80% 40%, rgba(132, 204, 22, 0.12) 0%, transparent 40%),
    radial-gradient(at 20% 80%, rgba(163, 230, 53, 0.08) 0%, transparent 50%),
    radial-gradient(at 60% 70%, rgba(0, 168, 252, 0.06) 0%, transparent 40%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease-in-out infinite;
}

/* Dot grid pattern */
.dots-pattern {
  position: relative;
}

.dots-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--neutral-200) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Element glow */
.glow {
  box-shadow: 0 0 20px rgba(0, 168, 252, 0.2), 0 0 60px rgba(0, 168, 252, 0.1);
}

.glow-secondary {
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.2), 0 0 60px rgba(132, 204, 22, 0.1);
}

.glow-animated {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Shimmer loading effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--neutral-100) 25%, var(--neutral-200) 50%, var(--neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton--text {
  height: 16px;
  margin-bottom: var(--space-2);
}

.skeleton--title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton--avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton--image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--space-2) var(--space-3);
  background: var(--neutral-900);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease-smooth);
  z-index: var(--z-tooltip);
  pointer-events: none;
}

.tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--neutral-900);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease-smooth);
  z-index: var(--z-tooltip);
  pointer-events: none;
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip:hover::before {
  transform: translateX(-50%);
}

/* Badge / notification dot */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.badge--primary {
  background: var(--primary-100);
  color: var(--primary-700);
}

.badge--secondary {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.badge--success {
  background: var(--success-light);
  color: var(--success-dark);
}

.badge--warning {
  background: var(--warning-light);
  color: var(--warning-dark);
}

.badge--danger {
  background: var(--danger-light);
  color: var(--danger-dark);
}

.badge--gradient {
  background: var(--gradient-primary);
  color: #ffffff;
}

.badge-dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid #ffffff;
}

/* Avatar */
.avatar {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--sm { width: 32px; height: 32px; }
.avatar--lg { width: 56px; height: 56px; }
.avatar--xl { width: 72px; height: 72px; }

.avatar__status {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.avatar__status--online { background: var(--success); }
.avatar__status--offline { background: var(--neutral-400); }
.avatar__status--busy { background: var(--danger); }

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  margin-left: -8px;
  border: 2px solid #ffffff;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--neutral-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.8s var(--ease-smooth);
  position: relative;
}

.progress-bar__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
  background-size: 200% 100%;
}

.progress-bar--sm { height: 4px; }
.progress-bar--lg { height: 12px; }

/* Tag / Chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  color: var(--neutral-600);
  border: 1px solid var(--neutral-200);
  transition: all var(--duration-fast) var(--ease-default);
}

.tag:hover {
  background: var(--neutral-200);
}

.tag--primary {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-100);
}

.tag--secondary {
  background: var(--secondary-50);
  color: var(--secondary-700);
  border-color: var(--secondary-100);
}

.tag__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 0.65rem;
  transition: background var(--duration-fast) var(--ease-default);
}

.tag__remove:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Section dividers */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--neutral-400);
  font-size: var(--text-sm);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}

.divider--gradient::before,
.divider--gradient::after {
  background: var(--gradient-primary);
  height: 2px;
  border-radius: var(--radius-full);
  opacity: 0.3;
}

.divider--dot {
  gap: var(--space-2);
}

.divider--dot::before,
.divider--dot::after {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neutral-300);
}

/* Corner ribbon */
.ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}

.ribbon__text {
  position: absolute;
  top: 22px;
  left: -30px;
  width: 160px;
  padding: var(--space-1) 0;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
}

/* Toast notification */
.notification {
  position: fixed;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--neutral-100);
  z-index: var(--z-toast);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  min-width: 320px;
  max-width: 500px;
}

.notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.notification__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.notification--success .notification__icon {
  background: var(--success-light);
  color: var(--success);
}

.notification--error .notification__icon {
  background: var(--danger-light);
  color: var(--danger);
}

.notification--warning .notification__icon {
  background: var(--warning-light);
  color: var(--warning);
}

.notification--info .notification__icon {
  background: var(--info-light);
  color: var(--info);
}

.notification__content {
  flex: 1;
}

.notification__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 2px;
}

.notification__message {
  font-size: var(--text-xs);
  color: var(--neutral-500);
}

.notification__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--neutral-400);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-default);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.notification__close:hover {
  background: var(--neutral-100);
  color: var(--neutral-600);
}

/* Blob morphing decoration */
.blob {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: morphBlob 10s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Hover lift effect */
.hover-lift {
  transition: transform var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Hover scale */
.hover-scale {
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* Hover glow */
.hover-glow {
  transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* Gradient border on hover */
.hover-gradient-border {
  position: relative;
  border: 2px solid var(--neutral-100);
  transition: border-color var(--duration-normal) var(--ease-default);
}

.hover-gradient-border::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-primary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
  pointer-events: none;
}

.hover-gradient-border:hover {
  border-color: transparent;
}

.hover-gradient-border:hover::after {
  opacity: 1;
}

/* Loading spinner standalone */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 168, 252, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner--sm { width: 16px; height: 16px; border-width: 2px; }
.spinner--lg { width: 40px; height: 40px; border-width: 4px; }
.spinner--white { border-color: rgba(255, 255, 255, 0.2); border-top-color: #ffffff; }

/* Aspect ratio boxes */
.aspect-square { aspect-ratio: 1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-photo { aspect-ratio: 4/3; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }

/* Gradient overlay for images */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Separator line */
.separator {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin-block: var(--space-4);
}

.separator--center {
  margin-inline: auto;
}

/* Frosted panel */
.frosted-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glass);
}

/* Cursor glow (for JS interaction) */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 252, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-behind);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ================================================================
   END OF DESIGN SYSTEM
   ================================================================ */
