/* ==========================================================================
   RenderLogic Premium SPA Stylesheet
   Theme: Cinema Meets Code (Dark Cinematic Obsidian, Cyan/Purple Neon Accents)
   ========================================================================== */

/* ==========================================================================
   Design Tokens — Parayu brand system (crimson primary, violet accent)
   Light is the default; `html.dark` swaps the same tokens for night mode.
   ========================================================================== */
:root {
    color-scheme: light;

    /* Surfaces */
    --bg-dark: #fcfbfa;                     /* Page background (Parayu off-white) */
    --bg-card: #ffffff;                     /* Card backgrounds */
    --bg-glass: rgba(255, 255, 255, 0.72);  /* Translucent glass surface */
    --bg-subtle: #f6f4f0;                   /* Muted secondary surface (footer, chips) */
    --header-bg: rgba(252, 251, 250, 0.82); /* Frosted sticky header / mobile drawer */
    --surface-1: rgba(28, 27, 25, 0.03);    /* Faint fills (tracks, inset panels) */
    --surface-2: rgba(28, 27, 25, 0.06);    /* Slightly stronger fills / hovers */
    --border-color: #e8e5df;                /* Subtle border (Parayu) */
    --border-hover: rgba(224, 30, 65, 0.35);/* Crimson accent hover border */
    --glass-highlight: rgba(255, 255, 255, 0.6); /* Top edge sheen on glass cards */

    /* Brand */
    --primary: #e01e41;        /* Crimson — the Parayu brand color */
    --primary-strong: #c81a39; /* Pressed / deeper crimson */
    --secondary: #a02bb0;      /* Violet-magenta — gradient end & software accent */
    --accent: #0d9488;         /* Teal — tertiary accent */
    --text-main: #1c1b19;      /* Warm charcoal */
    --text-muted: #706b61;     /* Muted body (Parayu) */
    --text-dark: #9a938a;      /* Faint / placeholder */
    --text-color: var(--text-main); /* Alias — legacy inline styles reference --text-color; tracks html.dark */

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-brand-hover: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-glow: radial-gradient(circle, rgba(224, 30, 65, 0.06) 0%, transparent 65%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);

    /* Shadows */
    --shadow-card: 0 10px 30px rgba(28, 27, 25, 0.05);
    --shadow-lift: 0 20px 40px rgba(28, 27, 25, 0.08);
    --shadow-glow: 0 20px 40px rgba(224, 30, 65, 0.10);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    --grid-line: rgba(28, 27, 25, 0.02);

    /* Layout Constants */
    --max-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-theme: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html.dark {
    color-scheme: dark;

    /* Surfaces */
    --bg-dark: #0a0a0b;                     /* Near-black page (matches Parayu dark) */
    --bg-card: #141416;                     /* Elevated card */
    --bg-glass: rgba(255, 255, 255, 0.03);  /* Frosted dark glass */
    --bg-subtle: #101012;                   /* Muted secondary surface */
    --header-bg: rgba(10, 10, 11, 0.82);
    --surface-1: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(244, 63, 94, 0.45);
    --glass-highlight: rgba(255, 255, 255, 0.06);

    /* Brand — same crimson identity, brightened for contrast on near-black */
    --primary: #f43f5e;
    --primary-strong: #fb7185;
    --secondary: #c084fc;
    --accent: #2dd4bf;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-dark: #71717a;

    /* Gradients */
    --gradient-glow: radial-gradient(circle, rgba(244, 63, 94, 0.12) 0%, transparent 65%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Shadows */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lift: 0 24px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 20px 40px rgba(244, 63, 94, 0.14);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --grid-line: rgba(255, 255, 255, 0.02);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    transition: var(--transition-theme);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Grid Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    pointer-events: none;
    z-index: -2;
}

/* Background Glow Spots */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-spot-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(224, 30, 65, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    will-change: transform;
}

.glow-spot-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(224, 30, 65, 0.04) 0%, transparent 70%);
    filter: blur(100px);
    will-change: transform;
}

/* Typography & Giant Headers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.font-giant {
    font-size: 5.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

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

/* Utilities & Glassmorphism */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--glass-highlight);
    box-shadow: var(--shadow-card), inset 0 1px 0 var(--glass-highlight);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

