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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: radial-gradient(ellipse at center, #0a1128 0%, #000000 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Star Field Background - Optimized */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    will-change: opacity;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Glow Effects - Optimized */
.glow-effect {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.glow-1 {
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.2) 0%, rgba(66, 133, 244, 0) 70%);
}

.glow-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, rgba(0, 255, 0, 0) 70%);
}

.glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - Updated with Poppins Extra Bold and White Color */
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 900; /* Extra Bold */
    color: #ffffff; /* White color */
    letter-spacing: 0.5px;
}

/* Footer Logo - Updated with Poppins Extra Bold and White Color */
.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900; /* Extra Bold */
    color: #ffffff; /* White color */
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Buttons - Optimized */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    will-change: transform;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

/* Hero Section - Optimized */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #4285f4, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-blue {
    color: #4285f4;
    font-weight: bold;
}

.highlight-green {
    color: #00ff00;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    color: #cccccc;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: #00ff00;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem {
    background: rgba(255, 0, 0, 0.05);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    will-change: transform;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 82, 82, 0.2);
}

.problem-card i {
    font-size: 3rem;
    color: #ff5252;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(66, 133, 244, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #4285f4;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #cccccc;
}

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

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
}

.comparison-card.highlight {
    border: 2px solid #4285f4;
    box-shadow: 0 0 30px rgba(66, 133, 244, 0.3);
    transform: scale(1.05);
}

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

.comparison-card.highlight:hover {
    transform: translateY(-5px) scale(1.05);
}

.best-choice {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4285f4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 0.5rem;
}

.period {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.features-list .fa-check {
    color: #00ff00;
}

.features-list .fa-times {
    color: #ff5252;
}

.annual-cost {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.savings-highlight {
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

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

.savings-item {
    padding: 1rem;
}

.savings-item .label {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.savings-item .amount {
    font-size: 1.5rem;
    font-weight: bold;
}

.amount.positive {
    color: #00ff00;
}

.amount.negative {
    color: #ff5252;
}

/* Use Cases Section */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    will-change: transform;
}

.use-case-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: rgba(66, 133, 244, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon i {
    font-size: 1.25rem;
    color: #4285f4;
}

.use-case-card h3 {
    font-size: 1.25rem;
}

.use-case-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.chat-example {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    max-width: 80%;
    font-size: 0.875rem;
}

.message.user {
    background: #262d31;
    margin-left: auto;
}

.message.bot {
    background: #056162;
}

.business-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.business-tag {
    background: rgba(66, 133, 244, 0.2);
    color: #4285f4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: rgba(66, 133, 244, 0.05);
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #4285f4, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    will-change: transform;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.cta-card i {
    font-size: 3rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.special-offer {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(0, 255, 0, 0.2));
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.special-offer h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.special-offer .highlight {
    color: #4285f4;
    font-weight: bold;
    font-size: 1.5em;
}

.final-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.benefit i {
    color: #00ff00;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    color: #cccccc;
    margin-bottom: 2rem;
}

/* WhatsApp Float Button - Optimized */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    will-change: transform;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* Fade In Animation - Optimized */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

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

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .whatsapp-float-btn {
        animation: none;
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-card.highlight {
        transform: none;
    }
    
    .comparison-card.highlight:hover {
        transform: translateY(-5px);
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .final-benefits {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Reduce star count on mobile for performance */
    .star:nth-child(n+51) {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .footer-logo {
        font-size: 1.75rem;
    }
}

/* Custom focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* GPU acceleration for better performance */
.hero-title,
.feature-card,
.problem-card,
.comparison-card,
.use-case-card,
.cta-card,
.whatsapp-float-btn {
    transform: translateZ(0);
}

/* Optimize images and backgrounds */
.glow-effect {
    contain: layout style paint;
}

/* Critical rendering path optimization */
.hero-content {
    contain: layout style;
}

