:root {
    --primary: #1a73e8;
    /* Professional Blue */
    --primary-dark: #1557b0;
    --primary-glow: rgba(26, 115, 232, 0.4);
    --secondary: #00d2ff;
    /* Azure from the logo arrow */
    --secondary-dark: #00b0d8;
    --accent: #00d2ff;
    /* Changed from green to azure blue */
    --bg-main: #060912;
    /* Deeper, more sophisticated space blue */
    --bg-card: rgba(14, 22, 45, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 80px;
    --rounded-xl: 24px;
    --rounded: 12px;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 25px -5px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px var(--primary-glow);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    color: #ffffff !important;
    /* Force high-contrast white */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(6, 9, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    /* Reduced from 130px to prevent blocking */
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
    /* CSS Trick to remove white background on dark theme */
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    mix-blend-mode: screen;
    transition: all 0.3s ease;
}

.header.scrolled .logo-img {
    height: 50px;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav a {
    color: rgba(255, 255, 255, 0.75);
    /* Brighter navigation */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: #ffffff;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    /* Reduced for smaller header */
    position: relative;
    overflow: hidden;
}

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

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

.badge {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 550px;
    font-weight: 400;
}

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

.hero-stats {
    display: none;
    /* Replaced by trusted-by */
}

.trusted-by {
    margin-top: 60px;
}

.trusted-by p {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.logos {
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 0.5;
}

.logo-mono {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 4px solid #333;
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #e5ddd5 url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background: var(--primary);
    /* Wazflo Blue */
    color: white;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-avatar {
    width: 35px;
    height: 35px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.s-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.s-status {
    font-size: 0.7rem;
    opacity: 0.8;
}

.chat-area {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #333;
}

.bot-msg {
    background: white;
    align-self: flex-start;
}

.user-msg {
    background: rgba(26, 115, 232, 0.15);
    /* Light blue background for user messages */
    align-self: flex-end;
}

.catalog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
}

.catalog-img {
    height: 100px;
    background: url('https://images.unsplash.com/photo-1610030469668-93510ec67845?auto=format&fit=crop&q=80&w=400');
    background-size: cover;
}

.catalog-details {
    padding: 8px;
}

.catalog-details strong {
    display: block;
    font-size: 0.85rem;
}

.catalog-details span {
    font-size: 0.75rem;
    color: #666;
}

.catalog-btn {
    width: 100%;
    padding: 8px;
    background: #f0f2f5;
    border: none;
    color: var(--primary);
    /* Blue button text */
    font-weight: bold;
    font-size: 0.8rem;
    border-top: 1px solid #eee;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.card-1 {
    top: 20%;
    right: -20px;
    animation: float 6s infinite ease-in-out;
}

.card-2 {
    bottom: 20%;
    left: -20px;
    animation: float 6s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features */
.features {
    padding: 100px 0;
    background: rgba(2, 12, 27, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

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

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

.feature-card {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--rounded-xl);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    background: rgba(23, 31, 50, 0.9);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-primary {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
}

.icon-blue {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.icon-purple {
    background: rgba(163, 114, 255, 0.1);
    color: #a372ff;
}

.icon-orange {
    background: rgba(255, 145, 0, 0.1);
    color: #ff9100;
}

.icon-red {
    background: rgba(255, 61, 0, 0.1);
    color: #ff3d00;
}

.icon-cyan {
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
}

.feature-card h3 {
    margin-bottom: var(--spacing-md);
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

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

.pricing-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(26, 115, 232, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: var(--spacing-lg) 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.price-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.price-features li i {
    color: var(--primary);
    width: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-info {
    padding: 60px;
    background: linear-gradient(135deg, var(--bg-main), var(--bg-card));
}

.contact-info p {
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
}

.contact-methods {
    margin-top: var(--spacing-xl);
}

.method {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.method i {
    color: var(--primary);
}

.contact-form {
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* Slightly lighter for better contrast */
    border: 1.5px solid var(--border);
    padding: 14px 18px;
    border-radius: 12px;
    color: #ffffff !important;
    /* Force high contrast white */
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.2);
}

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    border-radius: 24px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

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

.cta-card p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    max-width: 250px;
}

.footer-links h4 {
    margin-bottom: var(--spacing-lg);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s;
}

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

.footer-newsletter h4 {
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    flex: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(6, 9, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        gap: 32px;
        backdrop-filter: blur(20px);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 1.5rem;
    }

    .mobile-nav-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .header-container {
        padding: 0 24px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 3.5rem;
        width: 100%;
    }

    .hero-visual {
        margin-top: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn-lg {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px 24px;
    }

    .contact-form {
        padding: 40px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
    }
}