/* ===================================
   BipoChat - Modern Landing Page Styles
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --walnut: #8B4513;
    --walnut-dark: #654321;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-feature: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.navbar .container > .language-selector {
    order: 2;
}

.navbar .container > .mobile-menu-toggle {
    order: 3;
}

.navbar .container > .nav-menu {
    order: 1;
    flex: 1;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
}

.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.btn-cta-small {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-cta-small::after {
    display: none;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-3xl) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badges span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Chat Demo Animation */
.hero-visual {
    perspective: 1000px;
}

.chat-demo {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-2xl);
    transform: rotateY(-5deg);
    transition: var(--transition);
}

.chat-demo:hover {
    transform: rotateY(0deg);
}

.chat-bubble {
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
    position: relative;
}

.chat-bubble.left {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    margin-right: var(--spacing-xl);
}

.chat-bubble.right {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    margin-left: var(--spacing-xl);
    flex-direction: row-reverse;
}

.chat-bubble.received {
    animation-delay: 0.3s;
}

.chat-bubble:nth-child(2) { animation-delay: 0.6s; }
.chat-bubble:nth-child(3) { animation-delay: 1.2s; }
.chat-bubble:nth-child(4) { animation-delay: 1.8s; }

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

.chat-bubble .flag {
    font-size: 1.5rem;
}

.chat-bubble p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.chat-bubble .arrow {
    position: absolute;
    right: -30px;
    font-size: 1.2rem;
    color: var(--primary);
    animation: bounce 1s infinite;
}

.chat-bubble.right .arrow {
    left: -30px;
    right: auto;
    transform: scaleX(-1);
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.steps {
    margin-top: var(--spacing-3xl);
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -80px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step-reverse {
    grid-template-columns: 300px 1fr 80px;
}

.step-reverse .step-number {
    order: 3;
}

.step-reverse .step-content {
    order: 2;
    text-align: right;
}

.step-reverse .step-visual {
    order: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.message-box {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 200px;
}

.message-box.received {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.message-box .flag {
    font-size: 1.5rem;
}

.message-box p {
    margin: 0;
    font-weight: 500;
    color: var(--text-primary);
}

.ai-process {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.ai-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.process-lines {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.process-lines span {
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: pulse 1.5s ease-in-out infinite;
}

.process-lines span:nth-child(1) {
    width: 80%;
    animation-delay: 0s;
}

.process-lines span:nth-child(2) {
    width: 60%;
    animation-delay: 0.2s;
}

.process-lines span:nth-child(3) {
    width: 90%;
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.pricing-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.badge {
    position: absolute;
    top: -15px;
    right: var(--spacing-lg);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--spacing-xl);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: var(--spacing-xs);
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.features-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-secondary);
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
    justify-content: center;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-hero);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-primary-large {
    padding: 1.25rem 3rem;
    background: white;
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .step {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-md);
    }
    
    .step-visual {
        display: none;
    }
    
    .step-reverse {
        grid-template-columns: 60px 1fr;
    }
    
    .step-reverse .step-content {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .navbar .container {
        gap: var(--spacing-sm);
    }
    
    .navbar .container > .language-selector {
        order: 2;
        position: relative;
    }
    
    .navbar .container > .mobile-menu-toggle {
        order: 3;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        order: 4;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-sm) 0;
        font-size: 1.1rem;
    }
    
    .btn-cta-small {
        width: 100%;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    /* Language selector stays visible on mobile */
    .lang-btn {
        font-size: 1.2rem;
        padding: var(--spacing-xs);
    }
    
    .lang-dropdown {
        position: fixed;
        top: 70px;
        right: 0;
        left: auto;
        margin-top: 0;
        max-width: 200px;
        z-index: 1002;
    }
    
    .lang-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .language-selector:hover .lang-dropdown {
        opacity: 0;
        visibility: hidden;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .trust-badges {
        gap: var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    .trust-badges span {
        font-size: 0.8rem;
    }
    
    .chat-demo {
        padding: var(--spacing-sm);
        transform: none;
    }
    
    .chat-bubble {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .chat-bubble.left {
        margin-right: 0;
    }
    
    .chat-bubble.right {
        margin-left: 0;
    }
    
    .chat-bubble .arrow {
        display: none;
    }
    
    .chat-bubble .flag {
        font-size: 1.25rem;
    }
    
    .chat-bubble p {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features {
        padding: var(--spacing-xl) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .how-it-works {
        padding: var(--spacing-xl) 0;
    }
    
    .steps {
        margin-top: var(--spacing-xl);
    }
    
    .step {
        margin-bottom: var(--spacing-xl);
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .step::after {
        left: 30px;
        top: 60px;
        bottom: -60px;
    }
    
    .pricing {
        padding: var(--spacing-xl) 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-xl);
    }
    
    .pricing-card {
        padding: var(--spacing-md);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card h3 {
        font-size: 1.25rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .cta {
        padding: var(--spacing-xl) 0;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .btn-primary-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .chat-bubble {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .chat-bubble .flag {
        font-size: 1rem;
    }
    
    .chat-bubble p {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .step::after {
        left: 25px;
        top: 50px;
        bottom: -50px;
    }
    
    .pricing-card h3 {
        font-size: 1.1rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta p {
        font-size: 0.9rem;
    }
    
    .btn-primary-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   Language Selector
   =================================== */

.language-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.lang-btn:hover {
    background: var(--bg-secondary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-xs);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    pointer-events: none;
}

.language-selector:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-btn:hover + .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    position: relative;
    z-index: 1002;
}

.lang-option:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.lang-option.active {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 1.5rem;
}

.lang-option span:not(.flag) {
    color: var(--text-primary);
}

.current-lang {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Chat name styling */
.chat-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.chat-bubble.left .chat-name {
    text-align: left;
}

.chat-bubble.right .chat-name {
    text-align: right;
}

/* Logo maior no hero section */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: url('../images/BipoChat_logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}
