/* LoadCheck - Luxury Design System */
/* Inspired by premium real estate aesthetics */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

:root {
    /* Luxury Color System */
    --primary: #c9a96e;
    --primary-light: #dfc9a3;
    --primary-dark: #a68a4e;
    --primary-glow: rgba(201, 169, 110, 0.4);
    --primary-subtle: rgba(201, 169, 110, 0.1);

    --accent: #8b7355;
    --accent-light: #a89078;
    --accent-glow: rgba(139, 115, 85, 0.4);

    --cyan: #7a9e9f;
    --cyan-glow: rgba(122, 158, 159, 0.4);

    --success: #7a9e7a;
    --success-glow: rgba(122, 158, 122, 0.5);

    --warning: #c9a96e;
    --warning-glow: rgba(201, 169, 110, 0.5);

    --danger: #a67a7a;
    --danger-glow: rgba(166, 122, 122, 0.5);

    /* Deep Elegant Backgrounds */
    --bg-base: #0a0a0a;
    --bg-elevated: #111111;
    --bg-surface: #1a1a1a;
    --bg-card: rgba(26, 26, 26, 0.9);
    --bg-hover: rgba(201, 169, 110, 0.05);

    /* Text */
    --text-primary: #f5f5f0;
    --text-secondary: rgba(245, 245, 240, 0.7);
    --text-muted: rgba(245, 245, 240, 0.5);
    --text-dim: rgba(245, 245, 240, 0.3);

    /* Borders */
    --border: rgba(245, 245, 240, 0.08);
    --border-light: rgba(245, 245, 240, 0.12);
    --border-accent: rgba(201, 169, 110, 0.3);

    /* Glass */
    --glass-bg: rgba(245, 245, 240, 0.02);
    --glass-border: rgba(245, 245, 240, 0.06);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c9a96e 0%, #8b7355 100%);
    --gradient-purple-pink: linear-gradient(135deg, #c9a96e 0%, #a68a4e 100%);
    --gradient-cyan: linear-gradient(135deg, #7a9e9f 0%, #5a7a7a 100%);
    --gradient-success: linear-gradient(135deg, #7a9e7a 0%, #5a7a5a 100%);
    --gradient-warning: linear-gradient(135deg, #c9a96e 0%, #a68a4e 100%);
    --gradient-danger: linear-gradient(135deg, #a67a7a 0%, #8a5a5a 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(201, 169, 110, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 115, 85, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(122, 158, 159, 0.1) 0px, transparent 50%);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 32px 128px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px var(--primary-glow);
    --shadow-glow-sm: 0 0 30px var(--primary-glow);
    --shadow-glow-accent: 0 0 40px var(--accent-glow);

    /* Animations */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-luxury: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 100px;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

::selection {
    background: var(--primary);
    color: var(--bg-base);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hidden {
    display: none !important;
}

/* ============================================
   ANIMATED BACKGROUND EFFECTS
   ============================================ */

/* Noise Texture */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Cursor Glow Effect - Subtle */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.8s var(--ease-luxury);
    opacity: 0;
    will-change: transform;
}

.cursor-dot {
    display: none;
}

body:hover .cursor-glow {
    opacity: 1;
}

body:hover .cursor-dot {
    opacity: 0;
}

/* Particles */
.particles {
    display: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particle-rise 25s infinite linear;
    box-shadow: 0 0 8px var(--primary-glow);
}

@keyframes particle-rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.15;
        transform: scale(1);
    }

    90% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(50px) scale(0.5);
    }
}

/* Professional Background Grid */
.bg-grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

/* Floating Shapes - Hidden for cleaner look */
.floating-shapes {
    display: none;
}

.floating-shape {
    display: none;
}

.floating-shape.circle,
.floating-shape.square,
.floating-shape.triangle,
.floating-shape.hexagon {
    display: none;
}

@keyframes float-around {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-50px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translateY(-20px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translateY(-40px) rotate(270deg) scale(1.05);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-6) 0;
    transition: all 0.6s var(--ease-luxury);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transition: opacity 0.6s var(--ease-luxury);
    pointer-events: none;
    z-index: 0;
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.scrolled {
    padding: var(--space-4) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.4s var(--ease-luxury);
    position: relative;
    z-index: 2;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    position: relative;
    z-index: 2;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--space-2) 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.4s var(--ease-luxury);
    cursor: pointer;
}

.nav-link:hover {
    color: var(--text-primary);
}

.logo-icon {
    display: none;
}

.logo-pulse,
.logo-ring {
    display: none;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.logo-highlight {
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
    opacity: 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: none;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 28px;
    animation: none;
}

.btn-primary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: none;
    box-shadow: none;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover::before {
    transform: none;
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-icon {
    transition: transform 0.3s var(--ease-out-back);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: btn-shine 4s infinite;
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 150%;
    }
}

.btn-glow-effect {
    position: absolute;
    inset: -2px;
    background: var(--gradient-purple-pink);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.btn:hover .btn-glow-effect {
    opacity: 0.6;
}

.btn-gradient,
.btn-glow,
.ripple-btn,
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-add {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: var(--bg-base);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: orb-float 20s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 60%);
    top: -300px;
    right: -200px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.15) 0%, transparent 60%);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

.orb-4 {
    display: none;
}

@keyframes orb-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }
}

.grid-lines {
    display: none;
}

.hero-gradient-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(to top, var(--bg-base) 0%, transparent 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 180px var(--space-8) 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-10);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.badge-text {
    color: var(--primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: badge-dot-pulse 3s ease-in-out infinite;
    box-shadow: 0 0 8px var(--success-glow);
}

@keyframes badge-dot-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.badge-icon {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.2);
    }
}

