/* ============================================================
   InterviewAlpha — Landing Page Styles
   Palette: Black (#0a0a0a), Gold (#c9a84c), White (#f2f0eb)
   Typography: Inter (display + body)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --gold: #c9a84c;
    --gold-dim: #a88a3a;
    --gold-bright: #e0c56a;
    --white: #f2f0eb;
    --white-dim: #b0aea8;
    --serif: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ---------- Navigation ---------- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    transition: background 0.4s ease;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--gold);
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

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

.nav-link {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-cta {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 10px 28px;
    border: 1px solid var(--gold);
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
    background: transparent;
    color: var(--gold);
}

/* ---------- Hero ---------- */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 48px 80px;
    position: relative;
}

.hero-content {
    max-width: 860px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-title-line {
    display: block;
}

.gold-text {
    color: var(--gold);
    display: inline-block;
    min-width: 200px;
    position: relative;
}

.hero-subtitle {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--white-dim);
    max-width: 580px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 16px 48px;
    border: 1px solid var(--gold);
    transition: background 0.3s ease, color 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s ease forwards;
}

.hero-btn:hover {
    background: transparent;
    color: var(--gold);
}

.hero-rule {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.4;
}

/* ---------- Section Common ---------- */
.section-heading {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    text-align: center;
    letter-spacing: -0.015em;
    color: var(--white);
    margin-bottom: 60px;
}

/* ---------- Testimonials / Logos ---------- */
#testimonials {
    padding: 120px 48px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.logos-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.logo-cell {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-light);
    border: 1px solid rgba(201, 168, 76, 0.06);
    overflow: hidden;
    padding: 0;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.logo-cell:hover {
    border-color: rgba(201, 168, 76, 0.25);
    background: #141414;
}

.logo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(10%);
    transition: opacity 0.4s ease;
}

.logo-cell:hover img {
    opacity: 1;
}

/* ---------- Pricing ---------- */
#pricing {
    padding: 120px 48px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    position: relative;
    overflow: hidden;
}

/* Standalone pricing page overrides */
#pricing.pricing-page {
    padding-top: 160px;
    border-top: none;
    min-height: 100vh;
}

.pricing-page-header {
    text-align: center;
    margin-bottom: 72px;
}

.pricing-page-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s ease forwards;
}

.pricing-subtitle--page {
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s ease forwards;
}

.pricing-header-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 36px auto 0;
    opacity: 0.4;
}

.pricing-footer-note {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.pricing-footer-note p {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--white-dim);
    opacity: 0.6;
}

.pricing-status-banner {
    margin: 0 auto 24px;
    max-width: 760px;
    padding: 14px 18px;
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 18px;
    background: rgba(15, 15, 15, 0.92);
    color: rgba(248, 245, 238, 0.88);
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pricing-account-actions {
    display: flex;
    justify-content: center;
    margin: 0 auto 22px;
}

.pricing-account-actions form {
    margin: 0;
}

.pricing-portal-link {
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.96);
    color: rgba(248, 245, 238, 0.82);
    padding: 12px 18px;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pricing-portal-link:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 168, 76, 0.42);
    color: rgba(248, 245, 238, 0.96);
}

/* Atmospheric background glow */
#pricing::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-eyebrow {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--white-dim);
    text-align: center;
    max-width: 520px;
    margin: -28px auto 64px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- Card Base ---- */
.pricing-card {
    position: relative;
    background: var(--black-light);
    border: 1px solid rgba(242, 240, 235, 0.06);
    padding: 48px 40px 44px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(201, 168, 76, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ---- Featured Card (Yearly) ---- */
.pricing-card--featured {
    border-color: rgba(201, 168, 76, 0.25);
    background: linear-gradient(168deg, #141210 0%, #0e0d0b 100%);
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.06), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

.pricing-card--featured:hover {
    border-color: var(--gold-dim);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(201, 168, 76, 0.08);
}

/* ---- Ribbon ---- */
.pricing-ribbon {
    position: absolute;
    top: 20px;
    right: -34px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* ---- Header ---- */
.pricing-card-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(242, 240, 235, 0.06);
}

.pricing-plan-name {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.pricing-currency {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--white);
    position: relative;
    top: -0.55em;
}

.pricing-figure {
    font-family: var(--serif);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.035em;
}

.pricing-decimal {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--white-dim);
    position: relative;
    top: -0.55em;
}

.pricing-interval {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--white-dim);
    margin-left: 4px;
}

.pricing-note {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--white-dim);
    opacity: 0.7;
}

.pricing-note strong {
    color: var(--gold);
    font-weight: 600;
}

/* ---- Feature List ---- */
.pricing-features {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 300;
    color: var(--white-dim);
    padding: 10px 0;
    border-bottom: 1px solid rgba(242, 240, 235, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card:hover .pricing-features li {
    color: var(--white);
}

.feature-check {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover .feature-check {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold-dim);
}

/* ---- CTA Button ---- */
.pricing-cta {
    display: block;
    text-align: center;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(242, 240, 235, 0.2);
    padding: 16px 0;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pricing-cta:hover {
    border-color: var(--white);
    background: rgba(242, 240, 235, 0.06);
}

.pricing-cta--gold {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.pricing-cta--gold:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--black);
}

/* ---------- FAQ ---------- */
#faq {
    padding: 120px 48px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(242, 240, 235, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(242, 240, 235, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--white);
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: '';
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 24px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    transition: transform 0.35s ease;
}

.faq-icon::before {
    width: 16px;
    height: 1px;
    top: 50%;
    left: 0;
}

.faq-icon::after {
    width: 1px;
    height: 16px;
    left: 50%;
    top: 0;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 0 28px;
}

.faq-answer p {
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white-dim);
    max-width: 640px;
}

/* ---------- Personal Note ---------- */
#personal-note {
    padding: 120px 48px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.note-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.note-heading {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.note-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 40px;
    opacity: 0.5;
}

.note-body p {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--white-dim);
    margin-bottom: 20px;
    text-align: left;
}

.note-body p:last-of-type {
    margin-bottom: 0;
}

.note-sign {
    font-family: var(--serif);
    font-style: normal;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--gold) !important;
    margin-top: 36px !important;
    text-align: right !important;
    letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
#site-footer {
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 48px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--gold);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-family: var(--sans);
    font-size: 0.7rem;
    color: var(--white-dim);
    opacity: 0.4;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal utility — applied via JS */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Rotating Text Animation ---------- */
#rotating-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

.char-enter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charReveal 0.35s ease forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.char-exit {
    display: inline-block;
    animation: charFade 0.2s ease forwards;
}

@keyframes charFade {
    to {
        opacity: 0;
        transform: translateY(-14px);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .nav-inner {
        padding: 0 24px;
    }
    #hero {
        padding: 120px 24px 80px;
    }
    #testimonials, #pricing, #faq, #personal-note {
        padding: 80px 24px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .pricing-card {
        padding: 40px 32px 36px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        gap: 20px;
    }
    .nav-link {
        font-size: 0.68rem;
    }
    .nav-cta {
        padding: 8px 18px;
        font-size: 0.66rem;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }
    .pricing-figure {
        font-size: 3.4rem;
    }
    .pricing-card {
        padding: 36px 24px 32px;
    }
}
