/* Custom Properties - Steady White Theme with Bluish Shades */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafd;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --border-glass: rgba(43, 108, 176, 0.15);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --shadow-soft: 0 10px 40px -10px rgba(37, 99, 235, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-quote: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 8rem 0;
}

.highlight {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(37, 99, 235, 0.2);
    z-index: -1;
    border-radius: 4px;
}

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

/* Glassmorphism Utilities */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(37, 99, 235, 0.15);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo .highlight::after {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 101;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -8px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 6rem; /* Account for fixed header */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Creative Backgrounds */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-light);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #e0e7ff;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-quote {
    font-family: var(--font-quote);
    font-size: 1.4rem;
    color: var(--accent-blue);
    font-style: italic;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.4;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

/* Hero Visual & Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--accent-blue);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
    pointer-events: none;
    z-index: 2;
}

.image-wrapper:hover::before {
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
    opacity: 0.2;
    border-radius: 40px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px -15px rgba(37, 99, 235, 0.2);
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
}

.enhanced-image {
    /* Enhance clarity natively via CSS: slightly boost contrast, saturation, and add a tiny sharpening feel */
    filter: contrast(1.15) saturate(1.1) brightness(1.05);
}

.image-wrapper:hover .hero-image {
    transform: scale(1.03) translateY(-10px);
    filter: contrast(1.2) saturate(1.15) brightness(1.1);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.element-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 15%;
    left: -15%;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Typography components */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

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

/* About Creative Section */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-creative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-heading {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight-text {
    color: var(--accent-blue);
    font-family: var(--font-quote);
    font-style: italic;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Timeline Mockup */
.timeline-mockup {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    border: 1px solid var(--border-glass);
}

.mockup-header {
    background: #f1f5f9;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mockup-body {
    padding: 1.5rem;
}

.viewer-screen {
    background: #1e293b;
    border-radius: 8px;
    height: 180px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.play-indicator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.timecode {
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: #38bdf8;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: bold;
}

.tracks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.track {
    height: 36px;
    background: #f1f5f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    gap: 4px;
    position: relative;
}

.clip {
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-track .clip { background: #6366f1; }
.video-track .highlight-clip { background: var(--accent-blue); width: 60%; }
.clip-1 { width: 35%; }

.audio-track .clip { background: #10b981; }
.audio-1 { width: 95%; }
.audio-2 { width: 25%; margin-left: 10%; }
.audio-3 { width: 45%; margin-left: 5%; }

.playhead {
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 45%;
    width: 2px;
    background: #ef4444;
    z-index: 10;
}

.playhead::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 2px;
}

/* Bento Grid Arsenal */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

@media (max-width: 992px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-large { grid-column: span 2; grid-row: span 1; }
    .bento-wide { grid-column: span 2; }
}

@media (max-width: 576px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-wide { grid-column: span 1; }
}

.bento-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.bento-content h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.bento-content p { color: var(--text-secondary); font-size: 1rem; margin-top: auto; }
.bento-content p.timeline-desc { margin-top: 0; }

.mini-timeline { margin-top: auto; padding-top: 1.5rem; }

/* Bento Creative Backgrounds */
.bento-bg.pattern-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border-glass) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.5;
}

.light-spectrum {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #ff5f56, #ffbd2e, #27c93f, #38bdf8, #6366f1);
    opacity: 0.15;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}
.light-rambing-card:hover .light-spectrum { opacity: 0.4; }

.tracking-target {
    position: absolute;
    right: -20px;
    bottom: -20px;
    color: var(--accent-blue);
    opacity: 0.1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.motion-card:hover .tracking-target {
    opacity: 0.3;
    transform: scale(1.2) rotate(45deg);
}

.motion-path-visual {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 80px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.motion-card:hover .motion-path-visual {
    opacity: 1;
}

.path-line {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tracker-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    top: 55%;
    left: 10%;
    animation: trackMotion 3s infinite ease-in-out alternate;
}

@keyframes trackMotion {
    0% { top: 75%; left: 10%; }
    50% { top: 25%; left: 50%; }
    100% { top: 35%; left: 90%; }
}

.sound-wave {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}
.sound-card:hover .sound-wave { opacity: 0.6; }

.bar {
    width: 6px;
    background: var(--accent-blue);
    border-radius: 3px;
    animation: sound 1s ease-in-out infinite alternate;
}
.bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.bar:nth-child(3) { height: 60%; animation-delay: 0.5s; }
.bar:nth-child(4) { height: 100%; animation-delay: 0.2s; }
.bar:nth-child(5) { height: 50%; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 70%; animation-delay: 0.6s; }

@keyframes sound {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(1); }
}

/* Gallery / Vault Section - Embed Grid */
.relative-section { position: relative; overflow: hidden; }

.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
    justify-items: center;
}

.reel-item {
    width: 100%;
    max-width: 400px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}


.btn-large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

/* Film Strip Decoration */
.film-strip {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, transparent 50%, rgba(43, 108, 176, 0.08) 50%);
    background-size: 60px 100%;
    opacity: 0.8;
}

.top-strip { top: 0; border-bottom: 2px dashed rgba(43, 108, 176, 0.15); }
.bottom-strip { bottom: 0; border-top: 2px dashed rgba(43, 108, 176, 0.15); }

/* Footer & Contact */
.footer {
    background-color: white;
    padding: 6rem 0 3rem;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-weight: 600;
}

.social-btn .icon {
    font-size: 1.2rem;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Lucide Icons specific styling */
.lucide {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.inline-icon {
    width: 1.2em;
    height: 1.2em;
    margin-bottom: -0.2em;
}


/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
        display: flex;
        flex-direction: column;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .about-creative-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--accent-blue);
        border-bottom: 3px solid var(--accent-blue);
        padding: 1.5rem 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .element-1 { right: 0; }
    .element-2 { left: 0; }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .about-text {
        padding: 2.5rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .viewer-screen {
        height: 140px;
    }
}
