/* styles.css - Emerald & Sapphire glassmorphism design */
:root {
    --emerald: #10B981;
    --sapphire: #0EA5E9;
    --dark: #0F172A;
    --light: #F8FAFC;
    --glass: rgba(255,255,255,0.15);
    --shadow: 0 8px 32px rgba(16,185,129,0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); color: var(--dark); line-height: 1.7; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.header-curved {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16,185,129,0.2);
}

.curve-bg {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: var(--emerald);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: 0.1;
}

.nav-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem; font-weight: 900; color: var(--emerald);
}

.nav-items {
    display: flex; gap: 2.5rem; list-style: none;
}

.nav-items a {
    color: var(--dark); text-decoration: none; font-weight: 600;
    transition: color 0.3s;
}

.nav-items a:hover { color: var(--emerald); }

.nav-toggle { display: none; font-size: 1.8rem; cursor: pointer; }

/* Hero */
.intro-hero {
    background: linear-gradient(135deg, var(--emerald), var(--sapphire));
    color: white; padding: 180px 0 120px; text-align: center; position: relative;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 320%22><path fill=%22%23ffffff%22 fill-opacity=%220.1%22 d=%22M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,170.7C960,203,1056,245,1152,245.3C1248,245,1344,203,1392,181.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z%22></path></svg>') bottom no-repeat;
}

.intro-hero h1 {
    font-size: 3.8rem; margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.4rem; max-width: 800px; margin: 0 auto 2rem; opacity: 0.95;
}

.start-btn {
    background: white; color: var(--emerald); padding: 1.2rem 3rem;
    border-radius: 50px; font-weight: 700; text-decoration: none;
    font-size: 1.2rem; transition: all 0.3s;
}

.start-btn:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(16,185,129,0.3); }

/* Sections */
.why-section, .selection-guide, .trends-2025, .resources {
    padding: 100px 0;
}

h2 {
    font-size: 3rem; text-align: center; margin-bottom: 3rem; color: var(--dark);
}

/* Agency Grid */
.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    padding: 80px 0;
}

.agency-block {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16,185,129,0.1);
}

.agency-block:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(16,185,129,0.25);
}

.agency-block.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(14,165,233,0.05));
}

.rank {
    position: absolute; top: -18px; left: 30px;
    background: var(--emerald); color: white; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 900;
}

.agency-block h3 {
    font-size: 1.8rem; margin: 1rem 0; color: var(--emerald);
}

.tagline { font-weight: 600; color: var(--sapphire); margin-bottom: 1rem; }

.visit {
    display: inline-block; margin-top: 1.5rem; color: var(--emerald); font-weight: 700;
}

/* Steps */
.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}

.step {
    background: var(--glass); padding: 2rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.3);
}

/* Trends */
.trend-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;
}

.trend {
    background: white; padding: 2rem; border-radius: 16px; text-align: center;
    box-shadow: var(--shadow);
}

/* CTA */
.final-cta {
    background: linear-gradient(135deg, var(--emerald), var(--sapphire));
    color: white; text-align: center; padding: 100px 0; border-radius: 32px; margin: 100px 0;
}

.download-cta {
    background: white; color: var(--emerald); padding: 1.5rem 4rem;
    border-radius: 50px; font-size: 1.3rem; font-weight: 900; text-decoration: none;
    display: inline-block; margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--dark); color: white; padding: 3rem 0; text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-items { display: none; }
    .nav-toggle { display: block; }
    .intro-hero h1 { font-size: 2.8rem; }
    .agencies-grid { grid-template-columns: 1fr; }
}