/* ===== DatyaVidya Landing Page Styles ===== */

/* ── Navbar ─────────────────────────────────────────── */
.landing-nav {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: .65rem 0;
}
.landing-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.landing-brand-mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--gold), #c9953a);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; color: var(--teal);
    letter-spacing: -.02em; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212,168,67,.3);
}
.landing-brand-name { font-size: 1rem; font-weight: 700; color: var(--teal); line-height: 1; }
.landing-brand-name span { color: var(--gold); }
.landing-brand-sub { font-size: .6rem; color: #888; letter-spacing: .06em; }
.landing-nav .nav-link { font-size: .875rem; font-weight: 500; color: #444; padding: .4rem .75rem; transition: color .15s; }
.landing-nav .nav-link:hover { color: var(--teal); }

/* ── Buttons ─────────────────────────────────────────── */
.btn-gold {
    background: var(--gold);
    color: var(--teal);
    font-weight: 600;
    border: 2px solid var(--gold);
    transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212,168,67,.4);
}
.btn-outline-teal {
    border: 2px solid var(--teal);
    color: var(--teal);
    font-weight: 600;
    background: transparent;
    transition: background .2s, color .2s, transform .15s;
}
.btn-outline-teal:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Section helpers ──────────────────────────────────── */
.section-alt { background: var(--body-bg); }
.section-white { background: #fff; }
.section-dark { background: linear-gradient(135deg, var(--teal-dark), var(--teal-light)); color: #fff; }

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
    padding: 6rem 0 4rem;
    background: #fff;
    overflow: hidden;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--gold-bg);
    color: var(--gold-dark);
    border: 1px solid rgba(212,168,67,.3);
    border-radius: 50px;
    padding: .3rem .85rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-headline { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--teal); line-height: 1.15; }
.hero-headline span { color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: #555; line-height: 1.7; max-width: 520px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.hero-proof-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--body-bg);
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: .3rem .75rem;
    font-size: .78rem;
    font-weight: 500;
    color: #555;
}
.hero-proof-badge i { color: var(--gold); }

/* ── Portal quick-access links ────────────────────────── */
.portal-quick-link {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .82rem; font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    background: rgba(26,58,74,.07);
    border: 1px solid rgba(26,58,74,.18);
    border-radius: 50px;
    padding: .28rem .8rem;
    transition: background .15s, border-color .15s;
}
.portal-quick-link:hover {
    background: rgba(26,58,74,.13);
    border-color: rgba(26,58,74,.35);
    color: var(--teal-dark);
}

/* ── Hero Mockup ──────────────────────────────────────── */
.hero-mockup-wrap {
    position: relative;
}
.hero-mockup-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26,58,74,.18), 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);
    max-width: 420px;
    margin-left: auto;
}
.mockup-topbar {
    background: var(--teal);
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.mockup-topbar-mark {
    width: 26px; height: 26px; border-radius: 7px;
    background: linear-gradient(135deg, var(--gold), #c9953a);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .75rem; color: var(--teal);
}
.mockup-topbar-title { color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 600; flex: 1; }
.mockup-dots { display: flex; gap: 4px; }
.mockup-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    display: block;
}
.mockup-body { padding: 1rem; background: var(--body-bg); }
.mockup-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .75rem; }
.mockup-stat {
    background: #fff;
    border-radius: 10px;
    padding: .65rem .75rem;
    border: 1px solid rgba(0,0,0,.05);
}
.mockup-stat-label { font-size: .65rem; color: #888; margin-bottom: .15rem; }
.mockup-stat-value { font-size: 1.05rem; font-weight: 700; line-height: 1; }
.mockup-chart-section {
    background: #fff;
    border-radius: 10px;
    padding: .65rem .75rem;
    border: 1px solid rgba(0,0,0,.05);
}
.mockup-chart-title { font-size: .65rem; color: #888; margin-bottom: .5rem; }
.mockup-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.mockup-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--gold);
    animation: barGrow .8s ease-out both;
    transform-origin: bottom;
}
@keyframes barGrow {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}
.mockup-bar:nth-child(1) { animation-delay: .05s; }
.mockup-bar:nth-child(2) { animation-delay: .1s; }
.mockup-bar:nth-child(3) { animation-delay: .15s; }
.mockup-bar:nth-child(4) { animation-delay: .2s; }
.mockup-bar:nth-child(5) { animation-delay: .25s; }
.mockup-bar:nth-child(6) { animation-delay: .3s; }
.mockup-bar:nth-child(7) { animation-delay: .35s; }
.mockup-bar:nth-child(8) { animation-delay: .4s; }
.mockup-bar:nth-child(odd) { opacity: .75; }