.animate-float {
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 1.0;
    margin-bottom: var(--space-10);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.title-line {
    display: block;
    opacity: 0;
    animation: title-reveal 1.2s var(--ease-luxury) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-accent {
    color: var(--primary);
    font-style: italic;
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text,
.title-accent {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Shimmer text effect */
.hero-title {
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes gradient-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-12);
    max-width: 500px;
    opacity: 0;
    animation: fade-in-up 1s var(--ease-luxury) 0.6s forwards;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-subtitle em {
    font-style: italic;
    color: var(--primary);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-text {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-16);
    opacity: 0;
    animation: fade-in-up 1s var(--ease-luxury) 0.9s forwards;
}

/* Elegant Buttons */
.btn-elegant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: var(--primary);
    color: var(--bg-base);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-luxury);
}

.btn-elegant:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-elegant .btn-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-base);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-luxury);
}

.btn-elegant:hover .btn-line {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: 18px 48px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-luxury);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline .btn-icon {
    transition: transform 0.5s var(--ease-luxury);
}

.btn-outline:hover .btn-icon {
    transform: translateY(3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-12);
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fade-in-up 1s var(--ease-luxury) 1.2s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: transparent;
    border: none;
    transition: all 0.5s var(--ease-luxury);
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
    align-self: center;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.02em;
    animation: statNumberShine 3s ease-in-out infinite;
    text-shadow: 0 0 30px var(--primary-glow);
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    filter: blur(15px);
    z-index: -1;
    transition: opacity 0.5s var(--ease-luxury);
}

.stat-item:hover .stat-number::after {
    opacity: 1;
}

.stat-item:hover .stat-number {
    animation: statNumberPulse 0.6s ease-out;
}

@keyframes statNumberShine {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

@keyframes statNumberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.stat-suffix {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.stat-item:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.stat-icon-mini {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--bg-base);
    box-shadow: 0 8px 20px var(--primary-glow);
    position: relative;
    margin-bottom: var(--space-2);
}

.stat-icon-mini::after {
    display: none;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-plus {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border-light), transparent);
}

/* Trusted Section */
.hero-trusted {
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    animation: fade-in-up 1s var(--ease-out-expo) 1s backwards;
}

.trusted-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-4);
    display: block;
    font-weight: 500;
}

.trusted-logos {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    align-items: center;
}

.trusted-logo {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: var(--space-2) 0;
    background: transparent;
    border: none;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-out-expo);
}

.trusted-logo:hover {
    color: var(--text-secondary);
}

/* ============================================
   HERO VISUAL - DASHBOARD PREVIEW
   ============================================ */

.hero-visual {
    display: none;
    /* Hide for now - centered text hero like Al Zorah */
}

.dashboard-preview {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: 1px solid var(--border);
    padding: var(--space-10);
    position: relative;
}

.preview-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.preview-meter {
    position: relative;
    width: 180px;
    height: 180px;
}

.meter-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.meter-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 2;
}

.meter-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 170;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s var(--ease-luxury);
}

.meter-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.meter-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
}

.meter-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: var(--space-2);
}

.preview-info {
    text-align: center;
}

.preview-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-2);
}

.preview-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.dot.red {
    background: #ff5f57;
    box-shadow: 0 0 10px rgba(255, 95, 87, 0.5);
}

.dot.yellow {
    background: #febc2e;
    box-shadow: 0 0 10px rgba(254, 188, 46, 0.5);
}

.dot.green {
    background: #28c840;
    box-shadow: 0 0 10px rgba(40, 200, 64, 0.5);
}

.preview-title {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.preview-title i {
    color: var(--primary-light);
}

.preview-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--success-glow);
}

@keyframes live-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.preview-content {
    padding: var(--space-8);
}

/* Meter */
.preview-meter {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-8);
    position: relative;
}

.meter-svg {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
}

.meter-bg {
    fill: none;
    stroke: rgba(99, 102, 241, 0.1);
    stroke-width: 12;
}

