/* ============================================
   Muwakil Desk - Modern Design System
   Premium SaaS website with glassmorphism,
   scroll animations, and micro-interactions
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f9fc;
    --bg-tertiary: #eef2f7;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --accent-primary: #15E5FF;
    --accent-secondary: #CD2EC8;
    --accent-third: #FA5E21;
    --accent-hover: #0cc8e0;
    --accent-secondary-hover: #b025b0;
    --accent-primary-light: rgba(21, 229, 255, 0.08);
    --accent-secondary-light: rgba(205, 46, 200, 0.08);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glass: rgba(255, 255, 255, 0.3);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px -8px rgba(21, 229, 255, 0.25);
    --shadow-glow-secondary: 0 0 40px -8px rgba(205, 46, 200, 0.25);
    --gradient-primary: linear-gradient(135deg, #15E5FF 0%, #CD2EC8 100%);
    --gradient-secondary: linear-gradient(135deg, #CD2EC8 0%, #15E5FF 100%);
    --gradient-hero: linear-gradient(160deg, #0a0e1a 0%, #0e1726 30%, #1a0a2e 60%, #0a0e1a 100%);
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(21, 229, 255, 0.12) 0%, transparent 50%),
                     radial-gradient(at 80% 20%, rgba(205, 46, 200, 0.12) 0%, transparent 50%),
                     radial-gradient(at 50% 50%, rgba(21, 229, 255, 0.04) 0%, transparent 70%);
    --gradient-subtle: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --noise: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0e1726;
    --bg-tertiary: #151e30;
    --bg-card: rgba(14, 23, 38, 0.8);
    --bg-glass: rgba(14, 23, 38, 0.6);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --accent-primary: #15E5FF;
    --accent-secondary: #CD2EC8;
    --accent-third: #FA5E21;
    --accent-hover: #4eeeff;
    --accent-secondary-hover: #e040db;
    --accent-primary-light: rgba(21, 229, 255, 0.1);
    --accent-secondary-light: rgba(205, 46, 200, 0.1);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 24px 64px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 80px -12px rgba(21, 229, 255, 0.3);
    --shadow-glow-secondary: 0 0 80px -12px rgba(205, 46, 200, 0.3);
    --gradient-primary: linear-gradient(135deg, #15E5FF 0%, #CD2EC8 100%);
    --gradient-secondary: linear-gradient(135deg, #CD2EC8 0%, #15E5FF 100%);
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(21, 229, 255, 0.08) 0%, transparent 50%),
                     radial-gradient(at 80% 20%, rgba(205, 46, 200, 0.08) 0%, transparent 50%);
    --gradient-subtle: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

::selection {
    background: rgba(21, 229, 255, 0.2);
    color: var(--text-primary);
}

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

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

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.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; }

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-base);
    padding: 0.875rem 0;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all var(--transition-base);
    border-radius: 1px;
}

.header.scrolled {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 20px -4px rgba(0,0,0,0.06);
    padding: 0.375rem 0;
}

[data-theme="dark"] .header.scrolled {
    background: rgba(10,14,26,0.8);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px -4px rgba(0,0,0,0.4);
}

.header.scrolled::before {
    opacity: 0.5;
    left: 0;
    right: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0;
    gap: 1.5rem;
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 0.6rem;
    position: relative;
    z-index: 1001;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: transform var(--transition-spring);
    filter: drop-shadow(0 2px 6px rgba(21, 229, 255, 0.2));
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 4px 12px rgba(21, 229, 255, 0.35));
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: all var(--transition-base);
}

[data-theme="dark"] .logo-text {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

[data-theme="dark"] .header.scrolled .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glass pill nav ---- */
.nav-pill {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    padding: 0.25rem 0.3rem;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all var(--transition-base);
}

.header.scrolled .nav-pill {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    backdrop-filter: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

[data-theme="dark"] .nav-pill {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
}

[data-theme="dark"] .header.scrolled .nav-pill {
    background: rgba(21,30,48,0.9);
    border-color: rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ---- Nav links ---- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.4375rem 0.9375rem;
    border-radius: 50px;
    position: relative;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 50%;
}

.nav-link.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px -2px rgba(21, 229, 255, 0.4), 0 0 20px -6px rgba(205, 46, 200, 0.2);
}

.nav-link.active::after {
    display: none;
}

[data-theme="dark"] .nav-link {
    color: rgba(255,255,255,0.6);
}

[data-theme="dark"] .nav-link:hover {
    color: #ffffff;
}

[data-theme="dark"] .nav-link.active {
    color: white;
}

/* On pages with dark hero (page-hero), force light text before scroll */
.header.on-dark-hero .nav-link {
    color: rgba(255,255,255,0.6);
}

.header.on-dark-hero .nav-link:hover {
    color: #ffffff;
}

.header.on-dark-hero .nav-pill {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}

