﻿/* --- Variables & Theme --- */
:root {
    --bg-color: #0a0a0a;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-gradient: linear-gradient(135deg, #f0f0f0 0%, #a0a0a0 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrollbars */
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.5rem, 3.5vw, 5rem);
    text-transform: uppercase;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.center {
    text-align: center;
}

.font-serif {
    font-family: var(--font-serif);
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #d4d4d4;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-color);
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /* Ensure no parent constraints affect this if possible, though it's inside body */
}

/* User requirement #2: Fixed Video */
.video-background-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* User requirement #5: Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* User requirement #3: Full screen video with object-fit cover simulation */
.video-background-fixed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16/9 */
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* User requirement #4: Text Overlay Layer */
.hero-content-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers vertical content */
    align-items: center;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    /* Ensure nav is interactable above the layer if needed, or part of it */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    /* Increased to prevent wrapping */
    padding: 0 var(--spacing-sm);
    margin-top: 60px;
    /* Offset for navbar visual balance */
}

.hero-line {
    display: block;
    white-space: nowrap;
    /* Forces each item to be a single line */
}

/* Clean up old classes */
.video-background,
.hero-content {
    display: none;
}

/* --- Screens Section --- */
.screens-section {
    position: relative;
    width: 100vw;
    background-color: #050505;
    /* Deep charcoal/black */
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.screens-header {
    margin-bottom: var(--spacing-lg);
    z-index: 10;
    position: relative;
}

.screens-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.screens-subline {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* --- Cinematic Panel Container --- */
/* --- Cinematic Panel Container --- */
.cinematic-panel-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* Mobile Default */
    overflow: hidden;
    background: #000;
}

@media (min-width: 768px) {
    .cinematic-panel-container {
        height: 600px;
        /* Desktop */
    }
}

/* --- Individual Panel --- */
.cinematic-panel {
    position: absolute;
    inset: 0;
    /* Fills container */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Active State (Fade In + Hold) */
.panel-active {
    opacity: 1;
    transform: translateY(0);
    z-index: 5;
}

/* Exit State (Fade Out + Up) */
.panel-exit {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 4;
}

/* Backgrounds */
.panel-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #0b0b0b;
    z-index: 0;
    transform: scale(1);
    transition: transform 6s ease-out;
    /* Subtle zoom effect over time */
}

/* Hover Effect */
.cinematic-panel:hover .panel-bg {
    transform: scale(1.02);
    /* 1.02 max subtle scale */
}

/* Image Assignments */
.bg-broadcast {
    background-image: url('EveryScreen/broadcast_banner.webp');
}

.bg-longform {
    background-image: url('EveryScreen/longform_banner.webp');
}

.bg-social {
    background-image: url('EveryScreen/EveryScreen_Social.webp');
}

.bg-feature {
    background-image: url('EveryScreen/EveryScreen_Feature.webp');
}

.bg-aerial {
    background-image: url('EveryScreen/EveryScreen_Aerial.webp');
}

/* Dark Overlay with Vignette */
.panel-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%), rgba(0, 0, 0, 0.45);
    /* Dark overlay + vignette */
    z-index: 1;
}

/* Content */
.panel-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    /* Increased for single line heading */
    padding: 0 var(--spacing-sm);
}

.panel-category {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 5rem);
    /* Mobile Default */
    white-space: normal;
    /* Allow wrap on mobile */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .panel-category {
        font-size: clamp(42px, 5vw, 72px);
        /* Desktop adjusted */
        white-space: nowrap;
        /* Prevent wrap on desktop */
    }
}

