/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #050505;
    --color-black: #000000;
    --color-neutral-900: #171717;
    --color-neutral-600: #525252;
    --color-neutral-500: #737373;
    --color-neutral-400: #a3a3a3;
    --color-neutral-300: #d4d4d4;
    --color-neutral-200: #e5e5e5;
    --color-white: #ffffff;
    --color-red-600: #dc2626;
    --color-red-500: #ef4444;
    --color-red-900: #7f1d1d;
    --color-red-950: #450a0a;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-neutral-200);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::selection {
    background: var(--color-red-900);
    color: white;
}

/* App Container */
.app-container {
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-neutral-200);
}

/* Ambient Background Glow */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: rgba(127, 29, 29, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation Header */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    background: transparent;
    padding: 1.25rem 0;
}

.nav-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

.nav-content {
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    letter-spacing: -0.025em;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flame-icon {
    color: var(--color-red-600);
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
}

.nav-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.625rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.nav-button:hover {
    background: var(--color-red-600);
    color: white;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    padding-top: 70px;
    margin-bottom: 2rem;
}

.hero-content {
    width: 100%;
    padding: 0 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.625rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(220, 38, 38, 0.4);
    border-color: rgba(239, 68, 68, 0.6);
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.75));
}

.hero-title-italic {
    font-style: italic;
    color: var(--color-red-600);
}

.hero-subtitle {
    color: var(--color-neutral-400);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    max-width: 20rem;
    margin: 0 auto;
}

/* Section */
.section {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

.intro-section {
    margin-top: -2rem;
    position: relative;
    z-index: 20;
}

/* Intro Text */
.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.intro-paragraph {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-neutral-400);
}

.intro-final {
    color: white;
    font-weight: 500;
    font-style: italic;
    margin-top: 1.5rem;
}

/* Glass Card */
.glass-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(23, 23, 23, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.glass-card-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(239, 68, 68, 0.5),
        transparent
    );
}

.glass-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-red-500);
}

.lock-icon {
    width: 16px;
    height: 16px;
}

.glass-card-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-neutral-300);
}

.glass-card-content {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--color-neutral-300);
    font-weight: 300;
    transition: all 0.7s ease-in-out;
    max-height: 160px;
    opacity: 0.7;
    overflow: hidden;
}

.glass-card-content.expanded {
    max-height: 2000px;
    opacity: 1;
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-experience p {
    color: rgba(255, 255, 255, 0.9);
}

.divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    opacity: 0.5;
}

.divider-line::before {
    content: '';
    height: 1px;
    width: 6rem;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-red-500),
        transparent
    );
}

/* Fade Overlay */
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, #0e0e0e, transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    transition: opacity 0.3s;
}

.fade-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.expand-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.expand-button:hover {
    color: #f87171;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.collapse-button {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-500);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.collapse-button:hover {
    color: white;
}

/* Preview Section */
.preview-section {
    padding: 2rem 1.25rem;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}

.preview-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: white;
}

.preview-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-500);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Video Preview */
.video-preview {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--color-neutral-900);
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Video Landscape - spans 2 columns on mobile, centered */
.video-landscape {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    max-width: 80%;
    justify-self: center;
}

.video-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.video-preview:hover .video-image {
    transform: scale(1.1);
    opacity: 1;
}

.video-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, black, transparent, transparent);
    opacity: 0.9;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-preview:hover .video-play {
    opacity: 1;
}

.video-play-button {
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.video-preview:hover .video-play-button {
    transform: scale(1);
}

.play-icon {
    margin-left: 0.25rem;
    height: 1.25rem;
    width: 1.25rem;
    color: white;
}

.video-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    width: 100%;
    text-align: center;
}

.video-label span {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(212, 212, 212, 0.8);
    transition: color 0.3s;
}

.video-preview:hover .video-label span {
    color: white;
}

/* More Card */
.more-card {
    aspect-ratio: 3 / 4;
    border-radius: 0.75rem;
    background: var(--color-neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral-500);
    gap: 0.5rem;
}

.lock-icon-large {
    width: 20px;
    height: 20px;
}

.more-card span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Features Section */
.features-section {
    padding: 0.5rem 1.25rem;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.feature-tag {
    position: relative;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-400);
    transition: all 0.3s;
    text-align: center;
    cursor: default;
}

.feature-tag:hover {
    background: rgba(69, 10, 10, 0.3);
    color: #fecaca;
    border-color: rgba(127, 29, 29, 0.5);
}

.feature-tag span {
    position: relative;
    z-index: 10;
}

/* CTA Section */
.cta-section {
    margin-top: 2rem;
    margin-bottom: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--color-neutral-400);
    font-style: italic;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-primary {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-red-600);
    color: white;
    border-radius: 0.5rem;
    padding: 1px;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
    transition: all 0.5s;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.5);
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #dc2626, #ef4444, #991b1b);
    opacity: 1;
    transition: opacity 0.3s;
}

.cta-primary-content {
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-primary-content span {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.arrow-right {
    transition: transform 0.3s;
}

.cta-primary:hover .arrow-right {
    transform: translateX(0.25rem);
}

.cta-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-500);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.cta-secondary:hover {
    color: white;
}

/* Ad Space */
.ad-space {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.ad-space span {
    font-size: 0.625rem;
    font-family: monospace;
    color: var(--color-neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive */
.mobile-only {
    display: flex;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .intro-paragraph {
        font-size: 1.25rem;
    }

    .preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-landscape {
        grid-column: span 1;
        aspect-ratio: 3 / 4;
        max-width: 100%;
    }

    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
    z-index: 10;
}

.video-modal-close:hover {
    background: var(--color-red-600);
    border-color: var(--color-red-600);
}

.video-modal-video {
    width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    background: #000;
    object-fit: contain;
}

/* Make video preview clickable */
.video-preview {
    cursor: pointer;
}