/* Theme Toggle Button (sun/moon) */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Show sun in dark mode, moon in light mode */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(224, 30, 65, 0.06);
    border: 1px solid rgba(224, 30, 65, 0.12);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-accent {
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.12);
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-brand);
    background-size: 200% auto;
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(224, 30, 65, 0.15);
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(224, 30, 65, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--surface-2);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 18px;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.btn-nav:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    border-color: var(--text-main);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-mark-img {
    display: block;
    height: 34px;
    width: 34px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--border-color);
}

/* Theme-specific logo marks: Day art in light, Night art in dark */
.logo-mark-night { display: none; }
html.dark .logo-mark-day { display: none; }
html.dark .logo-mark-night { display: block; }

.logo-render {
    color: var(--text-main);
}

.logo-logic {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-smooth);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

/* Resources Dropdown menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.arrow-icon {
    font-size: 0.6rem;
    vertical-align: middle;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .arrow-icon,
.nav-dropdown.active .arrow-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px var(--surface-2), inset 0 1px 0 var(--glass-highlight);
    z-index: 120;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    margin-bottom: 2px;
    text-align: left;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: var(--surface-1);
}

.dropdown-item h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
}

.dropdown-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Tab display management logic */
.main-content-area {
    padding-top: 100px;
    min-height: 80vh;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    padding: 60px 0 100px 0;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: tabSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabSlideUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* General Section Headings in Tabs */
.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 50px auto;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.75;
}

/* ==========================================
   TAB 1: CREATIVE STUDIO (Filmmaking)
   ========================================== */
.cinematic-hero {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 70px auto;
}

.cinematic-hero .hero-title {
    margin-bottom: 24px;
}

.cinematic-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Visual timeline mockup adjustments */
.visual-panel-wrapper {
    max-width: 800px;
    margin: 0 auto 100px auto;
    perspective: 1200px;
}

.visual-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.20), inset 0 1px 0 var(--surface-2);
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(2deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.visual-card:hover {
    transform: rotateX(2deg) rotateY(-2deg) rotateZ(0deg) translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px rgba(224, 30, 65, 0.08), inset 0 1px 0 var(--surface-2);
}

.visual-header {
    background: var(--surface-1);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.visual-body {
    padding: 24px;
    position: relative;
}

/* Timeline Playhead Laser Scanner */
.timeline-playhead-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    left: 20%;
    z-index: 5;
    pointer-events: none;
    transition: left 0.1s linear;
}

/* NLE Timeline Ruler styles */
.timeline-ruler {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 16px;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    user-select: none;
}

.ruler-tick {
    position: relative;
}

.ruler-tick::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 4px;
    background: var(--text-dark);
}

.timeline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
}

