/* ============================================
   Serra Ultimate - Premium Design System

   Color: Violet/Purple primary (unique, premium)
   Font: Space Grotesk (geometric, modern)
   Style: Glassmorphism + subtle glow
   ============================================ */

:root {
    /* Colors - Emerald/Mint Palette */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;

    --white-soft: #f8fffe;
    --mint: #a7f3d0;

    /* Neutral - Zinc */
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-850: #1f1f23;
    --zinc-900: #18181b;
    --zinc-925: #121214;
    --zinc-950: #09090b;

    /* Semantic */
    --bg-primary: var(--zinc-950);
    --bg-secondary: var(--zinc-900);
    --bg-card: rgba(24, 24, 27, 0.6);
    --bg-card-hover: rgba(39, 39, 42, 0.6);

    --text-primary: #ffffff;
    --text-secondary: var(--zinc-300);
    --text-muted: var(--zinc-400);

    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(16, 185, 129, 0.3);

    /* Gradients - Emerald to Light Emerald */
    --gradient-primary: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-400) 50%, var(--emerald-200) 100%);
    --gradient-text: linear-gradient(135deg, var(--emerald-400) 0%, var(--emerald-300) 50%, var(--emerald-100) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --container-sm: 800px;
    --section-padding: 120px;

    /* Effects */
    --blur-sm: 8px;
    --blur-md: 20px;
    --blur-lg: 40px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
    --shadow-glow-lg: 0 0 80px rgba(16, 185, 129, 0.4);

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.4s;
    --duration-slow: 0.8s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: var(--emerald-200);
}

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

::-webkit-scrollbar-track {
    background: var(--zinc-950);
}

::-webkit-scrollbar-thumb {
    background: var(--zinc-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zinc-600);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: var(--container-sm);
}

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

.text-emerald {
    color: var(--emerald-400);
}

.mt-2 {
    margin-top: 8px;
}

/* ============================================
   Background Ambience
   ============================================ */
.bg-ambience {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.3);
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.2);
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    top: 50%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.15);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 1;
}

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

/* ============================================
   Cursor Glow
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all var(--duration-base) var(--ease-out);
}

.nav.scrolled .nav-inner {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border-color: var(--border-default);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 12px 20px;
    background: transparent;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: var(--zinc-950);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    color: var(--text-primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    color: var(--zinc-950);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow), var(--shadow-sm);
}

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

.btn-glass {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    backdrop-filter: blur(var(--blur-sm));
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* ============================================
   Section Base
   ============================================ */
.section {
    position: relative;
    z-index: 10;
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--emerald-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 600px;
}

.section-header.centered .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    z-index: 10;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--emerald-300);
    margin-bottom: 32px;
}

.badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--emerald-500);
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0; }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-headline .text-gradient {
    display: block;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-default);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    display: flex;
    align-items: baseline;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--emerald-400);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-default);
    align-self: center;
}

/* ============================================
   Phone Mockup
   ============================================ */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 2000px;
    max-width: 100%;
    overflow: hidden;
}

.phone-wrapper {
    position: relative;
    transform-style: preserve-3d;
    max-width: 100%;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.3) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.phone {
    position: relative;
    width: 320px;
    height: 660px;
    background: var(--zinc-925);
    border-radius: 48px;
    border: 6px solid var(--zinc-800);
    box-shadow:
        var(--shadow-lg),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--zinc-950);
    border-radius: 20px;
    z-index: 20;
}

.chat-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    padding: 50px 16px 12px;
    background: rgba(24, 24, 27, 0.9);
    backdrop-filter: blur(var(--blur-sm));
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-default);
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-user {
    flex: 1;
}

.chat-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--emerald-400);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
}

.chat-body {
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    overflow: hidden;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Chat animation when visible */
.chat-body.animated .message,
.chat-body.animated .typing-indicator {
    opacity: 1;
    transform: translateY(0);
}

.chat-body.animated .message:nth-child(1) { transition-delay: 0.3s; }
.chat-body.animated .message:nth-child(2) { transition-delay: 0.6s; }
.chat-body.animated .message:nth-child(3) { transition-delay: 0.9s; }
.chat-body.animated .typing-indicator { transition-delay: 1.2s; }

.message-in {
    align-self: flex-start;
    background: var(--zinc-800);
    color: var(--zinc-200);
    border-bottom-left-radius: 6px;
    border: 1px solid var(--border-default);
}

.message-out {
    align-self: flex-end;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-100);
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.message-time {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
}

.message-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
}