.meter-progress {
    fill: none;
    stroke: url(#meterGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 190;
    animation: meter-fill-anim 2.5s var(--ease-out-expo) forwards;
    filter: drop-shadow(0 0 15px var(--success-glow));
}

@keyframes meter-fill-anim {
    from {
        stroke-dashoffset: 283;
    }
}

.meter-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.meter-value {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
    text-shadow: 0 0 30px var(--success-glow);
}

.meter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.meter-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Preview Bars */
.preview-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.preview-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.bar-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 150px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.bar-icon {
    font-size: 1.1rem;
}

.bar-track {
    flex: 1;
    height: 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: var(--color, var(--gradient-purple-pink));
    border-radius: var(--radius-full);
    animation: bar-fill-anim 1.5s var(--ease-out-expo) forwards;
    animation-delay: calc(var(--delay, 0) * 0.2s + 0.8s);
    box-shadow: 0 0 15px var(--color);
}

.preview-bar-item:nth-child(1) .bar-fill {
    --delay: 1;
}

.preview-bar-item:nth-child(2) .bar-fill {
    --delay: 2;
}

.preview-bar-item:nth-child(3) .bar-fill {
    --delay: 3;
}

@keyframes bar-fill-anim {
    to {
        width: var(--width);
    }
}

.bar-value {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 45px;
    text-align: right;
}

/* AI Badge */
.preview-ai-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    margin-top: var(--space-6);
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 32px var(--primary-glow);
    animation: ai-badge-pulse 3s ease-in-out infinite;
}

@keyframes ai-badge-pulse {

    0%,
    100% {
        box-shadow: 0 8px 32px var(--primary-glow);
    }

    50% {
        box-shadow: 0 12px 48px var(--accent-glow);
    }
}

.ai-typing-indicator {
    display: flex;
    gap: 4px;
}

.ai-typing-indicator span {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.ai-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: rgba(17, 15, 40, 0.95);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow:
        var(--shadow-lg),
        0 0 30px rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(20px);
    animation: float-card 6s ease-in-out infinite;
    transition: all 0.4s var(--ease-out-expo);
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--success) 0%, var(--primary) 50%, var(--accent) 100%);
    -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;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        var(--shadow-xl),
        0 0 50px rgba(16, 185, 129, 0.25);
}

.floating-card:hover::before {
    opacity: 1;
}

.floating-card i {
    color: var(--success);
    font-size: 1.1rem;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.card-1 {
    top: 5%;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: -3s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: var(--space-8);
}

.section-badge i {
    display: none;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: var(--space-24) 0;
    position: relative;
    background: var(--bg-base);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    transition: border-color 0.6s var(--ease-luxury), box-shadow 0.6s var(--ease-luxury), background 0.6s var(--ease-luxury);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.6s var(--ease-luxury);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-card::after {
    display: none;
}

.feature-card-inner {
    padding: 0;
    position: relative;
    z-index: 1;
}

.feature-glow {
    display: none;
}

.feature-card:hover .feature-glow {
    opacity: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-base);
    margin-bottom: var(--space-6);
    box-shadow: 0 8px 20px var(--primary-glow);
    transition: all 0.5s var(--ease-luxury);
    position: relative;
}

.feature-icon::after {
    display: none;
}

.feature-card:hover .feature-icon {
    border-color: var(--primary);
    transform: none;
}

.feature-icon.warning,
.feature-icon.success,
.feature-icon.danger,
.feature-icon.info,
.feature-icon.purple {
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px var(--primary-glow);
    color: var(--bg-base);
}

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: var(--space-4);
    transition: all 0.5s var(--ease-luxury);
    color: var(--text-primary);
}

.feature-card:hover h3 {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover .feature-link {
    opacity: 1;
    transform: translateY(0);
}

.feature-link i {
    transition: transform 0.3s var(--ease-out-back);
}

.feature-link:hover i {
    transform: translateX(5px);
}

.glass-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    padding: var(--space-24) 0;
    background: var(--bg-elevated);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.1);
}

.step-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-purple-pink);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.step-card:hover .step-decoration {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: var(--space-5);
    right: var(--space-6);
    font-family: 'Sora', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    line-height: 1;
}

.step-icon-wrapper {
    display: inline-block;
    margin-bottom: var(--space-6);
    position: relative;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--bg-base);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.step-icon.warning,
.step-icon.success {
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px var(--primary-glow);
    color: var(--bg-base);
}

.step-icon-ring {
    display: none;
}

@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.step-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-dim);
    font-size: 1.2rem;
}

.connector-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline-section {
    padding: var(--space-24) 0;
    background: var(--bg-base);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-10) 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    transition: height 0.3s ease;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 var(--space-12) var(--space-16) 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding: 0 0 var(--space-16) var(--space-12);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    right: -14px;
    top: 0;
    z-index: 2;
}

.timeline-item.right .timeline-marker {
    left: -14px;
    right: auto;
}

.marker-dot {
    width: 28px;
    height: 28px;
    background: var(--gradient-purple-pink);
    border-radius: 50%;
    border: 4px solid var(--bg-base);
    box-shadow: 0 0 30px var(--primary-glow);
    transition: all 0.4s var(--ease-out-back);
}

.timeline-item:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 50px var(--primary-glow);
}

.marker-pulse {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: marker-pulse-anim 2.5s ease-out infinite;
}

@keyframes marker-pulse-anim {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    transition: border-color 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), background 0.5s var(--ease-out-expo);
    backdrop-filter: blur(10px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-accent);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
}

.timeline-item:hover .timeline-content::before {
    transform: scaleX(1);
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    transform: rotate(45deg);
    transition: border-color 0.4s ease;
}

