/**
 * AI Lab Landing Page - Ultra-Modern Design
 * Inspired by aifiesta.ai but significantly enhanced
 */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --bg-dark: #0f172a;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --success: #10b981;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.landing-page {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent horizontal scroll only where needed */
.landing-page .container,
.landing-page .container-fluid,
.landing-page section {
    max-width: 100%;
}

.landing-page .row {
    max-width: 100%;
}

/* Specific overflow prevention for hero section only */
.hero-section {
    overflow-x: hidden;
}

.hero-section .container {
    overflow-x: hidden;
}

.landing-page .navbar {
    display: none !important;
}

/* Landing Navbar */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    transition: all 0.3s;
    box-sizing: border-box;
    overflow: hidden;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.landing-navbar .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.landing-brand img {
    height: 32px;
    width: auto;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link-landing {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-link-landing::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

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

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

.landing-auth-buttons {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.btn-landing-secondary {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-landing-primary {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

.btn-landing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-section .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-section .row {
    margin-left: 0;
    margin-right: 0;
}

.hero-section .col-lg-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15), transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white !important;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
    color: white !important;
}

.cta-secondary {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white !important;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: white !important;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.floating-card {
    animation: float 6s ease-in-out infinite;
    width: 100%;
    max-width: 100%;
}

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

.demo-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.window-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot-red { background: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.6); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.6); }
.dot-green { background: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.6); }

.window-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

.window-content {
    padding: 2rem;
    min-height: 350px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
    overflow: hidden;
}

.user-message {
    background: var(--gradient-primary);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    max-width: 80%;
    margin-left: auto;
    color: white;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    animation: slideInRight 0.6s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.model-responses {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 100%;
    overflow: hidden;
}

.model-response {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    animation: slideInLeft 0.6s;
    transition: all 0.3s;
}

.model-response:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.model-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.model-badge.gpt {
    background: rgba(16, 163, 127, 0.15);
    color: #10a37f;
    border: 1.5px solid rgba(16, 163, 127, 0.4);
}

.model-badge.claude {
    background: rgba(204, 142, 53, 0.15);
    color: #d4a574;
    border: 1.5px solid rgba(204, 142, 53, 0.4);
}

.model-badge.gemini {
    background: rgba(66, 133, 244, 0.15);
    color: #5b9df9;
    border: 1.5px solid rgba(66, 133, 244, 0.4);
}

.typing-animation {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1.3); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: #ffffff;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #64748b;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.4s;
}

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

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
}

/* Providers Section */
.providers-section {
    padding: 120px 0;
    background: #f8fafc;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.provider-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
}

.provider-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary);
    transition: all 0.4s;
}

.provider-card:hover .provider-logo {
    transform: scale(1.15) rotate(-5deg);
    background: var(--gradient-primary);
    color: white;
}

.provider-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.provider-models {
    font-size: 0.875rem;
    color: #64748b;
}

/* Use Cases */
.use-cases-section {
    padding: 120px 0;
    background: white;
}

.use-case-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s;
}

.use-case-card:hover {
    background: white;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
    transform: translateY(-10px);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.4s;
}

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

.use-case-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.use-case-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.use-case-list {
    list-style: none;
    padding: 0;
}

.use-case-list li {
    padding: 0.625rem 0 0.625rem 2rem;
    color: #64748b;
    position: relative;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: var(--gradient-hero);
}

.pricing-section .section-title,
.pricing-section .section-subtitle {
    color: white;
}

.pricing-section .section-subtitle {
    color: var(--text-muted);
}