.message-meta .message-time {
    margin-top: 0;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.typing-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--zinc-950);
    font-size: 14px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--zinc-800);
    border-radius: 20px;
    border: 1px solid var(--border-default);
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--zinc-500);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* ============================================
   Logos Section
   ============================================ */
.logos {
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
    border-top: 1px solid var(--border-default);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Marquee Container */
.logos-marquee {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

/* Scrolling Track */
.logos-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

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

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

/* Logo Item */
.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--zinc-500);
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: all var(--duration-fast);
    padding: 32px 28px;
    background: var(--zinc-900);
    border-radius: 14px;
    border: 1px solid var(--border-default);
}

.logo-item iconify-icon {
    color: var(--emerald-500);
    opacity: 0.7;
    font-size: 22px;
}

.logo-item:hover {
    color: var(--text-primary);
    border-color: var(--emerald-500);
    background: rgba(16, 185, 129, 0.05);
}

.logo-item:hover iconify-icon {
    opacity: 1;
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
    background: var(--bg-primary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 20px;
    border: 1px solid var(--border-default);
    transition: all var(--duration-base) var(--ease-out);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: transform var(--duration-fast) var(--ease-spring);
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
}

.problem-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.problem-icon-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
}

.problem-icon-gray {
    background: rgba(161, 161, 170, 0.1);
    color: var(--zinc-400);
}

.problem-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    background: linear-gradient(180deg, var(--zinc-900) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-default);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.steps-line {
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald-500), transparent);
    opacity: 0.3;
}

.step {
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered animation when parent is animated */
.steps.animated .step {
    opacity: 1;
    transform: translateY(0);
}

.steps.animated .step:nth-child(2) { transition-delay: 0.15s; }
.steps.animated .step:nth-child(3) { transition-delay: 0.3s; }
.steps.animated .step:nth-child(4) { transition-delay: 0.45s; }
.steps.animated .step:nth-child(5) { transition-delay: 0.6s; }

.step-number {
    position: relative;
    z-index: 10;
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--emerald-500);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.step-content {
    padding: 24px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 20px;
    border: 1px solid var(--border-default);
    transition: all var(--duration-base) var(--ease-out);
}

.step:hover .step-content {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zinc-800);
    border-radius: 16px;
    color: var(--emerald-400);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ============================================
   Features Bento Grid
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 24px;
}

.bento-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 24px;
    border: 1px solid var(--border-default);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.bento-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.bento-large {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bento-wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bento-full {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 48px;
}

.bento-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.bento-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.bento-text {
    flex: 1;
}

.bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zinc-800);
    border-radius: 14px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 400px;
}

.bento-demo {
    margin-top: 24px;
}

.lang-switch {
    display: inline-flex;
    background: var(--zinc-800);
    border-radius: 8px;
    padding: 4px;
}

.lang {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.lang.active {
    background: var(--gradient-primary);
    color: var(--zinc-950);
}

.bento-visual {
    flex-shrink: 0;
}

.calendar-demo {
    width: 240px;
    background: var(--zinc-900);
    border-radius: 12px;
    border: 1px solid var(--border-default);
    padding: 16px;
    font-size: 12px;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.cal-synced {
    color: var(--emerald-400);
}

.cal-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cal-slot {
    padding: 10px 12px;
    background: var(--zinc-800);
    border-radius: 8px;
    color: var(--text-muted);
}

.cal-slot.booked {
    opacity: 0.5;
    text-decoration: line-through;
}

.cal-slot.selected {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-300);
}

/* Chat Demo - Bento Visual */
.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 260px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 90%;
}

.chat-bubble p {
    margin: 0;
    color: inherit;
}

.chat-bubble-in {
    align-self: flex-start;
    background: var(--zinc-800);
    color: var(--zinc-200);
    border-bottom-left-radius: 6px;
    border: 1px solid var(--border-default);
}

.chat-bubble-out {
    align-self: flex-end;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-100);
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Journey Demo - Bento Visual */
.journey-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--zinc-900);
    border-radius: 12px;
    border: 1px solid var(--border-default);
}

