/* ==========================================================================
   THE VIRAL STUDIO - Global Styles
   ========================================================================== */

/* --- 1. CSS CUSTOM PROPERTIES (Variables) --- */
:root {
    /* Colors */
    --bg-color: #000000;
    --surface-color: #080808;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;

    /* Layout */
    --container-max: 1400px;
    --spacing-section: 120px;
    --nav-height: 80px;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- 2. RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* --- 3. TYPOGRAPHY --- */
.display-xl {
    font-weight: 900;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.display-lg {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.display-md {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.text-body {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 60ch;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 100px;
}

/* --- 4. LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* --- 5. BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: white;
    color: black;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-top: 30px;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn:hover {
    background: black;
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: transparent;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-outline:hover {
    border-color: white;
    background: white;
    color: black;
}

/* --- 6. NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    font-weight: 600;
}

.nav-links a:hover {
    color: white;
}

.nav-right a {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid white;
    padding: 10px 20px;
}

.nav-right a:hover {
    background: white;
    color: black;
}

/* --- 7. HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0%, #000 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* --- 8. TICKER --- */
.ticker-wrap {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: black;
    padding: 20px 0;
    overflow: hidden;
    width: 100%;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    margin-right: 80px;
    letter-spacing: 0.05em;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 9. GENERAL SECTIONS --- */
.section-intro {
    padding: var(--spacing-section) 0;
    text-align: center;
}

/* --- 10. GRID LAYOUTS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: var(--spacing-section);
    align-items: stretch;
}

/* --- 11. SERVICE CARDS --- */
.service-card {
    position: relative;
    border: 1px solid #1a1a1a;
    padding: 40px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    overflow: hidden;
    transition: var(--transition-slow);
}

.service-card:hover {
    border-color: #444;
    background: #0a0a0a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.card-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    opacity: 0.03;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .card-bg-icon {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(1.05);
}

.outline-num {
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--font-main);
}

.service-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-desc {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.5;
    border-top: 1px solid #222;
    padding-top: 25px;
}

.service-highlight {
    padding: 0;
    background: black;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-highlight .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: var(--transition-slow);
    z-index: 0;
}

.service-highlight:hover .video-bg {
    opacity: 0.7;
}

.service-highlight h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: white;
    z-index: 2;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- 12. CASES SECTION --- */
.cases-section {
    padding-bottom: 80px;
}

.case-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    margin-bottom: 40px;
    align-items: center;
}

.case-item:nth-child(even) .case-visual {
    order: 2;
}

.case-item:nth-child(even) .case-info {
    order: 1;
}

.case-visual {
    position: relative;
    height: 600px;
    background: #111;
    overflow: hidden;
    border: 1px solid #333;
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s ease;
}

.case-visual:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.case-info h3 {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 24px;
}

.metrics-row {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.metric-val {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 8px;
    display: block;
}

/* --- 13. BENCHMARK TABLE --- */
.benchmark-section {
    padding-bottom: var(--spacing-section);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-section);
}

.table-wrapper {
    margin-top: 60px;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
    table-layout: fixed;
}

.comp-table th {
    text-align: left;
    padding: 30px 20px;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-bottom: 1px solid #1a1a1a;
    width: 25%;
}

.comp-table th:first-child,
.comp-table td:first-child {
    text-align: left;
    padding-left: 0;
    width: 25%;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.comp-table td {
    padding: 25px 20px;
    font-size: 0.95rem;
    vertical-align: top;
    text-align: left;
    color: #888;
    border-bottom: 1px solid #111;
    width: 25%;
    line-height: 1.5;
}

.comp-table .col-highlight {
    background: #0a0a0a;
    color: white !important;
    font-weight: 700;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}

.comp-table th.col-highlight {
    background: #0a0a0a;
    color: white;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 40px;
    padding-bottom: 40px;
}

.comp-table tr:hover td:first-child {
    color: #ccc;
}

.comp-table tr:hover td.col-highlight {
    background: #111;
}

/* --- 14. PRICING PLANS --- */
.plans-section {
    padding: var(--spacing-section) 0;
}

.plan-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    border: 1px solid var(--border-color);
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-color);
    transition: var(--transition-base);
}

.plan-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.plan-card.featured {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.3);
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -0.03em;
}

.plan-list li {
    margin-bottom: 12px;
    color: #999;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
}

.plan-list li::before {
    content: "•";
    color: white;
}

/* --- 15. FINAL CTA --- */
.final-cta-section {
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at center, #111 0%, #000 70%);
}

.final-cta-title {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    color: white;
}

/* --- 16. FOOTER --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    background: #050505;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
}

.footer-col h5 {
    color: white;
    margin-bottom: 24px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a:hover {
    color: white;
    text-decoration: underline;
}

/* --- 17. MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --spacing-section: 100px;
    }

    .container {
        padding: 0 20px;
    }

    .section-intro {
        padding: 160px 20px;
    }

    .display-xl {
        margin-bottom: 15px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .plan-row {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-card {
        min-height: auto;
        padding: 30px;
    }

    .service-highlight {
        min-height: 350px;
    }

    .case-item {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }

    .case-item:nth-child(even) .case-visual {
        order: 0;
    }

    .case-visual {
        height: 350px;
        width: 100%;
    }

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

    .footer-col:first-child {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .socials {
        justify-content: center;
    }

    /* Mobile table */
    .comp-table th:first-child,
    .comp-table td:first-child {
        padding-left: 20px;
        position: sticky;
        left: 0;
        background: #000;
        z-index: 5;
        border-right: 1px solid #222;
    }

    .benchmark-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .cases-section {
        padding-bottom: 40px;
    }

    .display-lg {
        line-height: 1.2;
        font-size: clamp(2.2rem, 6vw, 4rem);
    }
}

