/* ======================================================
   KIDARA LANDING PAGE — Premium Health-Tech Design
   ====================================================== */

/* ========== DESIGN TOKENS ========== */
:root {
    /* Colors */
    --primary: #6f4fc6;
    --primary-light: #8b5cf6;
    --primary-dark: #5b3da8;
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-900: #4c1d95;

    --accent: #14b8a6;
    --accent-light: #2dd4bf;
    --accent-dark: #0d9488;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --container-max: 1200px;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6f4fc6 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-hero: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 30%, #e0e7ff 60%, #f0fdfa 100%);
    --gradient-ai: linear-gradient(160deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
    --gradient-cta: linear-gradient(160deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #6f4fc6 0%, #14b8a6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(111, 79, 198, 0.3);
    --shadow-card: 0 4px 24px rgba(111, 79, 198, 0.08);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== 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);
    color: var(--gray-800);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.15s;
}

.animate-delay-2 {
    transition-delay: 0.3s;
}

.animate-delay-3 {
    transition-delay: 0.45s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(111, 79, 198, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(111, 79, 198, 0.5), 0 0 60px rgba(111, 79, 198, 0.2);
    }
}

@keyframes blob-move {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 15px) scale(0.95);
    }

    75% {
        transform: translate(15px, 25px) scale(1.03);
    }
}

/* ========== UTILITY CLASSES ========== */
.gradient-text,
.hero-gradient-text,
.ai-gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: #c4b5fd;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(111, 79, 198, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(111, 79, 198, 0.35);
}

.btn-glow {
    animation: pulse-glow 3s infinite;
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-full) !important;
    font-size: 13px !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
}

.nav-mobile-menu a {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    padding: 8px 0;
}

.nav-cta-mobile {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    text-align: center;
    margin-top: 8px;
}

.nav-mobile-menu.open {
    display: flex;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: flex;
    }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 140px 0 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob-move 20s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.2);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.15);
    bottom: 0;
    left: -50px;
    animation-delay: -7s;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.1);
    top: 40%;
    left: 40%;
    animation-delay: -14s;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
}

.hero-trust-icon {
    font-size: 16px;
}

/* Hero Phone Mockup */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hero-phone-frame {
    width: 280px;
    background: #f5f5f7;
    border-radius: 36px;
    padding: 10px;
    border: 2px solid #e0e0e5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(255, 255, 255, 0.6) inset, inset 0 0 8px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.hero-phone-notch {
    width: 100px;
    height: 24px;
    background: #f5f5f7;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-phone-screen {
    width: 100%;
    border-radius: 26px;
    margin-top: -12px;
}

.hero-phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(111, 79, 198, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-wave {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 0;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-phone-frame {
        width: 220px;
    }
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    padding: 60px 0;
    background: #fff;
}

.proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
}

.proof-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.proof-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}

.proof-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

@media (max-width: 600px) {
    .proof-divider {
        display: none;
    }

    .proof-grid {
        gap: 32px;
    }
}

/* ========== PROBLEM / SOLUTION ========== */
.problem-section {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.problem-card,
.solution-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    position: relative;
}

.problem-card {
    background: #fff;
    border: 1px solid var(--gray-200);
}

.solution-card {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.problem-emoji,
.solution-emoji {
    font-size: 40px;
    margin-bottom: 16px;
}

.problem-card h3,
.solution-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.problem-card p,
.solution-card p {
    font-size: 15px;
    line-height: 1.7;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.9);
}

.solution-card strong {
    color: #fff;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FEATURES ========== */
.features-section {
    padding: var(--section-pad) 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.35s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-200);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--icon-bg, var(--gray-100));
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Staggered animation */
.feature-card:nth-child(1) {
    transition-delay: calc(0 * 0.07s);
}

.feature-card:nth-child(2) {
    transition-delay: calc(1 * 0.07s);
}

.feature-card:nth-child(3) {
    transition-delay: calc(2 * 0.07s);
}

.feature-card:nth-child(4) {
    transition-delay: calc(3 * 0.07s);
}

.feature-card:nth-child(5) {
    transition-delay: calc(4 * 0.07s);
}

.feature-card:nth-child(6) {
    transition-delay: calc(5 * 0.07s);
}

.feature-card:nth-child(7) {
    transition-delay: calc(6 * 0.07s);
}

.feature-card:nth-child(8) {
    transition-delay: calc(7 * 0.07s);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== AI SECTION ========== */
.ai-section {
    padding: var(--section-pad) 0;
    background: var(--gradient-ai);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.ai-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.3);
    top: -100px;
    right: -100px;
}

.ai-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(20, 184, 166, 0.2);
    bottom: -80px;
    left: -50px;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.ai-gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.ai-desc strong {
    color: #fff;
}