.journey-node {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.journey-trigger {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-300);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.journey-message {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.journey-wait {
    background: rgba(249, 115, 22, 0.15);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.journey-ai {
    background: rgba(168, 85, 247, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.journey-line {
    width: 20px;
    height: 2px;
    background: var(--zinc-700);
    position: relative;
}

.journey-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--zinc-700);
}

/* Workflow Demo - Journey Automation Visual (n8n style) */
.workflow-demo {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 24px 32px;
    background: var(--zinc-900);
    border-radius: 16px;
    border: 1px solid var(--border-default);
    flex-shrink: 0;
    overflow: hidden;
}

.workflow-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

/* Sequential glow animation - nodes light up one by one */
.workflow-node::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workflow-trigger::before {
    background: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: node-glow 4s ease-in-out infinite;
    animation-delay: 0s;
}

.workflow-delay::before {
    background: rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    animation: node-glow 4s ease-in-out infinite;
    animation-delay: 1s;
}

.workflow-action::before {
    background: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    animation: node-glow 4s ease-in-out infinite;
    animation-delay: 2s;
}

.workflow-condition::before {
    background: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    animation: node-glow 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes node-glow {
    0%, 20%, 100% { opacity: 0; }
    5%, 15% { opacity: 1; }
}

.workflow-trigger {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-300);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.workflow-delay {
    background: rgba(249, 115, 22, 0.15);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.workflow-action {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.workflow-condition {
    background: rgba(168, 85, 247, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Animated connection lines with flowing dot */
.workflow-line {
    width: 40px;
    height: 2px;
    background: var(--zinc-700);
    position: relative;
    overflow: visible;
}

/* Flowing dot animation */
.workflow-line::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
    top: 50%;
    left: -3px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--emerald-400);
    animation: flow-dot 4s ease-in-out infinite;
}

/* Different timing for each line */
.workflow-line:nth-of-type(2)::before { animation-delay: 0s; }
.workflow-line:nth-of-type(4)::before { animation-delay: 1s; }
.workflow-line:nth-of-type(6)::before { animation-delay: 2s; }

@keyframes flow-dot {
    0%, 20% { left: -3px; opacity: 0; }
    25% { opacity: 1; }
    45% { left: calc(100% - 3px); opacity: 1; }
    50%, 100% { left: calc(100% - 3px); opacity: 0; }
}

/* Arrow at end of line */
.workflow-line::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: var(--zinc-600);
}

/* ============================================
   Dashboard Preview
   ============================================ */
.dashboard-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--zinc-900) 50%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-default);
}

.dashboard-wrapper {
    position: relative;
}

.dashboard {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--zinc-925);
    border-radius: 16px;
    border: 1px solid var(--border-default);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Mobile: Dashboard in phone frame */
@media (max-width: 768px) {
    .dashboard-wrapper {
        display: flex;
        justify-content: center;
    }

    .dashboard-wrapper::before {
        content: '';
        position: absolute;
        inset: -20px;
        background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
        filter: blur(40px);
        z-index: -1;
    }

    .dashboard {
        width: 300px;
        max-width: 100%;
        border-radius: 36px;
        border: 6px solid var(--zinc-800);
        box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .dashboard-bar {
        height: 36px;
        padding: 0 12px;
    }

    .window-dots {
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dashboard-url {
        font-size: 9px;
    }

    .dashboard-body {
        height: auto;
        flex-direction: column;
        padding: 16px;
    }

    .dash-sidebar {
        display: none;
    }

    .dash-main {
        padding: 0;
    }

    .dash-header {
        margin-bottom: 16px;
    }

    .dash-header h3 {
        font-size: 14px;
    }

    .dash-date {
        font-size: 10px;
        padding: 4px 8px;
    }

    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    .dash-stat {
        padding: 12px;
        border-radius: 10px;
    }

    .dash-stat-label {
        font-size: 10px;
    }

    .dash-stat-value {
        font-size: 20px;
    }

    .dash-stat-change {
        font-size: 9px;
    }

    .dash-stat.chart {
        display: none;
    }

    .dash-table {
        border-radius: 10px;
    }

    .table-header {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr auto;
        padding: 10px 12px;
        gap: 8px;
    }

    .col-lead {
        gap: 8px;
    }

    .lead-avatar {
        width: 24px;
        height: 24px;
        font-size: 9px;
        border-radius: 6px;
    }

    .col-lead span {
        font-size: 11px;
    }

    .status-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .lead-score {
        display: none;
    }
}

.dashboard-bar {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    background: var(--zinc-900);
    border-bottom: 1px solid var(--border-default);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: rgba(239, 68, 68, 0.3); border: 1px solid rgba(239, 68, 68, 0.5); }
.dot-yellow { background: rgba(234, 179, 8, 0.3); border: 1px solid rgba(234, 179, 8, 0.5); }
.dot-green { background: rgba(34, 197, 94, 0.3); border: 1px solid rgba(34, 197, 94, 0.5); }

.dashboard-url {
    margin-left: auto;
    font-size: 11px;
    font-family: monospace;
    color: var(--zinc-600);
}

.dashboard-body {
    display: flex;
    height: 480px;
}

.dash-sidebar {
    width: 220px;
    padding: 20px;
    background: rgba(24, 24, 27, 0.5);
    border-right: 1px solid var(--border-default);
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.dash-logo iconify-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--zinc-950);
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-muted);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.dash-nav-item:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.dash-nav-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.dash-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--emerald-500);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: var(--zinc-950);
}

.dash-main {
    flex: 1;
    padding: 24px;
    overflow: hidden;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dash-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.dash-date {
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 12px;
    background: var(--zinc-800);
    border-radius: 8px;
    border: 1px solid var(--border-default);
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid var(--border-default);
}

.dash-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dash-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    margin-top: 6px;
}

.dash-stat-change.positive {
    color: #4ade80;
}

.dash-stat.chart {
    display: flex;
    flex-direction: column;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
    margin-top: 8px;
}

.mini-chart .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--emerald-400) 0%, var(--emerald-600) 100%);
    border-radius: 3px;
    opacity: 0.8;
}