.header.on-dark-hero .logo-text {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.header.on-dark-hero .theme-toggle {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.header.on-dark-hero .mobile-menu-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.header.on-dark-hero .mobile-menu-toggle span {
    background: var(--accent-primary);
}

/* After scroll, switch to theme-aware colors */
.header.scrolled .nav-link {
    color: var(--text-secondary);
}

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

.header.scrolled .nav-link.active {
    color: white;
    background: var(--gradient-primary);
}

.header.scrolled.on-dark-hero .nav-pill {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.header.scrolled.on-dark-hero .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header.scrolled.on-dark-hero .theme-toggle {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.header.scrolled.on-dark-hero .mobile-menu-toggle span {
    background: var(--accent-primary);
}

/* ---- Right-side actions ---- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.theme-toggle {
    background: rgba(0,0,0,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    width: 2.125rem;
    height: 2.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: all var(--transition-base);
    font-size: 0.8125rem;
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.header.scrolled .theme-toggle {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.theme-toggle:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: rotate(20deg);
    box-shadow: 0 0 20px -4px rgba(21, 229, 255, 0.3);
}

/* ---- CTA button ---- */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px -3px rgba(21, 229, 255, 0.35);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-cta:hover::after {
    transform: translateX(100%);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -3px rgba(21, 229, 255, 0.45);
}

/* ---- Mobile-only sidebar elements (hidden on desktop) ---- */
.mobile-sidebar-header,
.mobile-sidebar-footer,
.mobile-sidebar-divider,
.nav-link-icon {
    display: none;
}

/* ---- Hamburger toggle ---- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.08), rgba(205, 46, 200, 0.08));
    border: 1px solid rgba(21, 229, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    z-index: 1101;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: inherit;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 20px -4px rgba(21, 229, 255, 0.3);
}

.mobile-menu-toggle:hover::before {
    opacity: 0.1;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle span:nth-child(1) {
    width: 20px;
}

.mobile-menu-toggle span:nth-child(2) {
    width: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle span:nth-child(3) {
    width: 17px;
}

.mobile-menu-toggle:hover span {
    width: 20px;
}

[data-theme="dark"] .mobile-menu-toggle {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.06), rgba(205, 46, 200, 0.06));
    border-color: rgba(21, 229, 255, 0.12);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--accent-primary);
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--accent-primary);
}

/* Active state — X with gradient glow */
.mobile-menu-toggle.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 24px -4px rgba(21, 229, 255, 0.4), 0 0 0 2px rgba(21, 229, 255, 0.1);
    transform: rotate(0deg);
}

.mobile-menu-toggle.active::before {
    opacity: 0;
}

.mobile-menu-toggle.active span {
    background: #fff;
    width: 18px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

[data-theme="dark"] .mobile-menu-toggle.active {
    box-shadow: 0 4px 24px -4px rgba(21, 229, 255, 0.5), 0 0 0 2px rgba(21, 229, 255, 0.15);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    flex: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f0fe 30%, #f5f0ff 60%, #f0f7ff 100%);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 0 0;
}

[data-theme="dark"] .hero {
    background: var(--gradient-hero);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(21, 229, 255, 0.15);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(205, 46, 200, 0.12);
    bottom: -20%;
    right: -10%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(21, 229, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

[data-theme="dark"] .hero-orb-1 { background: rgba(21, 229, 255, 0.12); }
[data-theme="dark"] .hero-orb-2 { background: rgba(205, 46, 200, 0.12); }
[data-theme="dark"] .hero-orb-3 { background: rgba(21, 229, 255, 0.08); }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

[data-theme="dark"] .hero-grid-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero > .container {
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    color: #0f172a;
}

[data-theme="dark"] .hero-content {
    color: #f1f5f9;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(21, 229, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(21, 229, 255, 0.15);
    font-weight: 500;
    color: #475569;
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #0f172a;
}

[data-theme="dark"] .hero-title {
    color: white;
}

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

.hero-title .typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-primary);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.75rem;
    max-width: 460px;
    line-height: 1.7;
    font-weight: 400;
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6875rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px rgba(21, 229, 255, 0.3);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(21, 229, 255, 0.4);
}

[data-theme="dark"] .hero-cta-primary {
    background: white;
    color: #0a0e1a;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .hero-cta-primary:hover {
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25);
}

.hero-cta-secondary {
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    color: #334155;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.hero-cta-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.2);
    transform: translateY(-3px);
}

[data-theme="dark"] .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-stats {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.4);
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.dashboard-mockup {
    background: white;
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    animation: dashboardFloat 8s ease-in-out infinite;
    overflow: hidden;
}

[data-theme="dark"] .dashboard-mockup {
    background: rgba(14, 23, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@keyframes dashboardFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

[data-theme="dark"] .mockup-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-title {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

[data-theme="dark"] .mockup-title {
    color: rgba(255, 255, 255, 0.4);
}

.mockup-body {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 56px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

[data-theme="dark"] .mockup-sidebar {
    border-right-color: rgba(255, 255, 255, 0.06);
}

.mockup-sidebar-item {
    height: 32px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    transition: background 0.5s ease;
}

[data-theme="dark"] .mockup-sidebar-item {
    background: rgba(255, 255, 255, 0.04);
}

.mockup-sidebar-item.active {
    background: var(--gradient-primary);
    box-shadow: 0 2px 8px rgba(21, 229, 255, 0.3);
}

.mockup-main {
    flex: 1;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mockup-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    animation: mockupPulse 4s ease-in-out infinite;
    min-height: 70px;
}

[data-theme="dark"] .mockup-card {
    border-color: rgba(255, 255, 255, 0.04);
}

.mockup-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.12), rgba(21, 229, 255, 0.04));
    animation-delay: 0s;
}

.mockup-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(205, 46, 200, 0.1), rgba(205, 46, 200, 0.04));
    animation-delay: 1s;
}

.mockup-card:nth-child(3) {
    background: #f8fafc;
    animation-delay: 2s;
}

[data-theme="dark"] .mockup-card:nth-child(3) {
    background: rgba(255, 255, 255, 0.03);
}

.mockup-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
    animation-delay: 3s;
}

@keyframes mockupPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating notification cards */
.hero-float {
    position: absolute;
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    z-index: 3;
    pointer-events: none;
}

[data-theme="dark"] .hero-float {
    background: rgba(14, 23, 38, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-float i {
    font-size: 1rem;
}

.hero-float-1 {
    top: 10%;
    right: -8%;
    color: #15E5FF;
    animation: heroFloat1 5s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 15%;
    left: -5%;
    color: #CD2EC8;
    animation: heroFloat2 6s ease-in-out infinite;
}

.hero-float-3 {
    top: 55%;
    right: -12%;
    color: #22c55e;
    animation: heroFloat3 7s ease-in-out infinite;
}

@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -12px); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, 8px); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -8px); }
}