.timeline-item .timeline-content::after {
    right: -11px;
    border-left: none;
    border-bottom: none;
}

.timeline-item.right .timeline-content::after {
    left: -11px;
    right: auto;
    border-right: none;
    border-top: none;
}

.timeline-item:hover .timeline-content::after {
    border-color: var(--border-accent);
}

.timeline-number {
    position: absolute;
    top: var(--space-5);
    font-family: 'Sora', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    line-height: 1;
}

.timeline-item .timeline-number {
    right: var(--space-6);
}

.timeline-item.right .timeline-number {
    left: var(--space-6);
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: none;
}

/* Professional Timeline Icon */
.timeline-icon-pro {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

/* Professional Bar Icon */
.bar-icon-pro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: var(--space-2);
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.timeline-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.timeline-meta {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.timeline-item .timeline-meta {
    justify-content: flex-end;
}

.timeline-item.right .timeline-meta {
    justify-content: flex-start;
}

.timeline-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: var(--space-2) var(--space-4);
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.timeline-meta span i {
    color: var(--primary-light);
}

.timeline-meta span:hover {
    background: var(--primary-subtle);
    color: var(--text-primary);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: var(--space-20) 0;
    background: var(--bg-elevated);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-8px);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-base);
    margin: 0 auto var(--space-6);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.stat-icon.warning,
.stat-icon.success,
.stat-icon.danger {
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px var(--primary-glow);
    color: var(--bg-base);
}

.stat-big-number {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-2);
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.stat-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover .stat-glow {
    opacity: 0.2;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--space-20) 0;
}

.cta-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: var(--space-20) var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orb-pulse 8s ease-in-out infinite;
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.3);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.2);
    bottom: -150px;
    left: -100px;
    animation-delay: -4s;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-subtle);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-6);
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cta-features i {
    color: var(--success);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.4s var(--ease-out-expo);
}

.social-link:hover {
    background: var(--gradient-purple-pink);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
}

.footer-links-column h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

.footer-links-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: var(--space-2) 0;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.copyright {
    margin-top: var(--space-2);
    font-size: 0.85rem;
}

/* ============================================
   APP PAGE
   ============================================ */

#app-page {
    padding-top: 140px;
    min-height: 100vh;
    background: var(--bg-base);
}

.app-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 var(--space-6) var(--space-20);
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.app-header-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.header-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-base);
    position: relative;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.header-icon-pulse {
    display: none;
}

.app-header-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: var(--space-2);
}

/* Form Progress */
.form-progress {
    margin-bottom: var(--space-10);
    padding: var(--space-6);
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.progress-track {
    height: 6px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    transition: width 0.6s var(--ease-out-expo);
    box-shadow: 0 0 20px var(--primary-glow);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.4;
    transition: all 0.4s var(--ease-out-expo);
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.4s var(--ease-out-expo);
}

.progress-step.active .step-circle {
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px var(--primary-glow);
    color: var(--bg-base);
}

.progress-step.completed .step-circle {
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px var(--primary-glow);
    color: var(--bg-base);
}

.progress-step span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--border-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-base);
    position: relative;
}

.card-icon-glow {
    display: none;
}

.sleep-icon,
.subjects-icon,
.exams-icon,
.projects-icon,
.causes-icon,
.recommendations-icon {
    background: var(--gradient-primary);
    color: var(--bg-base);
}

.card-title-group {
    flex: 1;
}

.card-title-group h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.card-title-group p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-badge {
    padding: 6px 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    padding: var(--space-6);
}

/* Sleep Control */
.sleep-control {
    text-align: center;
}

.sleep-value-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.sleep-value {
    font-family: 'Sora', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    text-shadow: 0 0 60px var(--primary-glow);
}

.sleep-unit {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.sleep-quality-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    transition: all 0.4s ease;
}

.quality-emoji {
    font-size: 1.3rem;
}

.quality-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--success);
}

.sleep-slider-wrapper {
    margin-bottom: var(--space-4);
}

input[type="range"] {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--danger), var(--warning), var(--success), var(--cyan));
    border-radius: var(--radius-full);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px var(--primary-glow);
    transition: all 0.3s var(--ease-out-back);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 0 6px var(--primary-glow);
}

