/* Leo Assistant Landing Page CSS Design System */

:root {
    /* Theme Colors - Yellowish Milky White System */
    --bg-primary: #FFFDF9;
    --bg-secondary: #FFF9EC;
    --bg-tertiary: #FFF5DD;
    --text-primary: #1A1816;
    --text-secondary: #5C554E;
    --text-muted: #8E847A;
    --border-light: rgba(224, 203, 178, 0.4);
    --border-medium: rgba(206, 180, 149, 0.6);
    
    /* Bubble Palette (Google-style vibrant pastels/colors) */
    --color-pink: #FF8BA7;
    --color-blue: #70C1B3;
    --color-yellow: #FFE066;
    --color-purple: #A78BFA;
    --color-cyan: #90E0EF;
    --color-orange: #F2A65A;
    --color-green: #A3E635;

    /* Interface gradients */
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
    --gradient-primary-hover: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    --gradient-glass: rgba(255, 255, 255, 0.45);
    --shadow-premium: 0 20px 40px -15px rgba(184, 161, 131, 0.25);
    --shadow-hover: 0 30px 60px -10px rgba(184, 161, 131, 0.4);
    --shadow-soft: 0 10px 30px -10px rgba(184, 161, 131, 0.15);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Animation speeds */
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Text Highlights & Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Background bubble container */
#bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.22;
    will-change: transform;
    animation: floatBubble 25s infinite linear;
}

@keyframes floatBubble {
    0% {
        transform: translate3d(0, 100vh, 0) scale(0.8) rotate(0deg);
    }
    50% {
        transform: translate3d(0, 50vh, 0) scale(1.2) rotate(180deg);
    }
    100% {
        transform: translate3d(0, -20vh, 0) scale(0.8) rotate(360deg);
    }
}

/* Layout Elements */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 253, 249, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo-icon {
    font-size: 1.75rem;
    transition: transform var(--transition-fast);
}

.logo-group:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Button UI System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all var(--transition-medium);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

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

.btn-secondary:hover {
    background: #FFEBB8;
    transform: translateY(-2px);
}

.btn-light {
    background: #FFF;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
}

.w-full {
    width: 100%;
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.glow-effect:hover::before {
    left: 150%;
}

/* Sections Configuration */
section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(254, 243, 199, 0.75);
    border: 1px solid var(--border-medium);
    border-radius: 9999px;
    color: #D97706;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 2rem;
}

