/* ===== Variables & Reset ===== */
:root {
    --bg: #0a0f1c;
    --bg-alt: #0f1528;
    --surface: #151d33;
    --text: #e8eaf0;
    --text-muted: #8a91a8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --teal: #14b8a6;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --max-width: 1100px;
    --radius: 12px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Utility ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-full {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

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

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('background.jpg') center/cover no-repeat;
    padding: 120px 24px 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.82) 0%,
        rgba(10, 15, 28, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

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

/* ===== Video Grid ===== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
    align-items: stretch;
}

.video-card--vertical {
    display: flex;
    flex-direction: column;
}

.video-card--vertical .video-wrapper--vertical {
    flex: 1;
    padding-bottom: 0;
    height: auto;
    min-height: 300px;
}

.video-grid-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.video-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper--vertical {
    padding-bottom: 177.78%; /* 9:16 for Shorts */
}

.video-wrapper iframe,
.video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform var(--transition), opacity var(--transition);
    opacity: 0.85;
}

.play-btn svg {
    width: 68px;
    height: 48px;
}

.video-wrapper:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 16px 20px;
}

.video-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.video-info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* ===== Podcast ===== */
.podcast-block {
    display: flex;
    align-items: center;
    gap: 60px;
}

.podcast-info {
    flex: 1;
}

.podcast-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 12px;
}

.podcast-info h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.podcast-info p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.podcast-visual {
    flex-shrink: 0;
}

.podcast-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

/* ===== Contact ===== */
.contact-layout {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-email {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 8px;
    transition: color var(--transition);
}

.contact-email:hover {
    color: var(--teal);
}

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 120px;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

.legal-container h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.legal-container p,
.legal-container li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-container ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-container a {
    color: var(--teal);
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 12px;
    transition: color var(--transition);
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--bg-alt);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.05rem;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-card--vertical .video-wrapper--vertical {
        padding-bottom: 177.78%;
        height: 0;
        min-height: unset;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .podcast-block {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .podcast-art {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }
}