.ai-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.ai-check {
    width: 24px;
    height: 24px;
    background: rgba(45, 212, 191, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--accent-light);
    flex-shrink: 0;
}

/* AI Phone */
.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-phone-frame {
    width: 260px;
    background: #e8e8ed;
    border-radius: 36px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    position: relative;
}

.ai-phone-notch {
    width: 100px;
    height: 24px;
    background: #e8e8ed;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.ai-phone-screen {
    width: 100%;
    border-radius: 26px;
    margin-top: -12px;
}

@media (max-width: 768px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .ai-visual {
        order: -1;
    }

    .ai-phone-frame {
        width: 220px;
    }
}

/* ========== HOW IT WORKS ========== */
.how-section {
    padding: var(--section-pad) 0;
    background: #fff;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.35s var(--ease);
}

.step-card:hover {
    background: #fff;
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-connector::after {
    content: '→';
    font-size: 20px;
    color: var(--primary-200);
    font-weight: 700;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .step-connector {
        width: 100%;
        height: 30px;
    }

    .step-connector::after {
        content: '↓';
    }
}

/* ========== SCREENSHOTS ========== */
.screenshots-section {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

.screenshots-carousel {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
    transition: all 0.35s var(--ease);
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-phone {
    width: 180px;
    background: #f5f5f7;
    border: 2px solid #e0e0e5;
    border-radius: 28px;
    padding: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 0 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.screenshot-phone img {
    width: 100%;
    border-radius: 22px;
}

.screenshot-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    margin-top: 14px;
}

@media (max-width: 600px) {
    .screenshots-carousel {
        gap: 16px;
    }

    .screenshot-phone {
        width: 140px;
    }
}

/* ========== PRIVACY ========== */
.privacy-section {
    padding: var(--section-pad) 0;
    background: #fff;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.35s var(--ease);
}

.privacy-card:hover {
    background: #fff;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.privacy-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.privacy-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.privacy-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (max-width: 500px) {
    .privacy-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-pad) 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(167, 139, 250, 0.3);
    top: -200px;
    left: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.2);
    bottom: -150px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary-700);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: none;
}

.cta-section .btn-primary:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px !important;
    color: var(--gray-500) !important;
    line-height: 1.5;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ========== REALISTIC iPHONE MOCKUP ========== */
.iphone-frame {
    width: 280px;
    background: linear-gradient(145deg, #e2e2e7 0%, #d1d1d6 50%, #c7c7cc 100%);
    border-radius: 44px;
    padding: 10px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.18),
        0 15px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}
.iphone-frame::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 100px;
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, #c7c7cc, #b0b0b5, #c7c7cc);
    border-radius: 0 2px 2px 0;
}
.iphone-frame::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 80px;
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #c7c7cc, #b0b0b5, #c7c7cc);
    border-radius: 2px 0 0 2px;
    box-shadow: 0 40px 0 0 #bbb;
}
.iphone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 4px;
    background: #fff;
    border-radius: 34px 34px 0 0;
    position: relative;
    z-index: 4;
}
.iphone-time {
    font-size: 14px;
    font-weight: 700;
    color: #1c1c1e;
    letter-spacing: 0.3px;
}
.iphone-dynamic-island {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1c1c1e;
    border-radius: 20px;
}
.iphone-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1c1c1e;
}
.iphone-screen {
    background: #fff;
    border-radius: 0 0 34px 34px;
    overflow: hidden;
}
.iphone-screenshot {
    width: 100%;
    display: block;
}
@media (max-width: 768px) {
    .iphone-frame { width: 240px; }
}

/* iPhone Frame Variants */
.iphone-frame--dark {
    background: linear-gradient(145deg, #3a3a3c 0%, #2c2c2e 50%, #1c1c1e 100%);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}
.iphone-frame--dark::before {
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e, #3a3a3c);
}
.iphone-frame--dark::after {
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e, #3a3a3c);
    box-shadow: 0 40px 0 0 #2c2c2e;
}
.iphone-status-bar--dark {
    background: #f8f8f8;
}

/* Mini iPhone for Screenshot Carousel */
.iphone-frame--mini {
    width: 180px;
    border-radius: 32px;
    padding: 7px;
}
.iphone-frame--mini::before,
.iphone-frame--mini::after {
    display: none;
}
.iphone-status-bar--mini {
    padding: 5px 14px 2px;
    border-radius: 25px 25px 0 0;
}
.iphone-status-bar--mini .iphone-time {
    font-size: 10px;
}
.iphone-dynamic-island--mini {
    width: 55px;
    height: 14px;
    top: 4px;
}
.iphone-frame--mini .iphone-screen {
    border-radius: 0 0 25px 25px;
}

/* ========== REALISTIC iPHONE MOCKUP ========== */
.iphone-frame {
    width: 280px;
    background: #1a1a1a;
    border-radius: 48px;
    padding: 8px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(80, 80, 80, 0.5);
}

/* Side buttons */
.iphone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 110px;
    width: 3px;
    height: 44px;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a, #2a2a2a);
    border-radius: 0 3px 3px 0;
}

.iphone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 85px;
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a, #2a2a2a);
    border-radius: 3px 0 0 3px;
    box-shadow: 0 38px 0 0 #1a1a1a, 0 68px 0 0 #1a1a1a;
}