.timeline-row .label {
    width: 75px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clip {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.clip:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
}

.c-blue { background: rgba(224, 30, 65, 0.15); border: 1px solid var(--primary); }
.c-purple { background: rgba(224, 30, 65, 0.15); border: 1px solid var(--secondary); }
.c-green { background: rgba(16, 185, 129, 0.15); border: 1px solid var(--accent); }
.c-teal { background: rgba(20, 184, 166, 0.15); border: 1px solid #14b8a6; }

/* NLE controls styling */
.timeline-controls-row {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.timeline-asset-info {
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--text-muted);
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline-transport {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-btn {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.transport-btn:hover {
    background: var(--surface-2);
    color: var(--text-main);
    border-color: var(--surface-2);
}

.transport-btn.play-active {
    background: var(--gradient-brand);
    color: white;
    border: none;
    box-shadow: 0 0 10px rgba(224, 30, 65, 0.2);
}

.audio-db-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 35%;
}

.db-label {
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--text-muted);
    font-weight: 600;
}

.meter-bar {
    flex: 1;
    height: 6px;
    background: var(--surface-2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 70%, #f59e0b 85%, #ef4444 100%);
    border-radius: 2px;
    transition: width 0.15s ease-in-out;
}

/* Portfolio grid for projects */
.portfolio-section {
    padding-top: 50px;
}

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

.portfolio-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px var(--surface-2);
}

.portfolio-thumbnail {
    height: 250px;
    background: #0d0c0b;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(16px) brightness(0.35);
    transform: scale(1.15);
    z-index: 1;
    opacity: 0.9;
}

.thumbnail-poster-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .thumbnail-poster-img {
    transform: scale(1.04);
}

.thumbnail-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .thumbnail-cover-img {
    transform: scale(1.04);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(224, 30, 65, 0.06);
    border: 1px solid rgba(224, 30, 65, 0.15);
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.portfolio-info {
    padding: 24px;
    flex: 1;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.portfolio-role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Services section inside Creative Studio */
.services-wrapper {
    padding-top: 100px;
}

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

.service-card {
    padding: 50px 36px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(224, 30, 65, 0.02);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

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

/* ==========================================
   TAB 2: SOFTWARE LAB (Products)
   ========================================== */
.software-hero {
    max-width: 800px;
    margin: 0 auto;
}

.parayu-showcase-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 60px;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 100px;
}

.parayu-visual-mockup {
    width: 100%;
}

/* Premium product showcase — restrained motion, editorial controls */
.cinematic-deck {
    --deck-x: 50%;
    --deck-y: 45%;
    position: relative;
    isolation: isolate;
    perspective: 1400px !important;
}

.deck-aurora {
    position: absolute;
    inset: 18% -10% -4%;
    z-index: -1;
    pointer-events: none;
    opacity: .2;
    filter: blur(64px);
    background:
        radial-gradient(circle at 50% 45%, rgba(224, 30, 65, .18), transparent 40%),
        radial-gradient(circle at 72% 38%, rgba(160, 43, 176, .14), transparent 42%);
    transition: background-position .6s ease;
}

.deck-view-label {
    position: absolute !important;
    top: -19px;
    left: 18px;
    z-index: 30;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 8px 10px 8px 12px !important;
    overflow: hidden;
    background: color-mix(in srgb, var(--bg-card) 88%, transparent) !important;
    backdrop-filter: blur(20px) saturate(1.25);
    box-shadow: 0 8px 28px rgba(28, 27, 25, .1) !important;
}

.deck-label-count {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
}

.deck-label-text {
    min-width: 0;
    padding: 0 4px 0 0;
    text-align: left;
    background: transparent;
}

.cinematic-deck .mockup-frame {
    overflow: hidden !important;
    touch-action: pan-y;
    border: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent) !important;
    border-radius: 16px !important;
    background: var(--bg-card) !important;
    box-shadow: 0 28px 70px rgba(28, 27, 25, .16), 0 3px 12px rgba(28, 27, 25, .08) !important;
}

.cinematic-deck .slide-deck-item {
    transform-origin: center center;
    backface-visibility: hidden;
    border: 0 !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    opacity: 0;
    pointer-events: none;
    transform: none;
    will-change: transform, opacity;
}

.cinematic-deck .slide-deck-item.active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

.cinematic-deck .glossy-sheen { display: none; }

.deck-transition-layer,
.deck-shard,
.deck-shard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.deck-transition-layer {
    z-index: 12;
    overflow: hidden;
    pointer-events: none;
}

.deck-shard {
    will-change: transform, opacity;
}

.deck-shard img {
    display: block;
    object-fit: cover;
}

.deck-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -18%;
    width: 14%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.86) 46%, rgba(224,30,65,.72) 52%, transparent);
    filter: blur(1px);
    transform: skewX(-10deg);
    animation: deck-scan 720ms cubic-bezier(.16,1,.3,1) 80ms both;
}

@keyframes deck-scan {
    0% { left: -18%; opacity: 0; }
    15% { opacity: .72; }
    72% { opacity: .38; }
    100% { left: 110%; opacity: 0; }
}

.deck-arrow {
    position: absolute;
    top: 50%;
    z-index: 40;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 12px;
    color: #fff;
    background: rgba(16, 14, 18, .58);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}

.deck-arrow-prev { left: 14px; }
.deck-arrow-next { right: 14px; }
.cinematic-deck:hover .deck-arrow,
.deck-arrow:focus-visible { opacity: 1; }
.deck-arrow:hover { background: rgba(224, 30, 65, .92); border-color: rgba(255,255,255,.5); }

.deck-pagination {
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(12, 10, 15, .48);
    backdrop-filter: blur(18px) saturate(1.2);
    transform: translateX(-50%);
}

.deck-pagination .slider-dot {
    width: 6px !important;
    height: 6px !important;
    transform: none !important;
    transition: width .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease, background .3s ease !important;
}

.deck-pagination .slider-dot.active {
    width: 18px !important;
    border-radius: 999px !important;
    background: var(--primary) !important;
}

.deck-progress {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    z-index: 22;
    height: 2px;
    overflow: hidden;
    border-radius: 99px;
    background: color-mix(in srgb, var(--border-color) 55%, transparent);
}

.deck-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.deck-progress.is-running span { animation: deck-progress 6.4s linear forwards; }
@keyframes deck-progress { to { transform: scaleX(1); } }

@media (max-width: 768px) {
    .deck-arrow { display: none; }
    .deck-view-label { top: -16px; left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .cinematic-deck .slide-deck-item { transition-duration: .01ms !important; }
    .deck-transition-layer { display: none; }
    .deck-progress { display: none; }
}

.mockup-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--surface-2);
    border-radius: 12px;
    overflow: hidden;
}