.panel-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* --- Work Section --- */
/* --- Work Section --- */
/* --- Work Section --- */
/* --- Work Section --- */
.work-section {
    position: relative;
    z-index: 20;
    padding: var(--spacing-xl) 0;
    /* Clean, solid deep charcoal background with subtle vertical gradient */
    background: linear-gradient(to bottom, #141415, #0e0e0f);
    overflow: hidden;
}

/* 2. Gradient Tint Layer - Removed as requested */
.work-overlay {
    display: none;
}

/* Ensure content sits above overlay */
.work-section .container {
    position: relative;
    z-index: 10;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Adjusted for 3-column layout on desktop */
    gap: var(--spacing-lg);
    /* Larger gap for premium feel */
    margin-top: var(--spacing-lg);
}

.video-card {
    background: #1a1a1d;
    /* Dark neutral placeholder */
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Soft shadow */
    position: relative;
}

/* Placeholder for empty slots */
.placeholder-video {
    width: 100%;
    height: 100%;
    background: #1a1a1d;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-family: var(--font-heading);
    color: #bcbcbc;
    /* Light gray text */
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* Modern 16:9 aspect ratio */
    background: #1a1a1d;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.card-info {
    padding: var(--spacing-md);
    text-align: center;
    /* Centered text */
    background: transparent;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Hover Effects */
.video-card:hover {
    transform: scale(1.02);
    /* Slight scale up */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    /* Subtle glow/depth */
}

.video-card:hover h3 {
    color: var(--accent-color);
}

/* --- Featured Card Layout --- */
.featured-span {
    grid-column: 1 / -1;
}

.format-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* --- Philosophy Section --- */
.philosophy {
    position: relative;
    z-index: 20;
    padding: var(--spacing-xl) 0;
    background: var(--bg-color);
}

.philosophy .content-wrapper {
    max-width: 800px;
}

.section-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* --- Pricing Section --- */
.pricing {
    padding: var(--spacing-xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.price-card {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- Image Background Cards --- */
.image-bg-card {
    position: relative;
    overflow: hidden;
    /* Ensure border radius clips image */
    background: #000;
    transition: transform 0.25s ease-out;
}

.card-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.card-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed individual img transition/transform to match video card behavior */
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(26, 26, 26, 0.25);
    /* 25% opacity dark gray as requested */
    transition: background 0.25s ease-out;
}

.card-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Hover Effects for Image Cards - Matched to Video Cards */
.image-bg-card:hover {
    transform: scale(1.03);
    background: transparent;
}

.image-bg-card:hover img {
    filter: brightness(1.10);
    /* Increase brightness on hover */
}

.image-bg-card:hover .card-image-overlay {
    background: rgba(26, 26, 26, 0.15);
    /* Reduced overlay on hover as requested */
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card.popular {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
}

.features {
    margin-bottom: var(--spacing-md);
    width: 100%;
}

.features li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.features li:last-child {
    border-bottom: none;
}

/* --- CTA Section --- */
#cta-section {
    background-color: #0e0e0f;
    padding: clamp(90px, 8vw, 120px) 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
}

.cta-heading {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    color: white;
}

.cta-subline {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 48px auto;
    opacity: 0.85;
    line-height: 1.5;
}

.cta-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-links a {
    font-size: clamp(16px, 1.4vw, 20px);
    text-decoration: none;
    color: white;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-links a:hover {
    border-color: white;
    opacity: 1;
}

/* Header Contact Button */
.btn-header-contact {
    background-color: #00f0ff;
    color: #000;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-header-contact:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.4);
}

/* --- Minimal Footer --- */
.footer-minimal {
    background-color: #0d0d0d;
    padding: 60px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand-column h3 {
    font-size: 14px;
    color: white;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-brand-column p {
    margin: 0;
    opacity: 0.8;
}

/* Footer Contact (Right Side) */
.footer-contact-column {
    display: flex;
    gap: 32px;
}

.footer-contact-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-column a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 0;
    border-top: none;
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.legal-links {
    margin-top: 16px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    margin: 0 12px;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-contact-column {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- Animations --- */
/* --- Cinematic Animations --- */

/* Lens Focus Animation */
.lens-focus {
    opacity: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    /* Requested soft large-radius shadow */
    animation: lensFocus 2.5s ease-out forwards;
}

@keyframes lensFocus {
    0% {
        opacity: 0;
        filter: blur(20px);
        letter-spacing: -10px;
        transform: scale(0.95);
        /* Slight scale for extra drama */
    }

    100% {
        opacity: 1;
        filter: blur(0px);
        letter-spacing: 2px;
        /* Set to 2px as per preference for cinematic feel */
        transform: scale(1);
    }
}

/* Sub-headline Neon/Glow Reveal */
.neon-reveal {
    opacity: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    /* 2.5s (headline duration) + 1s (delay requested) = 3.5s delay */
    animation: neonFadeIn 1.5s ease-out forwards 3.5s;
}

@keyframes neonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Subtle glow pulse effect at the end state */
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.8);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* --- About Section - Centered Layout --- */
.about-section {
    position: relative;
    z-index: 20;
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-color);
}

.about-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 1. Headline: Centered, Single-Line Full Width */
/* 1. Headline: Centered, Single-Line Full Width */
.visionary-headline {
    width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    /* Increased spacing below headline */
    font-size: clamp(2rem, 4vw, 3.5rem);
    /* Reduced max size to fit on one line */
    line-height: 1.1;
    white-space: normal;
    /* Default to wrap on mobile */
}

@media (min-width: 1024px) {
    .visionary-headline {
        white-space: nowrap;
        /* Force single line on desktop */
    }
}

/* 2. Image: Centered, 70-85% Width */
.about-image-wrapper {
    position: relative;
    width: 85%;
    /* As requested: 70-85% range */
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
    /* Increased spacing below image */
}

/* 3. Text Block: Centered, Wider */
.about-content {
    max-width: 900px;
    /* Wider than typical text columns to let lines breathe */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.visionary-p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 800px;
    /* Keep text readable width */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Remove old br spacing rule as we use paragraphs now */

@media (max-width: 768px) {
    .about-image-wrapper {
        width: 100%;
        /* Full width on mobile */
    }

    .visionary-headline {
        margin-bottom: var(--spacing-md);
    }


}

/* --- SECTION 1: HERO (Cinematic Background) --- */
.social-pricing-section {
    position: relative;
    z-index: 20;
    width: 100%;
    /* Display Setup */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Spacing */
    padding: var(--spacing-xl) 24px;

    /* Background Image */
    background-image: url('public/social-media-pricing-background.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    /* Responsive Min-Height */
    min-height: 650px;
    /* Desktop default */

    /* Borders */
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.cvg-hero-overlay {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cvg-hero-text {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* --- Social Media Hero Typography --- */
.social-pricing-section .section-title {
    font-size: clamp(32px, 4vw, 64px);
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    color: #ffffff;
    line-height: 1.1;
}

.social-hero-subtext {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    font-size: 1.1rem;
}

.social-timeline-text {
    /* RESET: No absolute positioning */
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.5;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.social-timeline-text p {
    margin-bottom: 1.5rem;
}

.social-timeline-text p:last-child {
    margin-bottom: 0;
}

.social-closing-line {
    margin-top: 24px;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
    .social-pricing-section {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .social-pricing-section {
        /* Allow height to expand naturally if content exceeds min-height */
        min-height: 460px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .social-pricing-section .section-title {
        font-size: clamp(26px, 7vw, 40px);
    }

    .social-hero-subtext,
    .social-timeline-text {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .social-pricing-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .social-hero-subtext {
        margin-bottom: 28px;
    }
}

/* --- SECTION 2: PRICING (Solid Dark Background) --- */
.pricing-section {
    position: relative;
    width: 100%;
    background-color: #0B0B0D;
    /* Solid near-black */
    padding: 100px 0;
    /* Vertical spacing */
    margin-top: 0;
    /* Removed top margin since Hero handles its own spacing/padding now */
    z-index: 20;
}

/* --- Pricing Tables Flow --- */
/* The wrapper is now .pricing-container inside .pricing-section */
.pricing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    /* No negative margins, no overlap */
}

.social-hero-text {
    margin-top: 1rem;
}

.hero-point {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.why-matters-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    /* Removed top margin, padding handles section spacing */
    text-align: left;
    padding-bottom: var(--spacing-lg);
}

.matters-headline {
    font-size: 2rem;
    color: #00f0ff;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.matters-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

.matters-content p {
    margin-bottom: 1rem;
}

.social-header {
    margin-bottom: var(--spacing-lg);
}

.social-content-wrapper {
    margin-top: 350px;
    /* Pushed down further to clear AI graphic */
}

/* Glow for the main section title */
.social-pricing-section .section-title {
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    color: #ffffff;
}

/* --- Pricing Grid Layout --- */
.pricing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.pricing-row {
    margin-bottom: 100px;
    /* 80-120px vertical spacing */
}

.pricing-heading {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Thin horizontal divider line */
.pricing-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    /* Subtle gray */
}

/* Subline under pricing headers */
.pricing-subline {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 500;
    opacity: 0.85;
    margin-top: 8px;
    margin-bottom: 24px;
    text-align: center;
    color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cards single row */
        gap: 1.5rem;
        /* Equal spacing */
    }
}

/* --- Clean Card Styling --- */
.social-card {
    background: #111111;
    /* Slightly lighter than #0a0a0a */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    border-radius: 12px;
    padding: 2rem;
    /* Generous padding */
    display: flex;
    flex-direction: column;
    /* Ensure vertical stack inside */
    align-items: center;
    justify-content: center;
    /* Enforce vertical centering */
    text-align: center;
    /* Enforce text centering */
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    /* Ensure text is centered */
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
    /* Ensure width for centering */
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.features-list li {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center text/icon in LI */
    text-align: center;
}

/* Center content inside ? or left? User didn't specify text align inside card, assuming center or standard */


/* --- Video Background Card --- */
.video-bg-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease-out;
    /* Smooth transition */
}

.card-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.card-video-bg video,
.card-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 16/9;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.card-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    /* 25% opacity black as requested */
    z-index: 1;
    transition: background 0.25s ease-out;
}

.card-content-wrapper {
    position: relative;
    z-index: 2;
    /* Content above video */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Specific Hover for Video Card */
.video-bg-card:hover {
    transform: scale(1.03);
    /* Subtle scale up */
    background: transparent;
    /* Override default hover bg */
}

.video-bg-card:hover .card-video-overlay {
    background: rgba(0, 0, 0, 0.15);
    /* Reduced overlay on hover as requested */
}

/* Reset internal alignment if needed, usually list is left aligned */
.social-card .card-header {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Internal divider optional? User didn't ask, keeping simple */
    padding-bottom: 1rem;
}

.features-list {
    text-align: center;
    /* or left? Reference implies symmetry */
    width: 100%;
}

.social-card:hover {
    background: #161616;
    /* Slight lighten on hover */
    /* No glow */
    transform: none;
    /* No movement */
}

/* --- Pro Plan Featured --- */
.popular-social {
    border: 1px solid #00f0ff;
    /* Cyan outline 1-2px */
    position: relative;
    /* Do NOT increase height, it's same sizing */
}

.popular-social:hover {
    box-shadow: none;
    /* User said "No glow effects except for featured plan" - wait, "No glow effects except for the featured plan". So featured DOES have glow? 
    "Pro Plan: Add subtle cyan outline... No glow effects except for the featured plan" -> Implies Featured plan can have glow? 
    Or "No glow effects on any card" for Image plans. 
    Let's check VIDEO PLANS: "No glow effects except for the featured plan". 
    Okay, so Pro Video can have glow? User said "Add subtle cyan outline". 
    I will stick to outline primarily, maybe very very subtle shadow if "glow" allowed. */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Badge styling */
.best-value-badge {
    position: absolute;
    top: -12px;
    /* Pill centered on border */
    left: 50%;
    transform: translateX(-50%);
    /* Centered horizontally */
    background: #00f0ff;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    line-height: 1;
}

.card-header h4 {
    font-size: 1.2rem;
    color: #ffffff;
    /* Force White */
    font-weight: 600;
}

.card-header .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    /* Force White */
}

.card-header .price span {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 400;
}



.features-list li {
    margin-bottom: 0.2rem;
}

/* Best Value Highlight */
.popular-social {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #00f0ff;
    /* Cyan Glow */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.popular-social:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    transform: scale(1.02);
}

.popular-social .best-value-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: #00f0ff;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.social-footer-text {
    margin-top: var(--spacing-lg);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.8;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    /* Neon Blue Glow Border */
    border: 1px solid #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* --- REFINED HERO STYLES (CVG HERO) --- */
/* --- TARGETED HERO STYLES (Pinned Top, Precise Text Positioning) --- */
#cvg-social-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Remove fixed height rules to let image dictate size */
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    background: #000;
    /* Fallback */
}

#cvg-social-hero img {
    position: relative;
    /* Static positioning lets it set the container height */
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top center;
}

/* HERO TEXT BLOCK (Wraps Title + Subline) */
.hero-text-block {
    position: absolute;
    top: clamp(20px, 3vw, 50px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92vw);
    text-align: center;
    z-index: 2;
}

#cvg-social-hero .hero-title {
    /* Reset absolute reasoning, now flow inside block */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 0 0 12px 0;
    font-size: clamp(28px, 3.6vw, 56px);
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    line-height: 1.05;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.hero-subline {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 600;
    color: white;
    line-height: 1.4;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
    #cvg-social-hero {
        /* Enforce min-height on mobile to fit content */
        min-height: 400px !important;
        height: auto !important;
    }

    #cvg-social-hero img {
        /* Switch to cover on mobile */
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* No specific overrides needed for text block if clamped values work well */
}

/* --- NEW AI CONTENT SECTION (Every Screen) --- */
/* --- NEW AI CONTENT SECTION (Every Screen) --- */
#ai-content-section {
    position: relative;
    /* Background moved to inner div for animation */
    /* Large padding for cinematic feel */
    padding: clamp(80px, 10vw, 140px) 20px;
    width: 100%;
    overflow: hidden;
    background: #000;
    /* Fallback */
}

/* Background Layer with Zoom Animation */
.ai-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('public/every-screen-ai-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
    animation: bg-animated-zoom 12s ease-out infinite alternate;
}

/* Subtle Energy Lines */
.ai-energy-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* With background */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 40%,
            rgba(0, 240, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.03) 60%,
            transparent 100%);
    opacity: 0.6;
    mix-blend-mode: screen;
    will-change: transform;
    animation: energy-flow 25s linear infinite;
    pointer-events: none;
}

/* Dark Overlay for Readability */
#ai-content-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.85));
    z-index: 1;
    /* Above BG and Energy Lines */
    pointer-events: none;
}

.ai-content-wrapper {
    position: relative;
    z-index: 2;
    /* Sits above the overlay */
    max-width: 800px;
    /* Constrained width for reading */
    margin: 0 auto;
    text-align: left;
    /* Cinematic manifesto style */
    color: white;
}

/* --- Manifesto Typography --- */

.manifesto-intro {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.manifesto-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4rem;
    margin-bottom: 0.5rem;
}

.manifesto-heading {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.manifesto-body {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.manifesto-punch {
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    margin: 3rem 0;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.manifesto-title {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 5rem 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.manifesto-outro {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-top: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    padding-left: 2rem;
    border-left: 2px solid rgba(0, 240, 255, 0.3);
    /* Subtle accent line */
}

/* Glow Target Specifics */
.manifesto-title.glow-target {
    position: relative;
    display: block;
    /* Ensure it takes full width/block for flow */
}

.manifesto-title.glow-target.visible {
    animation: pulse-glow 6s ease-in-out infinite;
}

/* Keyframes */
@keyframes bg-animated-zoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.0);
    }
}

@keyframes energy-flow {
    0% {
        transform: translateX(-100%) skewX(-20deg);
    }

    100% {
        transform: translateX(100%) skewX(-20deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
        opacity: 0.95;
    }

    50% {
        text-shadow: 0 0 25px rgba(0, 240, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.1);
        opacity: 1;
    }
}

/* --- Legal Modal System --- */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: #0e0e0f;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: #e0e0e0;
}

.legal-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    color: #fff;
}

/* Modal Content Typography */
.modal-body {
    line-height: 1.6;
    font-size: 1rem;
}

.modal-body h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.modal-body p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* --- Pricing Layout Corrections --- */
.pricing-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.pricing-row {
    width: 100%;
    margin-bottom: 8rem;
    text-align: center;
}

.pricing-heading {
    margin-bottom: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.05em;
    display: inline-block;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-subline {
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
}

/* Card Sizing Override */
.social-card {
    width: 100%;
    aspect-ratio: 9/16;
    min-height: 500px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

/* Button Styling */
.plan-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    background: var(--accent-color);
    color: var(--bg-color);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.05em;
}

.plan-btn:hover {
    background: #d4d4d4;
    transform: translateY(-2px);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .social-card {
        min-height: 450px;
    }
}