.tagline-typing {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.typing-text {
    color: #EA580C;
    font-weight: 600;
    border-right: 2px solid #EA580C;
    white-space: nowrap;
    overflow: hidden;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    from, to { border-color: transparent }
    50% { border-color: #EA580C; }
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

/* Hero Visual Mockup */
.hero-visual-wrapper {
    margin-top: 5rem;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.hero-glow-back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(254, 243, 199, 0.6) 0%, rgba(255, 253, 249, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.chat-frame-mockup {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: transform var(--transition-slow);
    cursor: pointer;
}

.chat-frame-mockup:hover {
    transform: translateY(-5px);
}

.chat-header {
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.dot-group {
    display: flex;
    gap: 0.4rem;
}

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

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.chat-title {
    margin-left: 2rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.status-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: pulseAnimate 2s infinite;
}

@keyframes pulseAnimate {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.chat-body-static {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-bubble {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--text-primary);
    color: #FFF;
    border-bottom-right-radius: 4px;
}

.chat-bubble.leo {
    align-self: flex-start;
    background: #FFF;
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.memory-tag {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #FDF4FF;
    border: 1px solid #F0D0FF;
    color: #A855F7;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Stats / Social Proof Section */
.stats-section {
    padding: 3rem 2rem;
    background: rgba(255, 249, 236, 0.5);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
}

.border-left-right {
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #EA580C;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Section Header Utility */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.75px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-medium);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-hover);
}

.feature-icon, .feature-image {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #1A1816;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Bubble colors on features */
.bubble-pink { background: var(--color-pink); }
.bubble-blue { background: var(--color-blue); }
.bubble-yellow { background: var(--color-yellow); }
.bubble-green { background: var(--color-green); }
.bubble-purple { background: var(--color-purple); }
.bubble-cyan { background: var(--color-cyan); }
.bubble-orange { background: var(--color-orange); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-wide {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* How It Works Section */
.how-it-works-section {
    background-color: rgba(255, 245, 221, 0.25);
    border-radius: 24px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.step-card {
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(234, 88, 12, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Interactive Demo Section */
.demo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-chat-container {
    width: 100%;
    max-width: 800px;
    margin-top: 1rem;
}

.chat-mockup {
    background: #FFF;
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.chat-mockup-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.window-buttons {
    display: flex;
    gap: 0.4rem;
}

.window-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-medium);
}

.window-title {
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.window-reset-btn {
    margin-left: auto;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding: 0.25rem;
}

.window-reset-btn:hover {
    color: var(--text-primary);
    transform: rotate(45deg);
}

.chat-mockup-messages {
    height: 380px;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--bg-primary);
}

.chat-mockup-input {
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
}

.input-placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.send-btn-mock {
    background: var(--text-primary);
    color: #FFF;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.demo-map-card {
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-soft);
    margin-top: 0.5rem;
}

.demo-map-img {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
}

.map-pin-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #EF4444;
    animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
    0% { transform: translate(-50%, -40%); }
    100% { transform: translate(-50%, -60%); }
}

.demo-map-details {
    margin-top: 0.5rem;
}

.demo-map-name {
    font-weight: 700;
    font-size: 0.85rem;
}

.demo-map-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Integrations Display */
.integrations-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.integrations-display {
    width: 100%;
    height: 450px;
    position: relative;
    margin-top: 3rem;
}

.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 3px solid var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.core-logo {
    font-size: 2.5rem;
}

.core-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.integration-node {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
    background: #FFF;
    z-index: 5;
    transition: transform var(--transition-medium);
    cursor: pointer;
    overflow: hidden;
}

.integration-node img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.integration-node:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-hover);
}

/* Node circle placement */
.icon-node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.icon-node-2 { top: 30%; left: 80%; }
.icon-node-3 { top: 70%; left: 75%; }
.icon-node-4 { top: 80%; left: 50%; transform: translateX(-50%); }
.icon-node-5 { top: 70%; left: 15%; }
.icon-node-6 { top: 30%; left: 10%; }

.constellation-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.const-line {
    stroke: var(--border-medium);
    stroke-width: 2;
    stroke-dasharray: 6, 6;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

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

.pricing-card {
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform var(--transition-medium);
    cursor: pointer;
}

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

.premium-card {
    border: 2px solid #EA580C;
    background: rgba(255, 250, 240, 0.7);
    box-shadow: var(--shadow-premium);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.pricing-card-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-suffix {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features li i {
    width: 18px;
    height: 18px;
    color: #EA580C;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--border-medium);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-icon {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-soft);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium) ease-out;
}

.faq-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 2rem;
}

.cta-card {
    background: linear-gradient(135deg, #FFF5DD 0%, #FFE8B8 100%);
    border: 1px solid var(--border-medium);
    border-radius: 24px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

/* Footer Section */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 5rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.brand-tagline {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    gap: 5rem;
}

.footer-links-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-column a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    text-decoration: underline;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }
    
    .navbar {
        background: #FFFDF9;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: 0;
        width: 100%;
        height: calc(100vh - 4.5rem);
        background: #FFFDF9;
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transform: translateY(-120%);
        transition: transform var(--transition-medium);
        border-top: 1px solid var(--border-light);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-cta {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .border-left-right {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
        padding: 1.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .integrations-display {
        height: 500px;
    }
    
    .center-core {
        width: 100px;
        height: 100px;
    }
    
    .core-logo { font-size: 2rem; }
    
    .integration-node {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .icon-node-2 { left: 70%; }
    .icon-node-3 { left: 65%; }
    .icon-node-5 { left: 5%; }
    .icon-node-6 { left: 2%; }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2.25rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-links-group {
        flex-wrap: wrap;
        gap: 3rem;
    }
}

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

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Indicator Bubble Animation */
.typing-indicator-bubble {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1.25rem;
    min-width: 60px;
    height: 36px;
    box-sizing: border-box;
}

.dot-typing {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.dot-typing:nth-child(1) {
    animation-delay: -0.32s;
}

.dot-typing:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1.0);
    }
}

