/* EASLIV VERDE - NEW HOME THEME (Based on Signup Design) */
/* Font import moved to HTML head for performance */

:root {
    /* Colors */
    --primary-blue: #0066FF;
    --primary-gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --secondary-blue: #eef2ff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);

    /* Shapes */
    --radius-lg: 30px;
    --radius-pill: 50px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- BLOBS BACKGROUND (Global) --- */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    background: var(--primary-gradient);
    opacity: 0.25;
    /* visible but not overpowering */
    filter: blur(60px);
    /* Soft organic feel */
    mix-blend-mode: normal;
    /* Standard blending to avoid dark patches */
}

/* Dynamic placement for landing page vibe */
.blob-1 {
    top: -10%;
    left: -10%;
    width: 800px;
    height: 800px;
    border-radius: 40% 60% 70% 30%;
    animation: morph 20s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 60% 40% 30% 70%;
    animation: morph 25s infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: #e0e7ff;
    border-radius: 50%;
    opacity: 0.4;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 40% 60% 30% 50%;
        transform: rotate(20deg);
    }
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    /* Above blobs */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

/* Gradient Text */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- COMPONENTS --- */

/* Glass Card */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -5px rgba(0, 102, 255, 0.1);
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -10px rgba(0, 102, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 102, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- NAVIGATION --- */
.navbar {
    position: sticky;
    top: 20px;
    /* Floating */
    margin: 20px auto 0;
    max-width: 1200px;
    width: 90%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    /* Ensure logo stays above menu if needed */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    gap: 10px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.wave-separator .shape-fill {
    fill: #f8fafc;
    /* Light gray to transition into next section */
}


/* --- SECTIONS --- */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    /* Offset for nav */
}

/* Ensure hero content creates a readable context if blobs overlap */
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);

    /* CSS Animation for immediate LCP visibility */
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-visual {
    /* CSS Animation for immediate visibility */
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    /* Slight delay */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s;
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #E0F2FE;
    color: var(--primary-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

/* Testimonial */
.testimonial-section {
    padding: 60px 0;
}

.large-quote-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 40px;
    /* Extra round */
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.large-quote-card h2 {
    color: white;
    margin-bottom: 30px;
}

.quote-author {
    margin-top: 30px;
    font-weight: 600;
}

.quote-author span {
    display: block;
    font-weight: 400;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.pricing-card li i {
    color: var(--primary-blue);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-blue);
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 40px;
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h4 {
    margin-bottom: 20px;
}

.footer a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-blue);
}

/* --- RESPONSIVE --- */
/* --- RESPONSIVE FIXES (COMPREHENSIVE) --- */
@media(max-width: 900px) {

    /* Navbar */
    .navbar {
        padding: 12px 20px;
        width: 95%;
        justify-content: space-between;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
        /* Hide desktop nav and buttons */
    }

    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
    }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        /* Stack vertically */
        padding-top: 40px;
        text-align: center;
        /* Center align text for mobile */
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        order: 1;
        /* Text first */
        padding: 20px;
    }

    .hero-visual {
        order: 2;
        /* Visual second */
        margin-bottom: 30px;
    }

    h1 {
        font-size: 2.2rem;
        /* Smaller heading */
    }

    /* Grids */
    .grid-2,
    .features-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 30px;
    }

    /* Pricing */
    .pricing-card.popular {
        transform: scale(1);
        /* Reset scale */
        border-width: 2px;
    }

    /* Testimonial */
    .large-quote-card {
        padding: 40px 20px;
    }

    .large-quote-card h2 {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
        text-align: left;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    /* Global Padding */
    section {
        padding: 60px 0;
    }

    .glass-card {
        padding: 24px;
        /* Reduced padding on cards */
    }
}

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    /* Fallback */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
    border-radius: 0 0 30px 30px;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-link {
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}