@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
}

:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338ca;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --dark-bg: #111827;
    --max-width: 1200px;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid #e5e7eb;
}

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 20px;
}

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

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 10px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lang-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-color: #e5e7eb;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px; /* Adjust based on actual logo aspect ratio */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
}

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

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--dark-bg);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(79, 70, 229, 0.1);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.trust-badge i {
    color: var(--secondary-color);
}

.mockup-container {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25), 0 8px 24px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px -15px rgba(79, 70, 229, 0.35), 0 12px 30px -10px rgba(0, 0, 0, 0.15);
}

.hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(1.05) brightness(1.02);
    transition: transform 0.6s ease;
}

.mockup-container:hover .hero-banner-img {
    transform: scale(1.03);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 60%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.hero-banner-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 40px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 6px 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Integrate feature imagery with the background */
.highlight-image {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    padding: 12px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
}

.mockup-screen {
    text-align: center;
    animation: pulse 3s infinite;
}

.mockup-screen i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.connection-status {
    font-weight: 700;
    color: #10b981;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.speed-graph span {
    display: inline-block;
    width: 6px;
    background-color: var(--secondary-color);
    margin: 0 2px;
    border-radius: 3px;
    animation: equalizer 1s infinite ease-in-out;
}

.speed-graph span:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.speed-graph span:nth-child(2) { height: 35px; animation-delay: 0.2s; }
.speed-graph span:nth-child(3) { height: 50px; animation-delay: 0.3s; }
.speed-graph span:nth-child(4) { height: 30px; animation-delay: 0.4s; }
.speed-graph span:nth-child(5) { height: 45px; animation-delay: 0.5s; }

@keyframes equalizer {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

@keyframes pulse {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.02); }
    100% { transform: scale(0.98); }
}

/* Trust Section */
.trust-section {
    padding: 40px 0;
    background-color: var(--white);
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.trust-section p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.5;
    font-weight: 700;
    font-size: 1.5rem;
    color: #9ca3af;
}

/* Features Grid */
.features {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark-bg);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Feature Highlight */
.feature-highlight {
    padding: 100px 0;
}

.highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.highlight-row.reverse {
    direction: rtl;
}

.highlight-row.reverse .highlight-text {
    direction: ltr;
}

.highlight-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.highlight-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list i {
    color: #10b981;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

.platform-icons {
    display: flex;
    gap: 20px;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    position: relative;
    border: 1px solid #e5e7eb;
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 10px;
}

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

.price-card > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.price-card ul {
    margin-bottom: 30px;
}

.price-card ul li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.price-card ul li i {
    color: var(--primary-color);
}

.price-card .btn-primary, .price-card .btn-outline {
    width: 100%;
}

/* Download CTA */
.download-cta {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #9ca3af;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-col p {
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.2rem;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .highlight-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .trust-badge {
        justify-content: center;
        margin-top: 20px;
    }
    
    .highlight-row.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: -1; /* Behind navbar */
        padding-top: 80px;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        z-index: 900;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-bg);
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 280px;
    }

    .nav-actions .btn-text {
        margin-right: 0;
        font-size: 1.1rem;
    }
    
    .lang-btn {
        margin-right: 0;
        font-size: 1.1rem;
        padding: 12px 24px;
        background-color: var(--bg-light);
        width: 100%;
        justify-content: center;
        border: 1px solid #e5e7eb;
    }

    .nav-actions .btn-primary {
        width: 100%;
        padding: 16px 0;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mockup-container {
        /* Allow height to adjust automatically */
        height: auto;
    }
    
    .hero-banner-logo {
        top: 12px;
        left: 12px;
        height: 28px;
        padding: 5px 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    body.no-scroll {
        overflow: hidden;
    }
}