.dash-table {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px solid var(--border-default);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 80px;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-default);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 80px;
    gap: 16px;
    padding: 14px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-default);
    transition: background var(--duration-fast);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.col-lead {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lead-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.lead-avatar.purple { background: rgba(147, 51, 234, 0.2); color: #c084fc; }
.lead-avatar.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.lead-avatar.pink { background: rgba(236, 72, 153, 0.2); color: #f472b6; }

.col-lead span {
    font-size: 13px;
    color: var(--text-secondary);
}

.status-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
}

.status-badge.hot {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-300);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.warm {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.lead-score {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 20px;
    border: 1px solid var(--border-default);
    transition: all var(--duration-base) var(--ease-out);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--emerald-400);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-default);
}

.author-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 24px;
    border: 1px solid var(--border-default);
    transition: all var(--duration-base) var(--ease-out);
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card.popular {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--zinc-950);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-price .period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-card .btn {
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features iconify-icon {
    color: var(--emerald-400);
    font-size: 18px;
}

.pricing-card.popular .pricing-features li {
    color: var(--text-secondary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-md));
    border-radius: 16px;
    border: 1px solid var(--border-default);
    overflow: hidden;
    transition: border-color var(--duration-fast);
}

.faq-item[open] {
    border-color: var(--border-glow);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: background var(--duration-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    color: var(--text-muted);
    transition: transform var(--duration-base) var(--ease-out);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-card {
    position: relative;
    padding: 60px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-lg));
    border-radius: 32px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-content > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-left: 4px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(9, 9, 11, 0.6);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--duration-fast);
}

.form-group input::placeholder {
    color: var(--zinc-600);
}

.form-group input:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.cta-form .btn {
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--zinc-600);
    margin-top: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 10;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-default);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--duration-fast);
}

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

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

.footer-bottom p {
    font-size: 13px;
    color: var(--zinc-600);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 20px;
    transition: color var(--duration-fast);
}

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

/* ============================================
   Animations (data-animate)
   ============================================ */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="scale-up"] {
    transform: scale(0.95);
}

[data-animate="message"] {
    transform: translateY(20px);
}

[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

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

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

    .steps-line {
        display: none;
    }

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

    .bento-large,
    .bento-wide,
    .bento-full {
        grid-column: span 2;
    }

    .bento-full {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .workflow-demo {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .workflow-line {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-headline {
        font-size: 36px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px 48px;
    }

    .stat-divider {
        display: none;
    }

    .phone {
        width: 280px;
        height: 580px;
        transform: none;
    }

    .phone:hover {
        transform: none;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .bento-large,
    .bento-wide,
    .bento-full {
        grid-column: span 1;
        flex-direction: column;
    }

    .bento-visual {
        width: 100%;
    }

    .calendar-demo {
        width: 100%;
    }

    .workflow-demo {
        padding: 16px;
    }

    .workflow-node {
        padding: 8px 12px;
        font-size: 11px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-price .amount {
        font-size: 40px;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