.mockup-header {
    background: var(--surface-1);
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    align-items: center;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-dot.close { background: #ff5f56; }
.mockup-dot.minimize { background: #ffbd2e; }
.mockup-dot.maximize { background: #27c93f; }

.mockup-url {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 12px;
    font-family: monospace;
    letter-spacing: 0.05em;
    background: var(--surface-1);
    padding: 4px 10px;
    border-radius: 4px;
}

.mockup-content {
    padding: 44px 30px;
    text-align: center;
}

/* Flagship Parayu Waveform logo */
.app-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.app-custom-logo {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(224, 30, 65, 0.2);
    animation: logo-glow 3s infinite alternate ease-in-out;
    object-fit: contain;
}

@keyframes logo-glow {
    0% { box-shadow: 0 0 15px rgba(224, 30, 65, 0.15); }
    100% { box-shadow: 0 0 35px rgba(224, 30, 65, 0.3); transform: translateY(-3px); }
}

.app-tag {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Whisper voice visualizer waveforms */
.wave-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 48px;
    margin-bottom: 28px;
}

.wave-bar {
    width: 4px;
    background: var(--gradient-brand);
    border-radius: 100px;
    animation: bounce 1.2s infinite ease-in-out;
    transform-origin: center;
}

.wave-bar:nth-child(1) { height: 18px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 42px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 24px; animation-delay: 0.5s; }
.wave-bar:nth-child(4) { height: 46px; animation-delay: 0.2s; }
.wave-bar:nth-child(5) { height: 12px; animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1.1); }
}

.app-transcription {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-main);
    background: var(--surface-1);
    padding: 14px;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Feature bullets layout */
.feature-bullets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 30px 0;
}

.bullet-card {
    padding: 20px 24px;
}

.bullet-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.bullet-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.action-buttons-group {
    display: flex;
    gap: 16px;
}

/* Roadmaps */
.roadmap-section {
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

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

.roadmap-card {
    padding: 36px;
}

.roadmap-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.roadmap-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.roadmap-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}



/* ==========================================
   TAB 4: COLLABORATORS
   ========================================== */
.collaborators-hero {
    max-width: 800px;
    margin: 0 auto;
}

.founder-card {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    padding: 50px;
    align-items: flex-start;
    margin-top: 60px;
}

.founder-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.founder-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 var(--surface-1);
}

.founder-avatar-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(224, 30, 65, 0.18) 0%, rgba(224, 30, 65, 0.12) 50%, transparent 70%);
    animation: rotate-idle 12s infinite linear;
    z-index: 1;
}

.founder-avatar-inner {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    letter-spacing: -0.05em;
}

.founder-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.founder-badge-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.founder-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.founder-description:last-child {
    margin-bottom: 0;
}

.founder-disciplines {
    border-left: 1px solid var(--border-color);
    padding-left: 40px;
}