/* ── Boards strip ─────────────────────────────────────── */
.boards-strip { background: var(--body-bg); padding: 1.5rem 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.board-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: .4rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

/* ── How It Works ─────────────────────────────────────── */
.step-number {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem;
}
.step-connector { width: 60%; border-top: 2px dashed rgba(212,168,67,.35); margin: 26px auto 0; }

/* ── Feature Cards ────────────────────────────────────── */
.feature-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
    height: 100%;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(26,58,74,.1); transform: translateY(-2px); }
.feature-icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .9rem;
    font-size: 1.4rem;
}
.feature-card h6 { font-weight: 700; font-size: .9rem; color: var(--teal); margin-bottom: .35rem; }
.feature-card p  { font-size: .82rem; color: #666; margin: 0; line-height: 1.55; }

/* ── AI Section ───────────────────────────────────────── */
.ai-feature-item { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ai-feature-item:last-child { border-bottom: none; }
.ai-feature-item i { color: var(--gold); font-size: 1.1rem; width: 24px; flex-shrink: 0; }
.ai-feature-item .ai-feat-title { font-size: .9rem; font-weight: 600; color: #fff; line-height: 1.2; }
.ai-feature-item .ai-feat-desc  { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.4; margin-top: .15rem; }

.ai-terminal {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    border: 1px solid rgba(255,255,255,.1);
}
.ai-terminal-bar {
    background: #1c2128;
    padding: .5rem .85rem;
    display: flex; align-items: center; gap: .45rem;
}
.ai-terminal-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ai-terminal-body { padding: 1rem 1.1rem; font-size: .78rem; line-height: 1.85; color: #c9d1d9; }
.terminal-prompt { color: var(--gold); }
.terminal-cmd    { color: #79c0ff; }
.terminal-comment{ color: #8b949e; }
.terminal-ok     { color: #3fb950; }
.terminal-warn   { color: #d29922; }
.terminal-err    { color: #f85149; }
.terminal-dim    { color: #6e7681; }
.terminal-bold   { color: #fff; font-weight: 600; }

/* ── Why DatyaVidya ───────────────────────────────────── */
.why-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    height: 100%;
    transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 6px 20px rgba(26,58,74,.08); }
.why-icon { font-size: 1.6rem; margin-bottom: .75rem; }

/* ── Pricing ──────────────────────────────────────────── */
.pricing-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
.pricing-toggle-btn {
    background: none; border: 1.5px solid #dee2e6; border-radius: 50px;
    padding: .35rem .9rem; font-size: .85rem; font-weight: 600; color: #666;
    cursor: pointer; transition: all .2s;
}
.pricing-toggle-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.pricing-save-badge {
    background: rgba(25,135,84,.12); color: #198754;
    border: 1px solid rgba(25,135,84,.2);
    border-radius: 50px; padding: .2rem .6rem;
    font-size: .7rem; font-weight: 700;
}
.pricing-card {
    border: 1.5px solid rgba(0,0,0,.07);
    border-radius: 16px;
    background: #fff;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--teal);
    box-shadow: 0 8px 32px rgba(26,58,74,.15);
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(26,58,74,.12); }
.pricing-popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--teal); color: #fff;
    border-radius: 50px; padding: .2rem .85rem;
    font-size: .7rem; font-weight: 700; white-space: nowrap;
    letter-spacing: .04em;
}
.pricing-plan-name { font-size: 1rem; font-weight: 700; color: var(--teal); }
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--teal); line-height: 1; }
.pricing-price sup { font-size: 1rem; vertical-align: super; }
.pricing-price sub { font-size: .8rem; font-weight: 400; color: #888; }
.pricing-desc { font-size: .82rem; color: #666; }
.pricing-features { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.pricing-features li { font-size: .83rem; color: #555; padding: .3rem 0; display: flex; align-items: flex-start; gap: .5rem; }
.pricing-features li i { color: var(--gold); flex-shrink: 0; margin-top: .15rem; }
.pricing-features li.text-muted i { color: #ccc; }

/* ── Contact ──────────────────────────────────────────── */
.contact-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    transition: box-shadow .2s;
}
.contact-card:hover { box-shadow: 0 6px 20px rgba(26,58,74,.1); }
.contact-icon-wrap {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gold-bg); border: 2px solid rgba(212,168,67,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--gold-dark);
    margin: 0 auto .85rem;
}

/* ── Footer ───────────────────────────────────────────── */
.landing-footer {
    background: var(--teal);
    color: rgba(255,255,255,.7);
    padding: 2.5rem 0;
}
.landing-footer .footer-brand-mark {
    width: 32px; height: 32px; border-radius: 9px;
    background: linear-gradient(135deg, var(--gold), #c9953a);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: var(--teal);
}
.landing-footer a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.landing-footer a:hover { color: var(--gold); }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-light) 100%);
    padding: 5rem 0;
    color: #fff;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 4rem 0 2.5rem; }
    .hero-headline { font-size: 2rem; }
    .hero-mockup-card { max-width: 340px; margin: 2rem auto 0; }
    .step-connector { display: none; }
}