.sleep-labels {
    display: flex;
    position: relative;
    height: 1.5em;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.sleep-label.danger {
    color: var(--danger);
}

.sleep-label.warning {
    color: var(--warning);
}

.sleep-label.success {
    color: var(--success);
}

.sleep-label.info {
    color: var(--cyan);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-10);
    color: var(--text-muted);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 2px dashed var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    font-size: 2rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

.empty-hint {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Form Items */
.form-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    transition: all 0.4s var(--ease-out-expo);
    animation: form-item-enter 0.4s var(--ease-out-expo);
}

@keyframes form-item-enter {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-item:hover {
    border-color: var(--primary);
    background: var(--primary-subtle);
}

.form-item input,
.form-item select {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-item input:focus,
.form-item select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-item input::placeholder {
    color: var(--text-dim);
}

.form-item select option {
    background: var(--bg-card);
}

.btn-remove {
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    transform: scale(1.05);
}

/* Submit Section */
.submit-section {
    margin-top: var(--space-10);
    text-align: center;
}

.submit-btn {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.submit-hint {
    margin-top: var(--space-4);
    font-size: 0.9rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.submit-hint i {
    color: var(--success);
}

/* ============================================
   RESULTS SECTION
   ============================================ */

.results-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.results-title {
    flex: 1;
}

.results-title h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.results-title h2 i {
    color: var(--primary);
}

.results-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: var(--space-2);
}

/* ============================================
   DUAL SCORE GRID
   ============================================ */

.dual-score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .dual-score-grid {
        grid-template-columns: 1fr;
    }
}

.score-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.score-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.score-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orb-pulse 6s ease-in-out infinite;
}

.score-orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(99, 102, 241, 0.3);
    top: -60px;
    right: -40px;
}

.score-orb-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-glow);
    top: -60px;
    right: -40px;
}

.score-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.score-header i {
    font-size: 1.2rem;
    color: var(--primary);
}

.score-circle-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.score-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: rgba(99, 102, 241, 0.1);
    stroke-width: 12;
}

.score-progress {
    fill: none;
    stroke: url(#sleepGradientGood);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 471;
    stroke-dashoffset: 471;
    transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}

.score-progress.risk-progress {
    stroke: url(#riskGradientLow);
    filter: drop-shadow(0 0 10px currentColor);
}

.score-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.score-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.score-value {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.score-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.score-label {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.score-hours {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.score-hours i {
    color: var(--primary);
}

/* Summary Card */
.summary-card {
    padding: 24px 32px;
    margin-bottom: 24px;
}

.summary-content {
    text-align: center;
    margin-bottom: 20px;
}

.summary-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Result Hero */
.result-hero {
    padding: var(--space-12);
    position: relative;
    overflow: hidden;
}

.result-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.result-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-pulse 6s ease-in-out infinite;
}

.result-orb-1 {
    width: 350px;
    height: 350px;
    background: var(--primary-glow);
    top: -120px;
    right: -80px;
}

.result-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-glow);
    bottom: -80px;
    left: -60px;
    animation-delay: -3s;
}

.risk-overview {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.risk-circle-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
}

.risk-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.risk-bg {
    fill: none;
    stroke: rgba(99, 102, 241, 0.1);
    stroke-width: 14;
}

.risk-progress {
    fill: none;
    stroke: url(#riskGradientLow);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 1.5s var(--ease-out-expo);
    filter: drop-shadow(0 0 15px currentColor);
}

.risk-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.risk-emoji {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}

.risk-score {
    font-family: 'Sora', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.risk-score-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.risk-details {
    text-align: center;
    max-width: 320px;
}

.risk-badge {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
}

.risk-badge.low {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.risk-badge.medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.risk-badge.high {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#risk-label {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

#risk-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Risk Indicator */
.risk-indicator {
    margin-top: var(--space-8);
}

.indicator-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
    border-radius: var(--radius-full);
    position: relative;
    margin-bottom: var(--space-3);
}

.indicator-fill {
    display: none;
}

.indicator-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: left 1s var(--ease-out-expo);
    border: 3px solid var(--bg-base);
}

.indicator-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* AI Card */
.ai-card {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.05), var(--glass-bg));
    border-color: var(--border-accent);
    position: relative;
    overflow: hidden;
}

.ai-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15), transparent);
    pointer-events: none;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.ai-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.ai-avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    opacity: 0.4;
    animation: ring-spin 15s linear infinite;
    z-index: 0;
}

.ai-avatar-pulse {
    position: absolute;
    inset: 0;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-lg);
    animation: glow-pulse 3s ease-in-out infinite;
    z-index: 0;
    opacity: 0.4;
}

.ai-avatar i {
    position: relative;
    z-index: 1;
}

.ai-header-text {
    flex: 1;
}

.ai-header-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.ai-header-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: 2px;
}

.ai-header-text span i {
    color: var(--primary-light);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: live-pulse 2s ease-in-out infinite;
}

.ai-message {
    padding: var(--space-6);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.ai-typing {
    display: flex;
    gap: 5px;
    padding: var(--space-3) 0;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.ai-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Breakdown Chart */
.breakdown-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.breakdown-label {
    width: 130px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.breakdown-bar {
    flex: 1;
    height: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1.5s var(--ease-out-expo);
    box-shadow: 0 0 15px currentColor;
}

.breakdown-value {
    width: 50px;
    text-align: right;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.insight-list {
    list-style: none;
}

.insight-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.insight-list li:last-child {
    border-bottom: none;
}

.insight-list li::before {
    content: '→';
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 0, 20, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-bg {
    position: absolute;
    inset: 0;
}

.loading-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: orb-pulse 6s ease-in-out infinite;
}

.loading-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.4);
    top: 20%;
    left: 30%;
}

.loading-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.3);
    bottom: 20%;
    right: 30%;
    animation-delay: -3s;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.loading-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    inset: 10px;
    border-top-color: var(--accent);
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    inset: 20px;
    border-top-color: var(--success);
    animation-duration: 0.9s;
}

