/* ==========================================================================
   Audioguide.md — Pro Max Design System & Master Styling
   Theme: Aurora UI + Cultural Warmth + Glassmorphism
   Typography: Inter + Playfair Display (Headings)
   ========================================================================== */

:root {
    /* Palette: Moldovan Twilight Aurora & Warm Amber */
    --bg-dark: #070913;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-strong: rgba(15, 23, 42, 0.85);

    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.35);
    --secondary: #818cf8;
    --accent-gold: #f59e0b;
    --accent-red: #ef4444;
    --accent-emerald: #10b981;
    --tg-cyan: #229ed9;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(56, 189, 248, 0.3);
    --border-gold: rgba(245, 158, 11, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 9999px;

    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.25);
    --shadow-gold-glow: 0 0 35px rgba(245, 158, 11, 0.25);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-max: 1240px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere (Aurora gradients) */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.65;
}

.aurora-glow-1 {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(7, 9, 19, 0) 70%);
    filter: blur(80px);
}

.aurora-glow-2 {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(7, 9, 19, 0) 70%);
    filter: blur(90px);
}

.aurora-glow-3 {
    position: absolute;
    bottom: -10%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, rgba(7, 9, 19, 0) 70%);
    filter: blur(85px);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #38bdf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.nav-brand span b {
    color: var(--accent-gold);
    font-weight: 800;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--primary);
    color: #070913;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #070913;
    font-weight: 700;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(56, 189, 248, 0.5);
}

.btn-telegram {
    background: linear-gradient(135deg, #229ed9 0%, #1e87be 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 158, 217, 0.55);
}

.btn-outline {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(56, 189, 248, 0.08);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.12);
    border-color: var(--border-gold);
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title span.accent {
    background: linear-gradient(135deg, #f59e0b 0%, #38bdf8 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 34px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.hero-stat-card {
    text-align: left;
}

.hero-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-num.gold {
    color: var(--accent-gold);
}

.hero-stat-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.35;
}

/* Hero Visual Showcase */
.hero-visual-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.hero-visual-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.hero-visual-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(7, 9, 19, 0.95) 0%, rgba(7, 9, 19, 0.5) 60%, transparent 100%);
}

.hero-audio-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    backdrop-filter: blur(10px);
}

.soundwave-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.soundwave-bars span {
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: soundWave 1.2s ease-in-out infinite alternate;
}

.soundwave-bars span:nth-child(2) { animation-delay: 0.2s; height: 12px; }
.soundwave-bars span:nth-child(3) { animation-delay: 0.4s; height: 16px; }
.soundwave-bars span:nth-child(4) { animation-delay: 0.1s; height: 8px; }

@keyframes soundWave {
    0% { height: 4px; }
    100% { height: 18px; }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Manifesto Section */
.manifesto-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    position: relative;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.manifesto-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-gold-glow);
}

.manifesto-img-box img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.manifesto-text {
    padding-left: 20px;
}

.manifesto-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.manifesto-quote {
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin-top: 28px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
}

/* Bento Features Grid */
.pillars-section {
    padding: 100px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.bento-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
}

.bento-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.3;
}

.bento-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-icon-corner {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Highlight Card with Image */
.bento-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    border-color: var(--border-accent);
}

/* Audience Grid */
.audience-section {
    padding: 90px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
}

.audience-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== Dedicated Business Section ==================== */
.business-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 50% 15%, rgba(245, 158, 11, 0.07) 0%, transparent 65%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 52px;
}

.biz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.biz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
}

.biz-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-gold-glow);
}

.biz-card:hover::before {
    opacity: 1;
}

.biz-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.biz-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.35;
}

.biz-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.62;
}

/* Custom Terms & Subscription Banner */
.biz-custom-box {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.75) 0%, rgba(15, 23, 42, 0.96) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 50px 42px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.12);
}

.biz-custom-box::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.biz-custom-content {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.biz-custom-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin: 18px 0 16px;
    line-height: 1.3;
}

.biz-custom-content p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.biz-custom-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.biz-contact-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.biz-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.biz-chip:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-gold);
    color: #fbbf24;
}

/* Steps / How It Works */
.how-section {
    padding: 100px 0;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    position: relative;
}

.step-num-badge {
    position: absolute;
    top: -18px;
    left: 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #070913;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Climax CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 70px 48px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-box-glow {
    position: absolute;
    top: -30%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Requisites & Legal Section */
.legal-section {
    padding: 70px 0;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 27, 0.85);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
}

.legal-company-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.legal-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.legal-info-list b {
    color: var(--text-main);
}

.legal-contacts-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-row a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-row a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 30px 0;
    font-size: 0.82rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .manifesto-grid, .legal-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-title { font-size: 2.75rem; }
    .bento-grid, .audience-grid, .steps-row, .biz-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.highlight {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats-row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 2.1rem; }
    .biz-custom-box { padding: 32px 20px; }
    .biz-custom-content h3 { font-size: 1.5rem; }
}
