/* ================================================
   index.html — Page-specific styles
   Requires: v8.css
   ================================================ */

/* ======================== */
/* Hero Zone                */
/* ======================== */

.hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 6rem;
    position: relative;
    overflow: visible;
    background:
        radial-gradient(ellipse 80% 60% at 30% 25%, rgba(37, 72, 130, 0.035) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 75% 70%, rgba(13, 148, 136, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.hero-fade {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, #edf0f6 100%);
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    content: 'advenire';
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(8rem, 14vw, 16rem);
    font-weight: 700;
    color: rgba(37, 72, 130, 0.02);
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
}

.hero-content {
    position: relative;
    max-width: 680px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.scroll-hint {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: drift 2.5s ease-in-out infinite;
    z-index: 3;
}

.scroll-hint svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

@keyframes drift {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.65; }
}

/* ======================== */
/* Dictionary Bar           */
/* ======================== */

.dict-bar {
    background: #edf0f6;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}

.dict-word {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.dict-pos {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dict-phonetic {
    font-family: 'Courier New', monospace;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dict-sep {
    color: rgba(21, 26, 46, 0.12);
    font-size: 0.85rem;
}

.dict-def {
    color: var(--text-secondary);
    font-size: 0.83rem;
}

.dict-def .num {
    font-weight: 600;
    color: var(--text-muted);
}

/* ======================== */
/* Zone 2: Problem          */
/* ======================== */

.zone-problem {
    background: linear-gradient(180deg, #edf0f6 0%, var(--bg) 100%);
    padding: 5.5rem 2rem;
}

.zone-problem-inner {
    max-width: 900px;
    margin: 0 auto;
}

.zone-problem h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.zone-problem p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.zone-problem p:last-child {
    margin-bottom: 0;
}

/* ======================== */
/* Zone 3: Services         */
/* ======================== */

.zone-services {
    background: var(--bg);
    padding: 5.5rem 2rem;
    position: relative;
}

.zone-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.zone-services-inner {
    max-width: 900px;
    margin: 0 auto;
}

.zone-services h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.zone-services > .zone-services-inner > p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(13, 148, 136, 0.15));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    border-color: var(--border-accent);
    box-shadow: 0 8px 30px rgba(21, 26, 46, 0.06);
    transform: translateY(-3px);
}

.service-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.service-item h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.service-item p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ======================== */
/* Zone 4: Pivot (on index, */
/* padding is 5.5rem)       */
/* ======================== */

.hero ~ .zone-pivot {
    padding: 5.5rem 2rem;
}

/* ======================== */
/* Zone 5: Blueprint        */
/* ======================== */

.zone-blueprint {
    background: linear-gradient(180deg, #e8ecf4 0%, var(--bg) 50%, var(--bg) 100%);
    padding: 5.5rem 2rem;
}

.zone-blueprint-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.zone-blueprint h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.zone-blueprint > .zone-blueprint-inner > p {
    color: var(--text-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 1.5rem);
    right: calc(16.67% + 1.5rem);
    height: 2px;
    background: linear-gradient(90deg,
        rgba(13, 148, 136, 0.1),
        rgba(13, 148, 136, 0.25),
        rgba(13, 148, 136, 0.1));
}

.step {
    text-align: center;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.08);
    border: 2px solid rgba(13, 148, 136, 0.22);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    position: relative;
}

.step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ======================== */
/* Zone 6: About            */
/* ======================== */

.zone-about {
    background: var(--bg);
    padding: 5.5rem 2rem;
    position: relative;
}

.zone-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--border);
}

.zone-about-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.about-photo {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(21, 26, 46, 0.08);
}

.about-text h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-text .actions {
    margin-top: 1.5rem;
}

/* ======================== */
/* Credibility Bar          */
/* ======================== */

.credibility-bar {
    background: var(--bg);
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
}

.credibility-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.cred-item {
    text-align: center;
}

.cred-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.cred-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-top: 0.15rem;
}

/* ======================== */
/* Zone 7: Pricing          */
/* ======================== */

.zone-pricing {
    background: var(--bg-alt);
    padding: 5.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.zone-pricing-inner {
    max-width: 900px;
    margin: 0 auto;
}

.zone-pricing h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.zone-pricing > .zone-pricing-inner > p {
    color: var(--text-secondary);
}

.pricing-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.pricing-point {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.pricing-point h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: var(--accent);
}

.pricing-point p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ======================== */
/* Zone 8: CTA override     */
/* (index uses 5.5rem pad)  */
/* ======================== */

.hero ~ .zone-cta {
    padding: 5.5rem 2rem;
}

/* ======================== */
/* Responsive: 900px        */
/* ======================== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps-grid::before {
        display: none;
    }

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

    .about-photo {
        max-width: 260px;
        margin: 0 auto;
    }

    .pricing-points {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ======================== */
/* Responsive: 600px        */
/* ======================== */

@media (max-width: 600px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
        min-height: 65vh;
    }

    .zone-problem,
    .zone-services,
    .zone-blueprint,
    .zone-about,
    .zone-pricing {
        padding: 4rem 1.5rem;
    }

    .dict-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .dict-sep {
        display: none;
    }

    .credibility-inner {
        gap: 2rem;
    }

    .cred-num {
        font-size: 1.35rem;
    }
}