.spinner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-purple-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 40px var(--primary-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 40px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 80px var(--primary-glow);
    }
}

.loading-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.loading-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: var(--space-8);
}

.loading-progress {
    width: 250px;
    height: 6px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-8);
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    animation: loading-fill 4.5s var(--ease-out-expo) forwards;
    box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes loading-fill {
    0% {
        width: 0;
    }

    15% {
        width: 15%;
    }

    35% {
        width: 35%;
    }

    55% {
        width: 55%;
    }

    75% {
        width: 78%;
    }

    90% {
        width: 92%;
    }

    100% {
        width: 100%;
    }
}

.loading-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.loading-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.95rem;
    color: var(--text-dim);
    transition: all 0.4s ease;
}

.loading-step.active {
    color: var(--text-primary);
}

.loading-step.active i {
    color: var(--success);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-trusted {
        text-align: center;
    }

    .trusted-logos {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding: 0 0 var(--space-10) var(--space-16);
        text-align: left;
    }

    .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: 10px;
        right: auto;
    }

    .timeline-content::after,
    .timeline-item .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -11px;
        right: auto;
        border-right: none;
        border-top: none;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .timeline-number,
    .timeline-item .timeline-number,
    .timeline-item.right .timeline-number {
        right: var(--space-5);
        left: auto;
    }

    .timeline-meta,
    .timeline-item .timeline-meta,
    .timeline-item.right .timeline-meta {
        justify-content: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .risk-overview {
        flex-direction: column;
    }

    .form-item {
        flex-wrap: wrap;
    }

    .form-item input,
    .form-item select {
        min-width: 100%;
    }

    .progress-step span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Animation Utilities */
@keyframes form-item-exit {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

.hover-lift {
    transition: transform 0.4s var(--ease-out-expo);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ============================================
   WHATSAPP-STYLE PREMIUM ANIMATIONS
   ============================================ */

/* Smooth Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Delay Utilities */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.text-reveal.visible span {
    transform: translateY(0);
    opacity: 1;
}

/* Word-by-Word Animation */
.animate-words span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-30deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-words.visible span {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Character Animation */
.char-animate {
    display: inline-block;
    animation: char-fade-in 0.5s ease forwards;
    opacity: 0;
}

@keyframes char-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium Card 3D Hover Effect */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-3d-inner {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
}

/* Enhanced Glass Card Animations */
.glass-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
    animation: shimmer-move 1.5s ease-in-out;
}

@keyframes shimmer-move {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(50%, 50%) rotate(180deg);
    }
}

#landing-page .glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Floating Animation Variants */
@keyframes float-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

.float-rotate {
    animation: float-rotate 8s ease-in-out infinite;
}

/* Parallax Scroll Effect */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -50%;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Section Fade In */
section {
    opacity: 1;
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Premium Button Interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%) skewX(-15deg);
}

/* Pulse Animation on Hover */
.pulse-hover:hover {
    animation: pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 0 15px transparent;
    }
}

/* Smooth Icon Animations */
.icon-animate {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.icon-animate:hover {
    transform: scale(1.15) rotate(10deg);
}

/* Feature Card Enhanced Hover */
.feature-card {
    position: relative;
    transition: border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple-pink);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.feature-card:hover .feature-link i {
    transform: translateX(8px);
}

/* Timeline Enhanced Animations - Let GSAP handle initial states */

.timeline-content {
    transition: border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-marker {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
}

/* Stat Counter Animation */
.stat-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.stat-card:hover .stat-icon {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Loading Spinner Enhanced */
.loading-spinner {
    position: relative;
    animation: spin-pulse 2s ease-in-out infinite;
}

@keyframes spin-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.spinner-ring {
    animation: ring-rotate 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 2s;
}

.spinner-ring:nth-child(3) {
    animation-duration: 2.5s;
}

@keyframes ring-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Page Transition */
.page-enter {
    animation: page-slide-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes page-slide-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-exit {
    animation: page-slide-out 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes page-slide-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Smooth Blur Reveal */
.blur-reveal {
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.blur-reveal.visible {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: var(--gradient-purple-pink);
    border-radius: inherit;
    -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;
    animation: gradient-rotate 4s linear infinite;
}

@keyframes gradient-rotate {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* Smooth Underline Effect */
.smooth-underline {
    position: relative;
    text-decoration: none;
}

.smooth-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-purple-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.smooth-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Bounce In Animation */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Slide In Animations */
@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Morph Shape Animation */
@keyframes morph {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.morph-shape {
    animation: morph 8s ease-in-out infinite;
}

/* Glitch Effect */
@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    91% {
        transform: translate(-2px, 1px);
    }

    92% {
        transform: translate(2px, -1px);
    }

    93% {
        transform: translate(-1px, 2px);
    }

    94% {
        transform: translate(1px, -2px);
    }
}

.glitch-hover:hover {
    animation: glitch 0.3s ease forwards;
}

/* Smooth Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Focus Ring Animation */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow), 0 0 20px var(--primary-glow);
}

.focus-ring:focus-visible {
    animation: focus-pulse 1.5s ease-in-out infinite;
}

@keyframes focus-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 0 6px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
}

/* Typewriter Effect Cursor */
.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
    color: var(--primary);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Counter Animation */
.count-up {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple-pink);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.1s linear;
}

/* Section Divider Animation */
.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-purple-pink);
    border-radius: var(--radius-full);
    margin: var(--space-6) auto;
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Input Focus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle), 0 0 20px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Card Entry Animation */
.card {
    animation: card-enter 0.6s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth Color Transitions - scoped to interactive elements only */
a,
button,
input,
select,
.btn,
.card,
.nav-link,
.feature-card,
.stat-card {
    transition-property: background-color, border-color, color, box-shadow, transform;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable transitions on page load */
.preload * {
    transition: none !important;
}

[data-aos] {
    transition-timing-function: var(--ease-out-expo) !important;
}

/* ============================================
   ENHANCED LUXURY ANIMATIONS
   ============================================ */

/* Elegant Fade In Up with Scale */
@keyframes luxury-reveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Golden Shimmer Border */
@keyframes border-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-border {
    position: relative;
}

.shimmer-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    background-size: 200% 100%;
    border-radius: inherit;
    animation: border-shimmer 3s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.shimmer-border:hover::before {
    opacity: 1;
}

/* Floating Animation */
@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

.float-animate {
    animation: float-gentle 6s ease-in-out infinite;
}

/* Stagger Float Delays */
.stat-item:nth-child(1) .float-animate {
    animation-delay: 0s;
}

.stat-item:nth-child(3) .float-animate {
    animation-delay: 0.5s;
}

.stat-item:nth-child(5) .float-animate {
    animation-delay: 1s;
}

/* Glow Pulse */
@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--primary-glow), 0 0 40px transparent;
    }

    50% {
        box-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
    }
}