.founder-disciplines h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.discipline-tag {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.discipline-tag:hover {
    background: rgba(224, 30, 65, 0.04);
    border-color: var(--border-hover);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 30, 65, 0.05);
}

/* Team collaborators grid */
.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.collab-card {
    padding: 36px;
    transition: var(--transition-smooth);
}

.collab-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.16);
}

.collab-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.collab-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-smooth);
}

.collab-avatar.icon-dir { color: var(--primary); box-shadow: 0 0 15px rgba(224, 30, 65, 0.05); }
.collab-avatar.icon-edit { color: var(--secondary); box-shadow: 0 0 15px rgba(224, 30, 65, 0.05); }
.collab-avatar.icon-vfx { color: var(--accent); box-shadow: 0 0 15px rgba(16, 185, 129, 0.05); }
.collab-avatar.icon-dev { color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.05); }

.collab-card:hover .collab-avatar {
    transform: scale(1.05);
    border-color: var(--border-hover);
}

.collab-header h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.collab-role {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.collab-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================
   TAB 5: BLOGS
   ========================================== */
.blogs-hero {
    max-width: 800px;
    margin: 0 auto;
}

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

.blog-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-family: monospace;
    margin-bottom: 14px;
}

.blog-card h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-link:hover {
    color: var(--text-main);
    transform: translateX(4px);
    display: inline-block;
}

/* ==========================================
   TAB 6: SUPPORT
   ========================================== */
.support-hero {
    max-width: 800px;
    margin: 0 auto;
}

.support-faq-wrapper {
    max-width: 750px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    padding: 30px;
}

.faq-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   TAB 7: CONTACT
   ========================================== */
.contact-box {
    max-width: 680px;
    margin: 0 auto;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 44px;
}

.contact-form {
    padding: 44px;
    text-align: left;
    margin-bottom: 50px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.contact-form label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-form input, .contact-form select, .contact-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-form select {
    background: var(--bg-card);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(224, 30, 65, 0.1);
}

.email-container {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 120px;
    transition: var(--transition-smooth);
    position: relative;
}

.email-container:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 25px rgba(224, 30, 65, 0.15), inset 0 1px 0 var(--surface-2);
}

.email-text {
    font-size: 1.45rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.copied-indicator {
    font-size: 0.85rem;
    color: #34d399;
    margin-top: 18px;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

.copied-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Section */
.footer {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    color: var(--text-dark);
    font-size: 0.85rem;
    position: relative;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
}

.footer-links a:hover, .footer-links a.active {
    color: var(--text-main);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .font-giant {
        font-size: 3.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .parayu-showcase-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .action-buttons-group {
        justify-content: center;
    }
    
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    

    
    .founder-card {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px;
    }
    
    .founder-disciplines {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 30px;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Responsive Header & Navigation Overlay */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--header-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        z-index: 105;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav-dropdown .arrow-icon {
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.mobile-open .arrow-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        background: var(--surface-1);
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 10px;
        display: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }
    
    .nav-dropdown.mobile-open .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 10px;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .mobile-nav-active .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-nav-active .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-active .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .main-content-area {
        padding-top: 80px;
    }
    
    .tab-content {
        padding: 40px 0 60px 0;
    }
    
    .founder-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .email-container {
        padding: 12px 24px;
        width: 100%;
        justify-content: space-between;
    }
    
    .email-text {
        font-size: 1.15rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .font-giant {
        font-size: 2.6rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}

/* ==========================================
   Home Landing Page Split Section Styles
   ========================================== */
.split-hero {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 60px auto;
}

.split-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.split-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition-smooth);
}

.split-card:hover {
    transform: translateY(-6px);
}

.split-card.creative-mood:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(224, 30, 65, 0.05), inset 0 1px 0 var(--glass-highlight);
}

.split-card.software-mood:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(160, 43, 176, 0.05), inset 0 1px 0 var(--glass-highlight);
}

.split-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transition: var(--transition-smooth);
}

.creative-mood .split-card-glow {
    background: var(--primary);
    top: -50px;
    left: -50px;
}

.software-mood .split-card-glow {
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
}

.split-card:hover .split-card-glow {
    opacity: 0.15;
    transform: scale(1.2);
}

.split-card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.split-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.creative-mood .split-tag {
    background: rgba(224, 30, 65, 0.06);
    color: var(--primary);
    border: 1px solid rgba(224, 30, 65, 0.12);
}

.software-mood .split-tag {
    background: rgba(160, 43, 176, 0.06);
    color: var(--secondary);
    border: 1px solid rgba(160, 43, 176, 0.12);
}

.split-card-header h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.split-card-body {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    margin-bottom: 30px;
}

.split-card-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.split-bullets {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-bullets li {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.split-bullets li::before {
    content: "•";
    position: absolute;
    left: 4px;
    font-weight: bold;
}

.creative-mood .split-bullets li::before {
    color: var(--primary);
}

.software-mood .split-bullets li::before {
    color: var(--secondary);
}

.split-card-footer {
    position: relative;
    z-index: 1;
}

.btn-purple {
    background: var(--secondary);
    box-shadow: 0 4px 20px rgba(160, 43, 176, 0.15);
}

.btn-purple:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(160, 43, 176, 0.25);
    transform: translateY(-2px);
}

/* Unified Metrics Banner */
.unified-highlight-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    margin-bottom: 60px;
}

.banner-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 6px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.banner-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .split-showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .unified-highlight-banner {
        flex-direction: column;
        gap: 30px;
        padding: 40px 24px;
    }
    
    .banner-divider {
        width: 60px;
        height: 1px;
    }
}