/* --- 18. UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- 19. SCROLL ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.grid-3 .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.grid-3 .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.plan-row .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.plan-row .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.plan-row .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* --- 20. NAV STATES --- */
.nav-scrolled {
    background: rgba(0, 0, 0, 0.95);
}

/* --- 21. LEGAL PAGES --- */
.legal-page {
    padding: 150px 0 100px;
    min-height: 100vh;
    background: var(--bg-color);
}

.legal-page .container {
    max-width: 900px;
}

.legal-header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.legal-header .display-lg {
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.legal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 50px;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #ccc;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-content ul {
    margin: 15px 0 15px 25px;
    list-style: disc;
}

.legal-content ul li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1rem;
}

.legal-content a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #ccc;
}

.legal-content strong {
    color: white;
}

/* Cookie table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    color: white;
    font-weight: 600;
    background: #111;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.cookie-table td {
    color: var(--text-muted);
}

.cookie-table tr:hover td {
    background: #0a0a0a;
}

/* Manifesto specific styles */
.manifesto-content {
    max-width: 700px;
    margin: 0 auto;
}

.manifesto-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
}

.manifesto-section:last-of-type {
    border-bottom: none;
}

.manifesto-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    border-bottom: none;
    padding-bottom: 0;
}

.manifesto-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #999;
}

.manifesto-section p:last-child {
    margin-bottom: 0;
}

.manifesto-cta {
    text-align: center;
    padding: 100px 0;
    margin-top: 0;
    background: radial-gradient(circle at center, #111 0%, #000 70%);
}

.manifesto-cta p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 30px;
}

/* Legal pages responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 80px;
    }

    .legal-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .manifesto-section h2 {
        font-size: 1.3rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

/* ==========================================================================
   CASE STUDY PAGE STYLES
   ========================================================================== */

/* --- CASE HERO --- */
.case-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 80px;
    overflow: hidden;
}

.case-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.case-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.case-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 30%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.case-hero-content {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-5px);
}

.case-hero .tag {
    margin-bottom: 20px;
}

.case-hero .display-xl {
    margin-bottom: 30px;
}

.case-hero-subtitle {
    font-size: 1.3rem;
    color: #999;
    max-width: 500px;
}

/* --- CASE METRICS --- */
.case-metrics {
    background: #080808;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.metric-block {
    padding: 20px;
}