.glow-animate {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Stagger Glow Delays */
.feature-card:nth-child(1) .glow-animate {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .glow-animate {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) .glow-animate {
    animation-delay: 0.6s;
}

.feature-card:nth-child(4) .glow-animate {
    animation-delay: 0.9s;
}

.feature-card:nth-child(5) .glow-animate {
    animation-delay: 1.2s;
}

.feature-card:nth-child(6) .glow-animate {
    animation-delay: 1.5s;
}

/* Text Reveal Character by Character */
@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(-90deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Staggered Card Animations */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card {
    animation: luxury-reveal 0.8s var(--ease-out-expo) backwards;
}

/* Smooth Scale on Hover */
.scale-hover {
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.scale-hover:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Magnetic Button Effect Enhancement */
.magnetic-btn {
    transition: all 0.4s var(--ease-out-expo);
}

.magnetic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.magnetic-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Underline Animation */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.5s var(--ease-out-expo);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Icon Spin on Hover */
.icon-spin-hover:hover i {
    animation: icon-rotate 0.6s var(--ease-out-expo);
}

@keyframes icon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--primary) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.8s;
}

.ripple:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* Slide In from Left */
@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In from Right */
@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom In */
@keyframes zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce In */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gradient Background Animation */
@keyframes gradient-animate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-bg {
    background-size: 200% 200%;
    animation: gradient-animate 8s ease infinite;
}

/* Card Tilt 3D Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out-expo);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateZ(20px);
}

/* Text Gradient Animation */
@keyframes text-gradient-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animated-text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary), var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-gradient-flow 4s linear infinite;
}

/* Pulse Ring */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: inherit;
    animation: pulse-ring 2s ease-out infinite;
}

/* Hover Lift */
.hover-lift {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Smooth Section Transitions - handled by AOS and initSectionReveals */
/* Removed conflicting opacity:0 animation that hid sections */

/* Button Arrow Animation */
.btn-icon {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ============================================
   MODERN BAKERY-INSPIRED ANIMATIONS
   ============================================ */

/* Clip-path reveal for sections */
.gsap-reveal {
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}

.gsap-reveal.revealed {
    clip-path: inset(0 0 0% 0);
}

/* Smooth text split animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    transform-origin: center top;
    will-change: transform, opacity;
}

.split-text .word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.3em;
}

/* Hero text reveal with clip */
.hero-text-reveal {
    overflow: hidden;
}

.hero-text-reveal>* {
    transform: translateY(120%);
    will-change: transform;
}

/* Stagger reveal for grid items */
.gsap-stagger-item {
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
}

/* Section wipe reveal */
.section-wipe {
    position: relative;
    overflow: hidden;
}

.section-wipe::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-base);
    transform-origin: top;
    z-index: 5;
    pointer-events: none;
}

/* Image reveal mask */
.img-reveal {
    overflow: hidden;
}

.img-reveal>* {
    transform: scale(1.3);
    will-change: transform;
}

/* ============================================
   MARQUEE / INFINITE SCROLL SECTION
   ============================================ */

.marquee-section {
    padding: var(--space-12) 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    padding-right: var(--space-10);
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 400;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: color 0.5s var(--ease-luxury);
    -webkit-text-stroke: 0;
}

