/* styles/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #007782;
    --primary-light: #00a8b5;
    --accent: #ff0055;
    --dark-bg: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* BACKGROUND MESH */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 119, 130, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: meshFloat 20s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 10px);
    }
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 119, 130, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 130, 0.5);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 50px;
    /* Added top padding for fixed nav */
    position: relative;
    z-index: 1;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.loaded {
    transition-delay: 0s !important;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    /* Removed duplicative animation/opacity to fix flash */
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* MOCKUP CONTAINER */
.mockup-container {
    margin-top: 60px;
    perspective: 1000px;
}

.mockup-window {
    width: 900px;
    max-width: 95vw;
    height: 500px;
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg);
    transition: transform 0.5s;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.mockup-window:hover {
    transform: rotateX(0deg);
}


/* FEATURES GRID */
.features {
    padding: 100px 5%;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.15s ease-out;
    /* Snappier response */
    will-change: transform;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Lighter touch */
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Add subtle depth */
}

.icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background: rgba(0, 119, 130, 0.2);
    border-radius: 12px;
    color: var(--primary-light);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PRICING */
.pricing {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.price-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--primary);
    padding: 50px;
    border-radius: 24px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 119, 130, 0.15);
    transition: 0.3s ease;
    will-change: transform;
}

.price-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 119, 130, 0.3);
    border-color: var(--primary-light);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: white;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.check {
    color: var(--primary-light);
}

/* FOOTER */
footer {
    padding: 50px 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVE UTILITIES */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simplest mobile menu for now: hidden or just stacked */
    }

    /* Better Mobile Nav: Just stack them vertically or hide secondary links? 
       For this quick polish, we'll keep it simple or make it scrollable. */
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-left: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .feature-row {
        flex-direction: column !important;
        text-align: center;
    }

    .feature-row h2 {
        text-align: center !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 columns on mobile */
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        /* 1 column on very small screens */
        text-align: center !important;
    }

    .mockup-window {
        height: 300px;
    }
}

/* New Utility Classes to replace Inline Styles */
.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    gap: 30px;
}