/* Vertical Poster Grid Rules */
.portfolio-grid.vertical-posters {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .portfolio-grid.vertical-posters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid.vertical-posters {
        grid-template-columns: 1fr;
    }
}

.vertical-poster-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vertical-poster-thumbnail {
    width: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: #090909;
    border-radius: 12px 12px 0 0;
}

.vertical-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-poster-card:hover .vertical-poster-img {
    transform: scale(1.05);
}

/* Filmography Table Styling */
.filmography-table-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--surface-1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.filmography-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.filmography-table th {
    background: var(--surface-2);
    padding: 16px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
}

.filmography-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.filmography-table tr:last-child td {
    border-bottom: none;
}

.filmography-table tr:hover td {
    background: rgba(224, 30, 65, 0.02);
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.role-badge.director {
    background: rgba(224, 30, 65, 0.08);
    color: var(--primary);
    border: 1px solid rgba(224, 30, 65, 0.2);
}

.role-badge.producer {
    background: rgba(13, 148, 136, 0.08);
    color: var(--accent);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.role-badge.editor {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.role-badge.spoteditor {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* ==========================================================================
   Filmography → stacked cards on phones.
   The 5-column table overflows horizontally on narrow screens, so each row
   is reflowed into a self-contained card (year eyebrow, title, roles, notes).
   ========================================================================== */
@media (max-width: 768px) {
    .filmography-table-wrapper.glass-card {
        overflow-x: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
    }

    .filmography-table thead {
        display: none; /* column labels move into each card's visual hierarchy */
    }

    .filmography-table,
    .filmography-table tbody,
    .filmography-table tr,
    .filmography-table td {
        display: block;
        width: 100%;
    }

    .filmography-table tr {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        padding: 18px 20px;
        margin-bottom: 14px;
        box-shadow: var(--shadow-card);
    }

    .filmography-table td {
        padding: 0 !important;
        border-bottom: none !important;
    }

    /* Year — small crimson eyebrow */
    .filmography-table td:nth-child(1) {
        font-size: 0.72rem !important;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    /* Film title — card heading */
    .filmography-table td:nth-child(2) {
        font-size: 1.15rem !important;
        line-height: 1.25;
        color: var(--text-main) !important;
        margin-bottom: 12px;
    }

    /* Role badges — wrap onto their own row */
    .filmography-table td:nth-child(3) {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    /* Language */
    .filmography-table td:nth-child(4) {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--text-muted);
        margin-bottom: 8px;
    }
    .filmography-table td:nth-child(4)::before {
        content: "🌐 ";
    }

    /* Production credits / notes */
    .filmography-table td:nth-child(5) {
        font-size: 0.86rem;
        line-height: 1.55;
        color: var(--text-muted);
    }
}