.pricing-card-main {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 4rem 3rem;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-currency {
    font-size: 3rem;
    color: var(--text-muted);
    font-weight: 700;
}

.price-amount {
    font-size: 5.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pricing-features {
    margin-bottom: 3rem;
}

.pricing-feature {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.pricing-feature:hover {
    transform: translateX(8px);
}

.pricing-feature i {
    color: var(--success);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.pricing-cta .btn {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
}

.pricing-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: white;
}

.cta-card {
    background: var(--gradient-hero);
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.3), transparent 60%);
    animation: glowPulse 4s infinite;
    pointer-events: none;
    z-index: 1;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-button {
    padding: 1.25rem 3rem !important;
    background: white !important;
    color: var(--primary) !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3) !important;
    color: var(--primary) !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .landing-nav-links {
        display: none;
    }
    
    .landing-navbar {
        padding: 0.5rem 0;
    }
    
    .landing-brand img {
        height: 28px;
    }
    
    .brand-name {
        font-size: 1.125rem;
    }
    
    .btn-landing-secondary,
    .btn-landing-primary {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Disable ONLY hero-visual AOS animation on mobile to prevent overflow */
    .hero-visual[data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    
    /* Prevent row/column overflow */
    .hero-section .row {
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }
    
    .hero-section .col-lg-6 {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Visual Responsive - ONLY this component, not others */
    .hero-visual {
        margin-top: 3rem;
        transform: none !important; /* Disable parallax */
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .floating-card {
        animation: none !important; /* Disable float animation */
        max-width: 100%;
    }
    
    .demo-window {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .window-content {
        padding: 1.5rem;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .landing-navbar {
        padding: 0.4rem 0;
    }
    
    .navbar-content {
        padding: 0 1rem;
    }
    
    .landing-brand {
        gap: 0.375rem;
    }
    
    .landing-brand img {
        height: 22px;
    }
    
    .brand-name {
        font-size: 0.9375rem;
    }
    
    .landing-auth-buttons {
        gap: 0.375rem;
    }
    
    .btn-landing-secondary {
        padding: 0.35rem 0.5rem;
        font-size: 0.6875rem;
    }
    
    .btn-landing-primary {
        padding: 0.35rem 0.6rem;
        font-size: 0.6875rem;
    }
    
    .hero-section {
        padding: 70px 0 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Hero Visual Mobile Fix */
    .hero-visual {
        margin-top: 2rem;
        padding: 0 0.5rem;
        overflow: hidden;
        transform: none !important; /* Force disable transforms */
    }
    
    .floating-card {
        animation: none !important; /* Disable float animation on mobile */
        transform: none !important;
    }
    
    .demo-window {
        max-width: 100%;
        overflow: hidden;
    }
    
    .window-header {
        padding: 0.75rem 1rem;
    }
    
    .window-content {
        padding: 1rem;
        min-height: 280px;
    }
    
    .user-message {
        max-width: 90%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .model-response {
        padding: 0.625rem 0.875rem;
        flex-wrap: wrap;
    }
    
    .model-badge {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-main {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-card {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .cta-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .landing-navbar {
        padding: 0.375rem 0;
    }
    
    .navbar-content {
        padding: 0 0.75rem;
    }
    
    .landing-brand img {
        height: 20px;
    }
    
    .brand-name {
        font-size: 0.875rem;
    }
    
    .landing-auth-buttons {
        gap: 0.375rem;
    }
    
    .btn-landing-secondary {
        padding: 0.3rem 0.5rem;
        font-size: 0.6875rem;
    }
    
    .btn-landing-primary {
        padding: 0.3rem 0.5rem;
        font-size: 0.6875rem;
    }
    
    /* Extra Small Screen Hero Visual Fix */
    .hero-visual {
        padding: 0;
        margin-top: 2rem;
    }
    
    .demo-window {
        border-radius: 16px;
    }
    
    .window-header {
        padding: 0.625rem 0.875rem;
    }
    
    .window-title {
        font-size: 0.75rem;
    }
    
    .window-content {
        padding: 0.875rem;
        min-height: 250px;
    }
    
    .user-message {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 12px;
    }
    
    .message-text {
        font-size: 0.8125rem;
    }
    
    .model-response {
        padding: 0.5rem 0.75rem;
        gap: 0.75rem;
    }
    
    .model-badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.65rem;
    }
    
    .typing-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 414px) {
    .landing-navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-content {
        padding: 0;
    }
    
    .landing-brand img {
        height: 22px;
    }
    
    .brand-name {
        font-size: 0.9375rem;
    }
    
    .landing-auth-buttons {
        gap: 0;
    }
    
    /* Hide Get Started button on small screens */
    .btn-landing-primary {
        display: none !important;
    }
    
    /* Make Sign In button more prominent */
    .btn-landing-secondary {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }
    
    .btn-landing-secondary:hover {
        background: var(--gradient-primary);
        color: white;
    }
    
    /* Hero Visual for very small phones */
    .hero-visual {
        padding: 0;
        margin-top: 1.5rem;
    }
    
    .window-content {
        padding: 0.75rem;
        min-height: 230px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 375px) {
    .landing-navbar .container {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }
    
    .navbar-content {
        padding: 0;
    }
    
    .landing-brand {
        gap: 0.375rem;
    }
    
    .landing-brand img {
        height: 20px;
    }
    
    .brand-name {
        font-size: 0.875rem;
    }
    
    /* Keep only Sign In button */
    .btn-landing-primary {
        display: none !important;
    }
    
    .btn-landing-secondary {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }
    
    /* Hero Visual iPhone SE and similar */
    .hero-visual {
        padding: 0;
        margin-top: 1.5rem;
    }
    
    .window-header {
        padding: 0.5rem 0.75rem;
    }
    
    .window-content {
        padding: 0.625rem;
        min-height: 220px;
    }
    
    .user-message {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 10px;
    }
    
    .model-response {
        padding: 0.4rem 0.625rem;
        gap: 0.5rem;
    }
    
    .model-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.6rem;
    }
    
    .typing-dot {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 320px) {
    .landing-navbar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .navbar-content {
        padding: 0;
    }
    
    .landing-brand {
        gap: 0.3rem;
    }
    
    .landing-brand img {
        height: 18px;
    }
    
    .brand-name {
        font-size: 0.8125rem;
    }
    
    /* Keep only Sign In button */
    .btn-landing-primary {
        display: none !important;
    }
    
    .btn-landing-secondary {
        padding: 0.35rem 0.625rem;
        font-size: 0.6875rem;
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }
    
    /* Hero Visual for smallest screens */
    .hero-visual {
        padding: 0;
        margin-top: 1.5rem;
    }
    
    .window-header {
        padding: 0.5rem 0.625rem;
    }
    
    .window-dots {
        gap: 0.375rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .window-title {
        font-size: 0.7rem;
    }
    
    .window-content {
        padding: 0.5rem;
        min-height: 200px;
    }
    
    .user-message {
        padding: 0.5rem 0.625rem;
        font-size: 0.7rem;
        border-radius: 8px;
    }
    
    .model-response {
        padding: 0.375rem 0.5rem;
        gap: 0.5rem;
    }
    
    .model-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.55rem;
    }
    
    .typing-dot {
        width: 4px;
        height: 4px;
    }
}