.metric-number {
    display: block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-desc {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

/* --- CASE SECTIONS --- */
.case-section {
    padding: 100px 0;
}

.case-content-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.case-label {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-label .outline-num {
    font-size: 3rem;
    margin-bottom: 8px;
}

.case-label h2 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.case-text {
    max-width: 100%;
}

.case-text .text-large {
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
}

.case-text p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* --- CASE DIVIDER --- */
.case-divider {
    padding: 20px 0;
}

.divider-line {
    height: 1px;
    max-width: 700px;
    margin: 0 auto;
    background: var(--border-color);
}

/* --- STRATEGY POINTS --- */
.strategy-points {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    width: 100%;
}

.strategy-point {
    padding-left: 25px;
    border-left: 2px solid #333;
    text-align: left;
}

.strategy-point h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.strategy-point p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- CASE GALLERY --- */
.case-gallery {
    background: #050505;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 40px;
}

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

.gallery-item {
    text-align: center;
}

.video-placeholder {
    aspect-ratio: 9/16;
    background: #111;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.video-placeholder:hover {
    border-color: #444;
}

.video-placeholder span {
    color: #444;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Video Embeds */
.video-embed {
    position: relative;
    aspect-ratio: 9/16;
    background: #111;
    border: 1px solid #222;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-video .gallery-item {
    aspect-ratio: 9/16;
}

/* Video Link with overlay */
.video-link {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.video-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.video-link:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 40px 15px 15px;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-link:hover .video-overlay {
    opacity: 1;
}

.tiktok-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #444;
}

/* --- RESULT QUOTE --- */
.result-quote {
    margin-top: 50px;
    padding: 40px;
    background: #0a0a0a;
    border-left: 3px solid #333;
    text-align: left;
    width: 100%;
}

.result-quote blockquote {
    font-size: 1.3rem;
    color: white;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.result-quote cite {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

/* --- CASE LEARNINGS --- */
.case-learnings {
    padding: 100px 0;
    background: #080808;
    border-top: 1px solid var(--border-color);
}

.case-learnings .display-lg {
    text-align: center;
    margin-bottom: 60px;
}

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

.learning-card {
    padding: 40px;
    border: 1px solid #1a1a1a;
    background: #050505;
    transition: all 0.3s ease;
}

.learning-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.learning-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.learning-card p {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.6;
}

/* --- CASE CTA --- */
.case-cta {
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at center, #111 0%, #000 70%);
}

/* --- OTHER CASES --- */
.other-cases {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.other-cases h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 40px;
}

.other-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.other-case-card {
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.other-case-card:hover {
    border-color: #444;
}

.other-case-image {
    height: 300px;
    overflow: hidden;
}

.other-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.other-case-card:hover .other-case-image img {
    opacity: 1;
    transform: scale(1.05);
}

.other-case-info {
    padding: 25px;
    background: #0a0a0a;
}

.other-case-info .tag {
    margin-bottom: 10px;
}

.other-case-info h4 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- CASE PAGES RESPONSIVE --- */
@media (max-width: 1024px) {
    .case-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-label {
        position: static;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .case-label .outline-num {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .case-hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .case-hero-subtitle {
        font-size: 1.1rem;
    }

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

    .metric-block {
        padding: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        gap: 40px;
    }

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

    .other-cases-grid {
        grid-template-columns: 1fr;
    }

    .other-case-image {
        height: 200px;
    }

    .case-section {
        padding: 80px 0;
    }

    .case-text .text-large {
        font-size: 1.3rem;
    }

    .result-quote {
        padding: 25px;
    }

    .result-quote blockquote {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   MANIFESTO PAGE STYLES
   ========================================================================== */

/* --- MANIFESTO HERO --- */
.manifesto-hero {
    padding: 180px 0 100px;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at top right, #111 0%, #000 60%);
}

.hero-intro {
    color: var(--text-muted);
    max-width: 700px;
    margin-top: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-highlight {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
}

/* --- SECTION TITLE BLOCK --- */
.section-title-block {
    padding: 80px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title-block .display-md {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-bottom: 40px;
}

/* --- MANIFESTO GRID --- */
.manifesto-grid-section {
    max-width: 1400px;
    margin: 0 auto;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.manifesto-row {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    border-bottom: 1px solid var(--border-color);
    min-height: 350px;
}

.manifesto-row:last-child {
    border-bottom: none;
}

.manifesto-number {
    padding: 60px 40px;
    border-right: 1px solid var(--border-color);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    color: #151515;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    line-height: 1;
    background: #020202;
}

.manifesto-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.manifesto-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: white;
    line-height: 1;
}

.manifesto-text .text-body {
    max-width: 600px;
}

/* --- ORIGIN SECTION --- */
.origin-section {
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.origin-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid #222;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.origin-image img:hover {
    filter: grayscale(0%);
}

/* --- BTN LARGE --- */
.btn-large {
    padding: 20px 50px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* --- MANIFESTO RESPONSIVE --- */
@media (max-width: 1024px) {
    .manifesto-hero {
        padding: 150px 0 80px;
    }

    .section-title-block {
        padding: 60px 0 0;
    }

    .section-title-block .display-md {
        padding-bottom: 30px;
    }

    .manifesto-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .manifesto-number {
        border-right: none;
        border-bottom: 1px solid #111;
        justify-content: flex-start;
        padding: 40px 30px;
        font-size: 4rem;
    }

    .manifesto-text {
        padding: 40px 30px 60px;
    }

    .origin-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 0;
    }

    .origin-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .manifesto-hero {
        padding: 130px 0 60px;
    }

    .hero-intro {
        font-size: 1rem;
        margin-top: 25px;
    }

    .hero-highlight {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .section-title-block {
        padding: 50px 0 0;
    }

    .section-title-block .display-md {
        font-size: 1.8rem;
        padding-bottom: 25px;
    }

    .manifesto-text h3 {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 16px 35px;
        font-size: 0.9rem;
    }

    .manifesto-number {
        font-size: 3rem;
        padding: 30px 20px;
    }

    .manifesto-text {
        padding: 30px 20px 50px;
    }
}

/* --- ACCESSIBILITY UTILITIES --- */

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 12px 24px;
    font-weight: 600;
    z-index: 10000;
    border-radius: 4px;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- NEW SEMANTIC CLASSES --- */

/* Hero styles */
.hero-tagline {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    margin: 0 auto;
    color: #ddd;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Section headers */
.section-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.section-header-left {
    max-width: 900px;
    margin-bottom: 50px;
}

/* Intro text */
.intro-text {
    margin: 0 auto;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    max-width: 900px;
    color: white;
    font-weight: 500;
    line-height: 1.3;
}

.text-muted {
    color: #666;
}

/* Benchmark note */
.benchmark-note {
    margin-top: 50px;
    border-left: 2px solid #333;
    padding-left: 20px;
}

.benchmark-note h3 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   NEWSLETTER / CARTAS DE PAUL
   ========================================================================== */

.newsletter-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: #050505;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.newsletter-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 18px 20px;
    background: #111;
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: #555;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #444;
}

.newsletter-form .btn {
    margin-top: 0;
    white-space: nowrap;
}

.form-note {
    font-size: 0.85rem;
    color: #555;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@media (max-width: 600px) {
    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* ==========================================================================
   LETTERS PAGE
   ========================================================================== */

.letters-hero {
    padding: 180px 0 100px;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at top left, #111 0%, #000 60%);
}

.letters-hero .tag {
    margin-bottom: 20px;
}

.letters-hero .display-xl {
    margin-bottom: 30px;
}

.letters-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}

.letters-list {
    padding: 80px 0;
    min-height: 300px;
}

.coming-soon {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    padding: 60px 0;
}

.letter-card {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.letter-card:first-child {
    padding-top: 0;
}

.letter-card time {
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 15px;
}

.letter-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.letter-card h2 a {
    color: white;
    transition: color 0.3s ease;
}

.letter-card h2 a:hover {
    color: var(--text-muted);
}

.letter-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.read-more {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .letters-hero {
        padding: 140px 0 80px;
    }

    .letters-intro {
        font-size: 1.1rem;
    }

    .letter-card h2 {
        font-size: 1.5rem;
    }
}