/* ============================================
   Trusted By / Marquee Section
   ============================================ */
.trusted-section {
    padding: 3rem 0 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-trusted {
    width: 100%;
    text-align: center;
    padding: 1.25rem 0 1.5rem;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.hero-trusted .trusted-label {
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.hero-trusted .marquee-item {
    color: #475569;
    border-color: rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
}

.hero-trusted .marquee-container::before {
    background: linear-gradient(to right, rgba(245,240,255,0.9), transparent);
}
.hero-trusted .marquee-container::after {
    background: linear-gradient(to left, rgba(240,247,255,0.9), transparent);
}

[data-theme="dark"] .hero-trusted {
    background: rgba(14,23,38,0.4);
    border-top-color: rgba(255,255,255,0.04);
}

[data-theme="dark"] .hero-trusted .marquee-container::before {
    background: linear-gradient(to right, rgba(10,14,26,0.9), transparent);
}
[data-theme="dark"] .hero-trusted .marquee-container::after {
    background: linear-gradient(to left, rgba(10,14,26,0.9), transparent);
}

[data-theme="dark"] .hero-trusted .trusted-label {
    color: rgba(255,255,255,0.4);
}

[data-theme="dark"] .hero-trusted .marquee-item {
    color: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.trusted-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.marquee-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-tertiary);
    white-space: nowrap;
    padding: 0.5rem 1rem;
    opacity: 0.5;
    transition: opacity var(--transition-base);
    flex-shrink: 0;
}

.marquee-item:hover {
    opacity: 0.8;
}

.marquee-item i {
    font-size: 1.5rem;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--accent-primary-light);
    border-radius: 50px;
    border: 1px solid rgba(21, 229, 255, 0.15);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.75px;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(21, 229, 255, 0), rgba(205, 46, 200, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition-slow);
    pointer-events: none;
}

.card:hover::before {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.3), rgba(205, 46, 200, 0.3));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    transition: transform var(--transition-spring);
    flex-shrink: 0;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   Bento Grid
   ============================================ */
.bento-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

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

/* Creative features bento - home page */
.features-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.features-bento .feature-bento-item:nth-child(1) {
    grid-column: span 7;
}

.features-bento .feature-bento-item:nth-child(2) {
    grid-column: span 5;
}

.features-bento .feature-bento-item:nth-child(3) {
    grid-column: span 5;
}

.features-bento .feature-bento-item:nth-child(4) {
    grid-column: span 3;
}

.features-bento .feature-bento-item:nth-child(5) {
    grid-column: span 4;
}

.features-bento .feature-bento-item:nth-child(6) {
    grid-column: span 4;
}

.features-bento .feature-bento-item:nth-child(7) {
    grid-column: span 4;
}

.features-bento .feature-bento-item:nth-child(8) {
    grid-column: span 12;
}

.feature-bento-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(21, 229, 255, 0), rgba(205, 46, 200, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition-slow);
    pointer-events: none;
}

.feature-bento-item:hover::before {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.4), rgba(205, 46, 200, 0.4));
}

.feature-bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-bento-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feature-bento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    flex-shrink: 0;
    position: relative;
}

.feature-bento-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: inherit;
    opacity: 0.15;
    filter: blur(8px);
    z-index: -1;
}