.marquee-item:hover {
    color: var(--primary);
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   GSAP SCROLL-TRIGGERED PARALLAX
   ============================================ */

.parallax-depth-1 {
    will-change: transform;
}

.parallax-depth-2 {
    will-change: transform;
}

.parallax-depth-3 {
    will-change: transform;
}

/* ============================================
   SMOOTH HORIZONTAL LINE REVEAL
   ============================================ */

.line-reveal {
    width: 0;
    height: 1px;
    background: var(--primary);
    will-change: width;
}

.line-reveal.vertical {
    width: 1px;
    height: 0;
    will-change: height;
}

/* ============================================
   ENHANCED SECTION HEADERS WITH GSAP
   ============================================ */

.section-header .section-badge {
    opacity: 0;
    transform: translateY(20px);
}

.section-header .section-title {
    overflow: hidden;
}

.section-header .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
}

/* ============================================
   ENHANCED PAGE TRANSITIONS
   ============================================ */

.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    z-index: 9998;
    transform: scaleY(0);
    transform-origin: bottom;
    will-change: transform;
    pointer-events: none;
}

/* ============================================
   SMOOTH CARD HOVER DEPTH
   ============================================ */

.feature-card,
.stat-card,
.step-card,
.timeline-content {
    will-change: transform;
    transform: translateZ(0);
}

/* ============================================
   ENHANCED FOOTER REVEAL
   ============================================ */

.footer {
    position: relative;
}

.footer-brand,
.footer-links-column {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   ENHANCED STAT CARD COUNTER
   ============================================ */

.stat-card .stat-big-number {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.6s var(--ease-luxury);
}

/* ============================================
   CTA SECTION ENHANCED
   ============================================ */

.cta-card {
    opacity: 0;
    transform: scale(0.92);
    will-change: transform, opacity;
}

/* ============================================
   SMOOTH NAVBAR REVEAL
   ============================================ */

.navbar .nav-logo,
.navbar .nav-link,
.navbar .btn {
    opacity: 0;
    transform: translateY(-20px);
}

/* Body visible state after preloader - animated by GSAP */
body.loaded .navbar .nav-logo,
body.loaded .navbar .nav-link,
body.loaded .navbar .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   AI CHATBOT STYLES
   ============================================ */

/* AI Chat Card in Results */
.ai-chat-card {
    margin-bottom: 24px;
}

.ai-chat-card .card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.ai-icon {
    background: linear-gradient(135deg, var(--primary), var(--cyan)) !important;
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Chat Messages Container */
.chat-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--bg-base);
}

.user-message .message-avatar {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.message-content {
    background: var(--bg-surface);
    padding: 12px 16px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    max-width: 85%;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-base);
    border-top-left-radius: 16px;
    border-top-right-radius: 4px;
}

.message-content p {
    margin: 0;
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
}

.suggestion-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-chip:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Chat Input */
.chat-input-container {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.chat-input {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: var(--bg-base);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

/* ============================================
   FLOATING CHATBOT
   ============================================ */

.floating-chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bg-base);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--primary-glow);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.chatbot-icon-close {
    display: none;
}

.floating-chatbot.open .chatbot-icon-open {
    display: none;
}

.floating-chatbot.open .chatbot-icon-close {
    display: block;
}

.chatbot-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: chatbot-pulse 2s ease-out infinite;
}

.floating-chatbot.open .chatbot-pulse {
    display: none;
}

@keyframes chatbot-pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Chatbot Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.floating-chatbot.open .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-base);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chatbot-title h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-status .status-dot {
    width: 6px;
    height: 6px;
    background: #7a9e7a;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--bg-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chatbot Messages */
.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Chatbot Suggestions */
.chatbot-suggestions {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
    flex-wrap: wrap;
}

/* Chatbot Input */
.chatbot-input-container {
    display: flex;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
}

.chatbot-input {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--primary);
}

.chatbot-input::placeholder {
    color: var(--text-muted);
}

.chatbot-send-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: var(--bg-base);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .floating-chatbot {
        bottom: 16px;
        right: 16px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 70px;
    }

    .chatbot-messages {
        height: 250px;
    }
}

/* ============================================
   PDF DOWNLOAD BUTTON & RESULTS ACTIONS
   ============================================ */

.results-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.results-actions .btn {
    flex: 1;
}

.btn-pdf {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(201, 169, 110, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-luxury);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-pdf .btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-pdf .btn-content i {
    font-size: 1.15em;
    color: #ef4444;
    transition: color 0.3s ease;
}

.btn-pdf:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.25) 0%, rgba(201, 169, 110, 0.18) 100%);
    border-color: rgba(220, 53, 69, 0.5);
    box-shadow: 0 8px 40px rgba(220, 53, 69, 0.15), 0 0 60px rgba(220, 53, 69, 0.08);
    transform: translateY(-2px);
}

.btn-pdf:active {
    transform: translateY(0);
}

.btn-pdf .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-pdf:hover .btn-shine {
    left: 100%;
}

@media (max-width: 768px) {
    .results-actions {
        flex-direction: column;
    }
}