.iphone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px 6px;
    background: #fff;
    border-radius: 40px 40px 0 0;
    position: relative;
    z-index: 4;
}

.iphone-time {
    font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1e;
    letter-spacing: 0.5px;
}

.iphone-dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 22px;
    background: #1c1c1e;
    border-radius: 20px;
    z-index: 5;
}

.iphone-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1c1c1e;
}

.iphone-screen {
    background: #fff;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.iphone-screenshot {
    width: 100%;
    display: block;
}

.hero-phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111, 79, 198, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* iPhone dark variant (for dark sections) */
.iphone-frame--dark {
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(100, 100, 100, 0.3);
}

.iphone-status-bar--dark {
    background: #f8f8f8;
}

/* Mini iPhone for Screenshot Carousel */
.iphone-frame--mini {
    width: 220px;
    border-radius: 36px;
    padding: 6px;
}

.iphone-frame--mini::before,
.iphone-frame--mini::after {
    display: none;
}

.iphone-status-bar--mini {
    padding: 7px 16px 3px;
    border-radius: 30px 30px 0 0;
}

.iphone-status-bar--mini .iphone-time {
    font-size: 11px;
}

.iphone-dynamic-island--mini {
    width: 56px;
    height: 16px;
    top: 6px;
}

.iphone-frame--mini .iphone-screen {
    border-radius: 0 0 30px 30px;
}

@media (max-width: 768px) {
    .iphone-frame { width: 240px; border-radius: 40px; }
    .iphone-frame--mini { width: 160px; border-radius: 28px; padding: 5px; }
    .iphone-status-bar { border-radius: 32px 32px 0 0; }
    .iphone-screen { border-radius: 0 0 32px 32px; }
    .iphone-frame--mini .iphone-status-bar { border-radius: 23px 23px 0 0; }
    .iphone-frame--mini .iphone-screen { border-radius: 0 0 23px 23px; }
    .iphone-dynamic-island--mini { width: 44px; height: 12px; }
}

/* Problem/Solution Icons */
.problem-icon-wrapper,
.solution-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.problem-icon-svg {
    animation: problemPulse 2.5s ease-in-out infinite;
}

@keyframes problemPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.12); opacity: 1; }
}

.solution-icon-svg {
    animation: sparkleRotate 4s linear infinite;
}

@keyframes sparkleRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Premium problem card */
.problem-card {
    background: linear-gradient(145deg, #fff 0%, #fef9f8 100%) !important;
    border: 1px solid rgba(231, 76, 60, 0.1) !important;
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.06), 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.1), 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* Premium solution card */
.solution-card {
    background: linear-gradient(135deg, #6f4fc6 0%, #8b5cf6 40%, #a78bfa 100%) !important;
    box-shadow: 0 12px 40px rgba(111, 79, 198, 0.3), 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(111, 79, 198, 0.35), 0 6px 16px rgba(0,0,0,0.12) !important;
}

/* Premium feature badges in AI section */
.ai-premium-feature {
    opacity: 0.95;
}

.ai-check-premium {
    font-size: 14px !important;
}

.ai-premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* AI section disclaimer */
.ai-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    font-style: italic;
}

/* Fix AI phone vertical centering */
.ai-visual {
    align-items: center;
}

/* Center AI section screenshot from top */
.ai-section .iphone-screenshot {
    object-fit: cover;
    object-position: center top;
    height: 500px;
}

/* Fix AI phone horizontal balance - push right to match left text margin */
.ai-section .ai-visual {
    justify-content: flex-end;
}

/* ========== AI AGENT SECTION ========== */
.agent-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.agent-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.agent-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

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

.agent-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin: 16px 0 20px;
}

.agent-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.agent-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.agent-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.agent-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.15);
}

.agent-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 12px;
}

.agent-feature-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.agent-feature-item p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin: 0;
}

.agent-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .agent-grid {
        grid-template-columns: 1fr;
    }
    .agent-visual {
        order: -1;
    }
    .agent-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CTA EMAIL FORM (Pre-launch) ========== */
.cta-email-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 24px auto 16px;
}

.cta-email-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.cta-email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-email-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .cta-email-form {
        flex-direction: column;
    }
}