.feature-bento-icon.icon-blue {
    background: linear-gradient(135deg, #15E5FF, #0cc8e0);
    color: white;
}

.feature-bento-icon.icon-purple {
    background: linear-gradient(135deg, #CD2EC8, #b025b0);
    color: white;
}

.feature-bento-icon.icon-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.feature-bento-icon.icon-orange {
    background: linear-gradient(135deg, #FA5E21, #d94e15);
    color: white;
}

.feature-bento-icon.icon-pink {
    background: linear-gradient(135deg, #e040db, #CD2EC8);
    color: white;
}

.feature-bento-icon.icon-indigo {
    background: linear-gradient(135deg, #15E5FF, #CD2EC8);
    color: white;
}

.feature-bento-icon.icon-cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.feature-bento-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    margin-bottom: 0.25rem;
}

.feature-bento-text {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.65;
    flex: 1;
}

/* Accent glow on the spotlight card */
.feature-bento-item.spotlight {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.04), rgba(205, 46, 200, 0.04));
}

.feature-bento-item.spotlight .feature-bento-text {
    font-size: 0.875rem;
}

/* Mini visual element inside bento spotlight */
.feature-bento-visual {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.feature-bento-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
    padding: 0.5rem;
    background: rgba(21, 229, 255, 0.04);
    border-radius: var(--radius-sm);
}

.feature-bento-mini-chart span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--gradient-primary);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.feature-bento-item:hover .feature-bento-mini-chart span {
    opacity: 1;
}

.feature-bento-mini-inbox {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: rgba(205, 46, 200, 0.04);
    border-radius: var(--radius-sm);
}

.feature-bento-mini-inbox span {
    height: 6px;
    border-radius: 3px;
    background: var(--gradient-secondary);
    opacity: 0.3;
}

.feature-bento-mini-inbox span:first-child {
    opacity: 0.6;
    width: 80%;
}

.feature-bento-mini-inbox span:nth-child(2) {
    opacity: 0.4;
    width: 60%;
}

/* Standard grids */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

/* ============================================
   Feature Showcase (Alternating)
   ============================================ */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

.feature-showcase.reversed {
    direction: rtl;
}

.feature-showcase.reversed > * {
    direction: ltr;
}

.feature-showcase-content {
    position: relative;
}

.feature-showcase-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.feature-showcase-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list i {
    color: var(--accent-primary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-showcase-visual {
    position: relative;
}

.feature-visual-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Feature visual mockups for features page */
.feature-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.feature-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.15), rgba(205, 46, 200, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.feature-mockup-bar {
    height: 36px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 0.875rem;
    gap: 6px;
}

.feature-mockup-bar::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #28ca42;
}

.feature-mockup-body {
    padding: 1.25rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Ticket list mockup */
.mock-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-ticket {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.mock-ticket:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(21, 229, 255, 0.08);
}

.mock-ticket-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-ticket-dot.dot-green { background: #22c55e; }
.mock-ticket-dot.dot-yellow { background: #f59e0b; }
.mock-ticket-dot.dot-red { background: #ef4444; }
.mock-ticket-dot.dot-blue { background: #15E5FF; }

.mock-ticket-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-ticket-line {
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
}

.mock-ticket-line:first-child {
    width: 70%;
}

.mock-ticket-line:last-child {
    width: 45%;
    opacity: 0.6;
}

.mock-ticket-badge {
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mock-ticket-badge.badge-open { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.mock-ticket-badge.badge-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.mock-ticket-badge.badge-urgent { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Chart mockup */
.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.mock-chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: all var(--transition-base);
    position: relative;
}

.mock-chart-bar:nth-child(odd) {
    background: var(--gradient-primary);
}

.mock-chart-bar:nth-child(even) {
    background: rgba(205, 46, 200, 0.3);
}

.feature-mockup:hover .mock-chart-bar {
    opacity: 0.9;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

/* AI mockup */
.mock-ai-suggestion {
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.mock-ai-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-ai-header i {
    font-size: 0.75rem;
}

.mock-ai-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-ai-line {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-secondary-light), var(--accent-primary-light));
    animation: aiShimmer 2s ease-in-out infinite;
}

.mock-ai-line:nth-child(1) { width: 100%; animation-delay: 0s; }
.mock-ai-line:nth-child(2) { width: 85%; animation-delay: 0.15s; }
.mock-ai-line:nth-child(3) { width: 60%; animation-delay: 0.3s; }

@keyframes aiShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.mock-ai-confidence {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
}

.mock-ai-confidence-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.mock-ai-confidence-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-primary);
    width: 92%;
}

/* Inbox mockup */
.mock-inbox {
    display: flex;
    gap: 0.75rem;
}

.mock-inbox-channels {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.mock-channel-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    transition: transform var(--transition-base);
}

.mock-channel-icon:hover {
    transform: scale(1.15);
}

.mock-channel-icon.ch-email { background: #15E5FF; }
.mock-channel-icon.ch-whatsapp { background: #25d366; }
.mock-channel-icon.ch-facebook { background: #1877f2; }
.mock-channel-icon.ch-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.mock-channel-icon.ch-twitter { background: #0f172a; }

.mock-inbox-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-message {
    padding: 0.625rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.mock-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
}

.mock-msg-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-msg-line {
    height: 5px;
    border-radius: 3px;
    background: var(--bg-tertiary);
}

.mock-msg-line:first-child { width: 60%; }
.mock-msg-line:last-child { width: 40%; opacity: 0.5; }

/* Feature number badge */
.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(21, 229, 255, 0.25);
}

.feature-showcase-content .section-badge {
    margin-bottom: 0.75rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(21, 229, 255, 0.35);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -3px rgba(21, 229, 255, 0.45);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-primary);
    padding: 0.5rem 0;
    border-radius: 0;
}

.btn-ghost:hover {
    gap: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-white {
    background: white;
    color: #0a0e1a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: #f59e0b;
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ============================================
   Dashboard Preview
   ============================================ */
.dashboard-preview-section {
    padding: 4rem 0;
}

.dashboard-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dashboard-preview-content {
    position: relative;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.dashboard-preview-image {
    position: relative;
}

.animated-screenshot {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: screenshotFloat 8s ease-in-out infinite;
}

@keyframes screenshotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.screenshot-placeholder {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.screenshot-header {
    height: 44px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

.screenshot-header::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28ca42;
}

.screenshot-content {
    display: flex;
    height: 320px;
}

.screenshot-sidebar {
    width: 60px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.screenshot-sidebar::before,
.screenshot-sidebar::after {
    content: '';
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.screenshot-main {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.screenshot-widget {
    height: 80px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    animation: widgetPulse 4s ease-in-out infinite;
}

.screenshot-widget:nth-child(2) { animation-delay: 0.5s; }
.screenshot-widget:nth-child(3) { animation-delay: 1s; }

@keyframes widgetPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================
   Pricing
   ============================================ */
.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.toggle-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.2));
    color: #22c55e;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-tertiary);
    border-radius: 28px;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pricing-grid-full {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card-featured {
    border-color: var(--accent-primary);
    border-width: 2px;
    box-shadow: var(--shadow-glow);
    z-index: 1;
    transform: scale(1.02);
}

.pricing-card-featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 0 80px -12px rgba(21, 229, 255, 0.5);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(21, 229, 255, 0.3);
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

.pricing-description {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-features li + li {
    border-top: 1px solid var(--border-color);
}

.pricing-features i {
    color: var(--accent-primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-faq {
    margin-top: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.875rem;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-section {
    background: var(--bg-primary);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
}

.faq-item-accordion {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item-accordion:hover {
    border-color: rgba(21, 229, 255, 0.2);
}

.faq-item-accordion.active {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    background: var(--bg-primary);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-base);
    gap: 1rem;
}

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

.faq-question-btn span {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    font-size: 0.75rem;
    color: var(--accent-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary-light);
    border-radius: 50%;
}

.faq-item-accordion.active .faq-icon {
    transform: rotate(180deg);
    background: var(--gradient-primary);
    color: white;
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    padding: 0 1.5rem 1.5rem;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(160deg, #eef2f7 0%, #e0e8f0 30%, #ede0f5 60%, #eef2f7 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-banner {
    background: var(--gradient-hero);
}

.cta-banner .hero-orb {
    opacity: 0.3;
}

[data-theme="dark"] .cta-banner .hero-orb {
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .cta-content h2 {
    color: white;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

[data-theme="dark"] .cta-content p {
    color: rgba(255, 255, 255, 0.6);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Blog
   ============================================ */
.blog-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-flex;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-primary);
    background: var(--accent-primary-light);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.blog-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.blog-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap var(--transition-base);
}

.blog-link:hover {
    gap: 0.625rem;
}

/* Blog Layout (sidebar) */
.blog-layout,
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

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

.blog-card-featured {
    margin-bottom: 1.5rem;
}

.blog-card-featured .blog-image {
    height: 240px;
}

.blog-card-featured .blog-title {
    font-size: 1.375rem;
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    z-index: 2;
}

.blog-read-time {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 5rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.sidebar-widget-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget-title i {
    color: var(--accent-primary);
    font-size: 0.875rem;
}

.sidebar-search {
    position: relative;
}

.sidebar-search .form-control {
    padding-right: 2.75rem;
}

.sidebar-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color var(--transition-base);
}

.sidebar-search-btn:hover {
    color: var(--accent-primary);
}

.sidebar-categories {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.sidebar-categories li a:hover {
    background: var(--accent-primary-light);
    color: var(--accent-primary);
}

.sidebar-categories li a span {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-tertiary);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    color: var(--text-tertiary);
}

.sidebar-popular {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-popular-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
    text-decoration: none;
}

.sidebar-popular-item:hover {
    background: var(--accent-primary-light);
}

.sidebar-popular-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.sidebar-popular-item h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.125rem;
}

.sidebar-popular-item span {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
}

.sidebar-newsletter p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Blog Detail Page */
.page-hero-compact {
    padding: 7rem 0 3rem;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color var(--transition-base);
}

[data-theme="dark"] .breadcrumb-nav a {
    color: rgba(255,255,255,0.6);
}

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

[data-theme="dark"] .breadcrumb-nav a:hover {
    color: white;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.blog-detail-meta span {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

[data-theme="dark"] .blog-detail-meta span {
    color: rgba(255,255,255,0.5);
}

.blog-detail-content {
    min-width: 0;
}

.blog-detail-cover {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.blog-detail-body {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

.blog-detail-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.blog-detail-body h2:first-child {
    margin-top: 0;
}

.blog-detail-body h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.blog-detail-body p {
    margin-bottom: 1rem;
}

.blog-detail-share {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-detail-share span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.blog-detail-share-links {
    display: flex;
    gap: 0.5rem;
}

.blog-detail-share-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.blog-detail-share-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ============================================
   Contact Page Enhanced
   ============================================ */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.contact-quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.contact-quick-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.contact-quick-icon.icon-cyan { background: rgba(21,229,255,0.1); color: #15E5FF; }
.contact-quick-icon.icon-magenta { background: rgba(205,46,200,0.1); color: #CD2EC8; }
.contact-quick-icon.icon-orange { background: rgba(250,94,33,0.1); color: #FA5E21; }
.contact-quick-icon.icon-green { background: rgba(34,197,94,0.1); color: #22c55e; }

.contact-quick-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-quick-card p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0;
}

.contact-quick-card a {
    color: var(--accent-primary);
    transition: color var(--transition-base);
}

.contact-quick-card a:hover {
    color: var(--accent-hover);
}

.contact-quick-sub {
    color: var(--text-tertiary) !important;
    font-size: 0.75rem !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form-header {
    margin-bottom: 1.75rem;
}

.contact-form-header h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.contact-form-header p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.contact-map-placeholder {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(21,229,255,0.05), rgba(205,46,200,0.05));
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-map-placeholder i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-social-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.contact-social-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.contact-social-card p {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(21, 229, 255, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    display: none;
}

.error-message.show {
    display: block;
}

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

/* ============================================
   Page Hero (Inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(160deg, #eef2f7 0%, #e0e8f0 30%, #ede0f5 60%, #eef2f7 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .page-hero {
    background: var(--gradient-hero);
}

.page-hero .hero-bg-effects {
    opacity: 0.3;
}

[data-theme="dark"] .page-hero .hero-bg-effects {
    opacity: 0.5;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .page-hero-title {
    color: white;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   About Page
   ============================================ */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.about-stat {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.about-stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-primary-light);
    color: var(--accent-primary);
    font-size: 1.125rem;
    margin: 0 auto 1rem;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Story Timeline */
.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
}

.story-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.story-step-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
}

.story-step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.story-step-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.value-card-accent.accent-cyan { background: linear-gradient(90deg, #15E5FF, #0cc8e0); }
.value-card-accent.accent-magenta { background: linear-gradient(90deg, #CD2EC8, #b025b0); }
.value-card-accent.accent-orange { background: linear-gradient(90deg, #FA5E21, #d94e15); }
.value-card-accent.accent-green { background: linear-gradient(90deg, #22c55e, #16a34a); }

.value-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.value-card-icon.icon-cyan { background: rgba(21,229,255,0.1); color: #15E5FF; }
.value-card-icon.icon-magenta { background: rgba(205,46,200,0.1); color: #CD2EC8; }
.value-card-icon.icon-orange { background: rgba(250,94,33,0.1); color: #FA5E21; }
.value-card-icon.icon-green { background: rgba(34,197,94,0.1); color: #22c55e; }

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Why Us Grid */
.why-us-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-us-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    transition: all var(--transition-base);
}

.why-us-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.why-us-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.why-us-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.why-us-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-content {
    width: calc(50% - 2rem);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid var(--bg-primary);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(21, 229, 255, 0.2);
}

.timeline-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-info-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-content a {
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-info-content a:hover {
    color: var(--accent-primary);
}

/* ============================================
   Content Pages (Terms, Privacy)
   ============================================ */
.content-page {
    padding: 2rem 0 4rem;
    max-width: 760px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.content-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.content-page h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.content-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.content-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ============================================
   Features Dashboard Showcase
   ============================================ */
.features-dashboard-showcase {
    padding: 2rem 0;
}

.dashboard-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dashboard-showcase-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.dashboard-showcase-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dashboard-showcase-image {
    position: relative;
}

.showcase-dashboard {
    max-width: 100%;
}

/* Shared dashboard mockup for features page */
.animated-dashboard {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 0;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.dashboard-header-dots {
    display: flex;
    gap: 6px;
}

.dashboard-header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-header-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-header-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-header-dots span:nth-child(3) { background: #28ca42; }

.dashboard-header-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.dashboard-content {
    display: flex;
    padding: 0;
}

.dashboard-sidebar {
    width: 52px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.sidebar-item.active {
    background: var(--gradient-primary);
}

.dashboard-main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
}

.dashboard-card {
    height: 70px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.dashboard-card.card-1 {
    background: linear-gradient(135deg, var(--accent-primary-light), var(--bg-secondary));
}

.dashboard-card.card-2 {
    background: linear-gradient(135deg, var(--accent-secondary-light), var(--bg-secondary));
}

.dashboard-card.card-4 {
    background: linear-gradient(135deg, var(--accent-primary-light), var(--bg-secondary));
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.875rem;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--accent-primary);
    margin-top: 0.25rem;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color var(--transition-base);
}

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

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(21, 229, 255, 0.3);
    transition: all var(--transition-base);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21, 229, 255, 0.5);
}

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-float {
        display: none;
    }

    .dashboard-mockup {
        transform: none;
        animation: none;
        max-width: 500px;
        margin: 0 auto;
    }

    /* =============================================
       Mobile Sidebar — Creative Design
       ============================================= */
    .nav-pill,
    [data-theme="dark"] .nav-pill,
    .header.on-dark-hero .nav-pill,
    .header.scrolled .nav-pill,
    .header.scrolled.on-dark-hero .nav-pill,
    [data-theme="dark"] .header.scrolled .nav-pill,
    [data-theme="dark"] .header.on-dark-hero .nav-pill {
        position: fixed;
        right: 0;
        top: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: var(--bg-primary);
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        transform: translateX(100%);
        box-shadow: none;
        padding: 0;
        border: none;
        border-radius: 0;
        z-index: 1100;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    [data-theme="dark"] .nav-pill,
    [data-theme="dark"] .header.scrolled .nav-pill {
        background: #0e1726;
    }

    .nav-pill.active,
    [data-theme="dark"] .nav-pill.active,
    .header.on-dark-hero .nav-pill.active,
    .header.scrolled .nav-pill.active,
    .header.scrolled.on-dark-hero .nav-pill.active,
    [data-theme="dark"] .header.scrolled .nav-pill.active,
    [data-theme="dark"] .header.on-dark-hero .nav-pill.active {
        display: flex;
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        background: var(--bg-primary);
        box-shadow: -12px 0 60px rgba(0,0,0,0.15);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-left: 1px solid var(--border-color);
    }

    [data-theme="dark"] .nav-pill.active,
    [data-theme="dark"] .header.scrolled .nav-pill.active {
        background: #0e1726;
        box-shadow: -12px 0 60px rgba(0,0,0,0.6);
        border-left-color: rgba(255,255,255,0.06);
    }

    /* Gradient accent line at top — only when active */
    .nav-pill::before {
        content: none;
    }

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

    /* ---- Sidebar Header ---- */
    .mobile-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .mobile-sidebar-logo {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        text-decoration: none;
    }

    .mobile-sidebar-logo-img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .mobile-sidebar-logo-text {
        font-size: 1rem;
        font-weight: 700;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-sidebar-close {
        width: 36px;
        height: 36px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        background: var(--bg-secondary);
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        transition: all var(--transition-base);
    }

    .mobile-sidebar-close:hover {
        background: rgba(21, 229, 255, 0.08);
        color: var(--accent-primary);
        border-color: var(--accent-primary);
    }

    [data-theme="dark"] .mobile-sidebar-close {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.6);
    }

    /* ---- Divider ---- */
    .mobile-sidebar-divider {
        display: block;
        height: 1px;
        background: var(--border-color);
        margin: 0.5rem 1.25rem 0.75rem;
    }

    [data-theme="dark"] .mobile-sidebar-divider {
        background: rgba(255,255,255,0.06);
    }

    /* ---- Mobile nav links ---- */
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        list-style: none;
        padding: 0 0.75rem;
        margin: 0;
        flex: 1;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .nav-link-icon {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        background: var(--bg-secondary);
        color: var(--text-tertiary);
        font-size: 0.8125rem;
        margin-right: 0.75rem;
        transition: all var(--transition-base);
        flex-shrink: 0;
    }

    [data-theme="dark"] .nav-link-icon {
        background: rgba(255,255,255,0.05);
        color: rgba(255,255,255,0.4);
    }

    .nav-link,
    [data-theme="dark"] .nav-link,
    .header.on-dark-hero .nav-link,
    .header.scrolled .nav-link,
    .header.scrolled.on-dark-hero .nav-link {
        display: flex;
        align-items: center;
        padding: 0.625rem 0.625rem;
        border-radius: var(--radius-lg);
        width: 100%;
        font-size: 0.9375rem;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all var(--transition-base);
        -webkit-text-fill-color: var(--text-secondary);
        background: none;
    }

    [data-theme="dark"] .nav-link,
    [data-theme="dark"] .header.scrolled .nav-link {
        color: rgba(255,255,255,0.6);
        -webkit-text-fill-color: rgba(255,255,255,0.6);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    [data-theme="dark"] .nav-link:hover,
    .header.on-dark-hero .nav-link:hover,
    .header.scrolled .nav-link:hover {
        color: var(--text-primary);
        -webkit-text-fill-color: var(--text-primary);
        background: var(--bg-secondary);
    }

    .nav-link:hover .nav-link-icon {
        background: var(--accent-primary-light);
        color: var(--accent-primary);
    }

    [data-theme="dark"] .nav-link:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
        -webkit-text-fill-color: #fff;
    }

    .nav-link.active,
    [data-theme="dark"] .nav-link.active,
    .header.on-dark-hero .nav-link.active,
    .header.scrolled .nav-link.active,
    .header.scrolled.on-dark-hero .nav-link.active {
        background: var(--accent-primary-light);
        color: var(--accent-primary);
        -webkit-text-fill-color: var(--accent-primary);
        box-shadow: none;
        font-weight: 600;
    }

    .nav-link.active .nav-link-icon,
    [data-theme="dark"] .nav-link.active .nav-link-icon {
        background: var(--accent-primary);
        color: #fff;
    }

    [data-theme="dark"] .nav-link.active {
        background: rgba(21, 229, 255, 0.1);
        color: var(--accent-primary);
        -webkit-text-fill-color: var(--accent-primary);
    }

    /* ---- Sidebar Footer ---- */
    .mobile-sidebar-footer {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem 1.5rem;
        margin-top: auto;
        border-top: 1px solid var(--border-color);
    }

    [data-theme="dark"] .mobile-sidebar-footer {
        border-top-color: rgba(255,255,255,0.06);
    }

    .mobile-sidebar-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        background: var(--gradient-primary);
        color: #fff;
        border-radius: var(--radius-lg);
        font-weight: 600;
        font-size: 0.9375rem;
        text-decoration: none;
        transition: all var(--transition-base);
        box-shadow: 0 4px 16px -4px rgba(21, 229, 255, 0.4);
    }

    .mobile-sidebar-cta:hover {
        box-shadow: 0 8px 24px -4px rgba(21, 229, 255, 0.5);
        transform: translateY(-1px);
    }

    .mobile-theme-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        width: 100%;
        padding: 0.625rem 1rem;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-color);
        background: var(--bg-secondary);
        color: var(--text-secondary);
        font-size: 0.8125rem;
        font-weight: 500;
        cursor: pointer;
        transition: all var(--transition-base);
        font-family: inherit;
    }

    .mobile-theme-btn:hover {
        border-color: var(--accent-primary);
        color: var(--accent-primary);
    }

    .mobile-theme-btn i {
        font-size: 0.875rem;
    }

    [data-theme="dark"] .mobile-theme-btn {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.6);
    }

    [data-theme="dark"] .mobile-theme-btn:hover {
        border-color: var(--accent-primary);
        color: var(--accent-primary);
    }

    /* ---- Show hamburger, hide desktop CTA ---- */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .header.on-dark-hero .mobile-menu-toggle {
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.1);
    }

    .header.on-dark-hero .mobile-menu-toggle span {
        background: var(--accent-primary);
    }

    .header.scrolled .mobile-menu-toggle span,
    .header.scrolled.on-dark-hero .mobile-menu-toggle span {
        background: var(--accent-primary);
    }

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

    .features-bento .feature-bento-item:nth-child(1),
    .features-bento .feature-bento-item:nth-child(2),
    .features-bento .feature-bento-item:nth-child(3),
    .features-bento .feature-bento-item:nth-child(4),
    .features-bento .feature-bento-item:nth-child(5),
    .features-bento .feature-bento-item:nth-child(6),
    .features-bento .feature-bento-item:nth-child(7),
    .features-bento .feature-bento-item:nth-child(8) {
        grid-column: span 1;
    }

    .feature-showcase,
    .dashboard-showcase-wrapper,
    .dashboard-preview-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-showcase.reversed {
        direction: ltr;
    }

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

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

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-6px);
    }

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

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

    .blog-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

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

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

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

    .timeline::before {
        left: 1rem;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
        padding-left: 3rem;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .bento-2,
    .bento-3,
    .bento-4 {
        grid-template-columns: 1fr;
    }

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

    .features-bento .feature-bento-item:nth-child(1),
    .features-bento .feature-bento-item:nth-child(2),
    .features-bento .feature-bento-item:nth-child(3),
    .features-bento .feature-bento-item:nth-child(4),
    .features-bento .feature-bento-item:nth-child(5),
    .features-bento .feature-bento-item:nth-child(6),
    .features-bento .feature-bento-item:nth-child(7),
    .features-bento .feature-bento-item:nth-child(8) {
        grid-column: span 1;
    }

    .pricing-grid,
    .pricing-grid-full {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-6px);
    }

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

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

    .blog-card-featured .blog-image {
        height: 200px;
    }

    .blog-detail-cover {
        height: 220px;
    }

    .contact-cards-row {
        grid-template-columns: 1fr;
    }

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

    .story-step {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .cta-banner {
        padding: 3.5rem 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

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

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

    .feature-showcase-content h3 {
        font-size: 1.375rem;
    }

    .mockup-body {
        min-height: 200px;
    }

    .mock-inbox {
        flex-direction: column;
    }

    .mock-inbox-channels {
        flex-direction: row;
        justify-content: center;
    }

    .preview-actions {
        flex-direction: column;
    }

    .screenshot-content {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4.5rem 0 0;
    }

    .hero-trusted {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.125rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    .nav-pill,
    [data-theme="dark"] .nav-pill,
    .header.scrolled .nav-pill,
    .header.on-dark-hero .nav-pill,
    .header.scrolled.on-dark-hero .nav-pill {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .nav-pill.active,
    [data-theme="dark"] .nav-pill.active,
    .header.scrolled .nav-pill.active,
    .header.on-dark-hero .nav-pill.active,
    .header.scrolled.on-dark-hero .nav-pill.active {
        width: 100%;
        max-width: 100%;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.375rem;
    }

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

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .about-stat {
        padding: 1.25rem 0.75rem;
    }

    .about-stat-number {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .page-hero-compact {
        padding: 5.5rem 0 2rem;
    }

    .blog-detail-meta {
        gap: 0.75rem;
    }

    .feature-bento-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .page-hero {
        padding: 5.5rem 0 2.5rem;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }

    .page-hero-subtitle {
        font-size: 0.875rem;
    }

    .cta-banner {
        padding: 3rem 0;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* ============================================
   Overlay for mobile menu
   ============================================ */
.nav-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 1099;
}

/* .nav-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
} */

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

    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Light Mode Enhancements
   (scoped to light mode only)
   ============================================ */

/* Cards: solid white with refined shadow */
:root:not([data-theme="dark"]) .card,
:root:not([data-theme="dark"]) .feature-bento-item,
:root:not([data-theme="dark"]) .testimonial-card,
:root:not([data-theme="dark"]) .pricing-card,
:root:not([data-theme="dark"]) .faq-item,
:root:not([data-theme="dark"]) .faq-item-accordion,
:root:not([data-theme="dark"]) .blog-card,
:root:not([data-theme="dark"]) .contact-info-card,
:root:not([data-theme="dark"]) .about-stat,
:root:not([data-theme="dark"]) .timeline-content {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

:root:not([data-theme="dark"]) .card:hover,
:root:not([data-theme="dark"]) .feature-bento-item:hover,
:root:not([data-theme="dark"]) .testimonial-card:hover,
:root:not([data-theme="dark"]) .blog-card:hover {
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

:root:not([data-theme="dark"]) .pricing-card:hover {
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.1);
}

/* Section-alt: subtle gradient background */
:root:not([data-theme="dark"]) .section-alt {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

/* Spotlight bento items: subtle gradient tint */
:root:not([data-theme="dark"]) .feature-bento-item.spotlight {
    background: linear-gradient(135deg, rgba(21, 229, 255, 0.04), rgba(205, 46, 200, 0.04));
    border-color: rgba(21, 229, 255, 0.1);
}

/* Featured pricing card */
:root:not([data-theme="dark"]) .pricing-card-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary), 0 8px 30px -6px rgba(21, 229, 255, 0.2);
}

:root:not([data-theme="dark"]) .pricing-card-featured:hover {
    box-shadow: 0 0 0 1px var(--accent-primary), 0 16px 40px -8px rgba(21, 229, 255, 0.3);
}

/* FAQ active state */
:root:not([data-theme="dark"]) .faq-item-accordion.active {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px rgba(21, 229, 255, 0.15), 0 4px 12px rgba(21, 229, 255, 0.08);
}

/* Badge accent refinements */
:root:not([data-theme="dark"]) .section-badge {
    background: rgba(21, 229, 255, 0.06);
    border-color: rgba(21, 229, 255, 0.12);
    color: var(--accent-primary);
}

/* About stat hover */
:root:not([data-theme="dark"]) .about-stat:hover {
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
    border-color: rgba(21, 229, 255, 0.2);
}

/* Contact info card hover */
:root:not([data-theme="dark"]) .contact-info-card:hover {
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
    border-color: rgba(21, 229, 255, 0.2);
}

/* Footer */
:root:not([data-theme="dark"]) .footer {
    background: #f7f9fc;
    border-top-color: rgba(15, 23, 42, 0.06);
}

/* Social links */
:root:not([data-theme="dark"]) .social-link {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

:root:not([data-theme="dark"]) .social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Feature mockup */
:root:not([data-theme="dark"]) .feature-mockup {
    box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Form controls */
:root:not([data-theme="dark"]) .form-control {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

:root:not([data-theme="dark"]) .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(21, 229, 255, 0.1);
}

/* Toggle slider */
:root:not([data-theme="dark"]) .toggle-slider {
    background: #e2e8f0;
}

/* Blog link */
:root:not([data-theme="dark"]) .blog-link {
    color: var(--accent-primary);
}

/* Mini chart bars */
:root:not([data-theme="dark"]) .feature-bento-mini-chart span {
    opacity: 0.7;
}

/* Trusted section marquee items */
:root:not([data-theme="dark"]) .marquee-item {
    color: #475569;
    opacity: 0.4;
}

:root:not([data-theme="dark"]) .marquee-item:hover {
    opacity: 0.7;
}

/* Hero CTA secondary inside CTA banner (always dark bg) */
/* CTA banner buttons — light mode */
:root:not([data-theme="dark"]) .cta-banner .btn-white {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px -3px rgba(21, 229, 255, 0.35);
}

:root:not([data-theme="dark"]) .cta-banner .btn-white:hover {
    box-shadow: 0 8px 25px -3px rgba(21, 229, 255, 0.45);
}

:root:not([data-theme="dark"]) .cta-banner .hero-cta-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border-color: var(--border-color);
}

:root:not([data-theme="dark"]) .cta-banner .hero-cta-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* CTA banner buttons — dark mode */
[data-theme="dark"] .cta-banner .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .cta-banner .hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Screenshot placeholder */
:root:not([data-theme="dark"]) .screenshot-placeholder {
    box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.1);
}

/* Nav CTA */
:root:not([data-theme="dark"]) .nav-cta {
    box-shadow: 0 4px 15px -3px rgba(21, 229, 255, 0.35);
}

:root:not([data-theme="dark"]) .nav-cta:hover {
    box-shadow: 0 8px 25px -3px rgba(21, 229, 255, 0.45);
}

/* Back to top button */
:root:not([data-theme="dark"]) .back-to-top {
    box-shadow: 0 8px 24px rgba(21, 229, 255, 0.25);
}

:root:not([data-theme="dark"]) .back-to-top:hover {
    box-shadow: 0 12px 32px rgba(21, 229, 255, 0.4);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
