/* ----------------------------------------------------
   CUTCUT LANDING PAGE STYLE SHEET
   Brand Slogan: EDIT FAST, SHARE EASY
   Colors: Neon Green, Electric Lime, Dark Forest Green
   ---------------------------------------------------- */

:root {
    --color-primary: #00CB0C;       /* Neon Green */
    --color-accent: #8EFF1E;        /* Electric Lime */
    --color-highlight: #F5FE91;     /* Lemon Lime */
    --color-bg-dark: #002105;       /* Deep Forest Green */
    --color-bg-black: #090D0A;      /* Rich Black */
    --color-white: #FFFFFF;
    --color-text-gray: #8A998E;
    --color-text-muted: #5C665F;
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --glass-bg: rgba(9, 13, 10, 0.75);
    --glass-border: rgba(0, 203, 12, 0.15);
    --glass-glow: rgba(0, 203, 12, 0.05);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-family);
    background-color: var(--color-bg-black);
    color: var(--color-white);
    overflow-x: hidden;
    position: relative;
}

/* Body background gradient using guidelines */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 25%, var(--color-bg-dark) 0%, transparent 60%),
        url('assets/vertical_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
    z-index: -2;
}

/* Glowing Background Orbs */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
    animation: bgFloat 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    animation-delay: -5s;
}

.bg-glow-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 70%;
    background: radial-gradient(circle, var(--color-bg-dark) 0%, transparent 70%);
    animation-delay: -10s;
}

/* -----------------------------------------
   DESKTOP HEADER & NAVIGATION
   ----------------------------------------- */
.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 13, 10, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.navbar-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Logo next to each other (extremely close and large) */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0px; /* Reduced gap to bring them closer */
    cursor: pointer;
}

.nav-logo-icon {
    height: 64px; /* Slightly larger icon */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 203, 12, 0.25));
}

.nav-logo-text {
    height: 96px; /* Increased from 76px to make it even larger and match icon weight */
    width: auto;
    object-fit: contain;
    margin-left: -26px; /* Pull closer to overlap scaled transparent padding */
    margin-top: 9px; /* Increased margin-top to push down and center perfectly with the icon */
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    background: rgba(0, 203, 12, 0.1);
    border: 1.5px solid var(--color-primary);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(0, 203, 12, 0.15);
}

.nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg-black);
    box-shadow: 0 0 15px var(--color-primary);
    transform: translateY(-2px);
}

/* -----------------------------------------
   PAGE WRAPPER & DESKTOP HERO LAYOUT
   ----------------------------------------- */
.page-wrapper {
    width: 100%;
    max-width: 1100px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.desktop-hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 85px;
    width: 100%;
}

/* Centered Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 780px;
    width: 100%;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,203,12,0.25));
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--color-text-gray);
    margin-bottom: 2.25rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 480px;
    margin-top: 1.5rem; /* Reduced spacing above download buttons */
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.hero-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-bottom-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    z-index: 8;
}

.social-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

.social-icons-row {
    display: flex;
    gap: 0.85rem;
}

/* -----------------------------------------
   DESKTOP VISUAL MOCKUPS (LAPTOP + FLOATING TIMELINES)
   ----------------------------------------- */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 780px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin: 0 auto;
}

/* Widescreen Laptop Mockup - Centered */
.mockup-laptop {
    position: relative;
    width: 90%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.7),
        0 0 50px rgba(0, 203, 12, 0.05);
    overflow: visible;
    z-index: 4; /* Rendered behind timeline editor panel */
    animation: floatLaptop 8s infinite alternate ease-in-out; /* Float animation */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}

.laptop-base {
    position: absolute;
    bottom: -8px;
    left: -4%;
    width: 108%;
    height: 8px;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Hover dynamics on laptop screen */
.hero-visual:hover .mockup-laptop {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 
        0 45px 85px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 203, 12, 0.15);
}

/* Bảng điều khiển dựng video nổi (Timeline Editor & Player Panel) */
.floating-editor-panel {
    position: absolute;
    bottom: -10%; /* Shifted closer to screen bezel */
    left: -6%; /* Shifted left to reveal more of the video */
    width: 240px; /* Shrunk from 270px */
    background: rgba(9, 13, 10, 0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1.5px solid rgba(0, 203, 12, 0.18);
    border-radius: 14px;
    box-shadow: 
        0 25px 55px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 30px rgba(0, 203, 12, 0.04);
    display: flex;
    flex-direction: column;
    z-index: 7; /* Still floats on top of the laptop */
    pointer-events: auto; /* Cho phép tương tác (hover) nút bấm bên trong */
    transform: rotateX(10deg) rotateY(-6deg) rotateZ(-2deg);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    animation: floatEditorPanel 7s infinite alternate ease-in-out;
}

/* Header panel kiểu macOS */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-dots {
    display: flex;
    gap: 5px;
}

.mac-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.panel-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-text-gray);
    font-family: monospace;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.panel-timecode {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: monospace;
    letter-spacing: 0.05em;
    text-shadow: 0 0 6px rgba(0, 203, 12, 0.4);
}

/* Vùng chứa các track Timeline bên trong panel */
.panel-timeline {
    position: relative;
    padding: 6px 10px; /* Reduced from 10px 12px */
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduced from 7px */
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.timeline-track-row {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.track-label {
    font-size: 0.48rem; /* Shrunk from 0.52rem */
    font-weight: 800;
    color: var(--color-text-muted);
    min-width: 12px; /* Shrunk from 14px */
    letter-spacing: 0.05em;
}

.track-block {
    height: 12px; /* Shrunk from 15px */
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.block-inner-title {
    font-size: 0.4rem; /* Shrunk from 0.45rem */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
}

.block-purple {
    background: rgba(168, 85, 247, 0.35);
    border-color: rgba(168, 85, 247, 0.55);
}

.block-pink {
    background: rgba(236, 72, 153, 0.35);
    border-color: rgba(236, 72, 153, 0.55);
}

.block-green {
    background: rgba(16, 185, 129, 0.35);
    border-color: rgba(16, 185, 129, 0.55);
}

.block-green .track-waveform span {
    background: #34d399;
}

.block-cyan {
    background: rgba(6, 182, 212, 0.35);
    border-color: rgba(6, 182, 212, 0.55);
}

.block-cyan .track-waveform span {
    background: #22d3ee;
}

/* Sóng âm bên trong track của panel */
.track-waveform {
    display: flex;
    gap: 1.5px;
    align-items: center;
    height: 8px; /* Shrunk from 10px */
    flex: 1;
    min-width: 0;
}

.track-waveform span {
    flex-grow: 1;
    width: 1.5px;
    height: 30%;
    border-radius: 0.5px;
    display: block;
}

/* Tạo độ nhấp nhô cho sóng âm trong panel */
.track-waveform span:nth-child(2n) { height: 70%; }
.track-waveform span:nth-child(3n) { height: 90%; }
.track-waveform span:nth-child(5n) { height: 40%; }
.track-waveform span:nth-child(7n) { height: 80%; }

/* Ruler styling */
.timeline-ruler {
    position: relative;
    height: 10px; /* Shrunk from 14px */
    width: 100%;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ruler-tick {
    position: absolute;
    font-size: 0.45rem; /* Shrunk from 0.52rem */
    font-family: monospace;
    font-weight: 600;
    color: var(--color-text-muted);
    transform: translateX(-50%);
    top: -4px; /* Shifted to center alignment */
}

/* Custom track blocks */
.block-amber {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.45);
}

.block-lime {
    background: rgba(142, 255, 30, 0.22);
    border-color: rgba(142, 255, 30, 0.45);
}

/* Transition button inside V1 track */
.track-transition {
    width: 12px;
    height: 12px;
    background: rgba(9, 13, 10, 0.9);
    border: 1px solid rgba(0, 203, 12, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 3;
    margin: 0 -3px;
    transition: all 0.2s ease;
    box-shadow: 0 0 4px rgba(0, 203, 12, 0.2);
}

.track-transition:hover {
    background: var(--color-primary);
    color: var(--color-bg-black);
    border-color: var(--color-primary);
    transform: scale(1.15);
    box-shadow: 0 0 8px var(--color-primary);
}

/* Đường chỉ Playhead dọc giới hạn trong panel */
.timeline-scrubber-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 70%, transparent 100%);
    box-shadow: 0 0 8px var(--color-primary);
    z-index: 10;
    pointer-events: none;
    animation: scrubberLineMove 12s infinite linear;
}

.timeline-scrubber-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: var(--color-primary);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    box-shadow: 0 0 6px var(--color-primary);
}

/* Bảng điều khiển Player ở chân panel */
.player-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px; /* Shrunk padding from 8px 12px */
}

.player-btn {
    background: none;
    border: none;
    color: var(--color-text-gray);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px; /* Shrunk from 20px */
    height: 16px; /* Shrunk from 20px */
    border-radius: 4px;
    transition: all 0.2s ease;
}

.player-btn svg {
    width: 9px; /* Shrunk from 11px */
    height: 9px; /* Shrunk from 11px */
}

.player-btn:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.play-btn {
    background: rgba(0, 203, 12, 0.12);
    border: 1px solid rgba(0, 203, 12, 0.35);
    color: var(--color-primary);
    border-radius: 50%;
    width: 18px; /* Shrunk from 24px */
    height: 18px; /* Shrunk from 24px */
}

.play-btn svg {
    width: 7px; /* Shrunk from 9px */
    height: 7px; /* Shrunk from 9px */
    margin-left: 1px; /* Cân chỉnh quang học cho tam giác play */
}

.play-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg-black);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

/* Thanh Progress Scrubber ngang */
.player-scrubber-container {
    display: flex;
    align-items: center;
    gap: 6px; /* Shrunk from 8px */
    flex-grow: 1;
}

.scrubber-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1.5px;
    flex-grow: 1;
    position: relative;
    cursor: pointer;
}

.scrubber-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 1.5px;
    width: 0%;
    position: absolute;
    left: 0;
    top: 0;
    animation: scrubberFillMove 12s infinite linear;
}

.scrubber-handle {
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    left: 0%;
    box-shadow: 0 0 6px var(--color-accent);
    animation: scrubberHandleMove 12s infinite linear;
}

.time-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--color-text-muted);
    font-family: monospace;
    min-width: 55px;
    text-align: right;
}

/* Nút Play phát sáng */
.pulse-glow {
    animation: glowPulse 2s infinite alternate ease-in-out;
}

/* Các track bay lơ lửng bên ngoài laptop (Giữ lại ít hơn để thoáng bố cục) */
.floating-track {
    position: absolute;
    z-index: 10; /* Float in front of the laptop video */
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(9, 13, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid rgba(0, 203, 12, 0.18);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 203, 12, 0.04);
}

.floating-track .track-block {
    margin-left: 0 !important;
    flex-grow: 1;
}

.floating-track .track-icon {
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    margin-right: 2px;
}

.floating-track .track-label {
    color: var(--color-primary); /* High-contrast label color for neon green contrast */
    font-size: 0.5rem;
    font-weight: 800;
    min-width: auto;
    margin-right: 4px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(0, 203, 12, 0.4);
}

/* Track 1: Cyan Audio (Góc trên bên trái) */
.track-audio-2 {
    background: rgba(6, 182, 212, 0.28);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(6, 182, 212, 0.15);
    top: 6%; /* Positioned closer to screen top bezel */
    left: 2%; /* Positioned closer to screen left bezel */
    right: auto !important;
    width: 220px;
    transform: rotateX(15deg) rotateY(-5deg) rotateZ(3deg);
    animation: floatTrackAudio2 8s infinite alternate ease-in-out;
}

.track-audio-2 .track-waveform span {
    background: #06b6d4;
}

/* Trình mô phỏng sóng nhạc bên ngoài */
.track-audio-2 .track-waveform span:nth-child(3n) { height: 80%; }
.track-audio-2 .track-waveform span:nth-child(4n) { height: 50%; }
.track-audio-2 .track-waveform span:nth-child(7n) { height: 95%; }

/* Track 2: AI Sync (Góc trên bên phải) */
.track-effect-1 {
    background: rgba(16, 185, 129, 0.28);
    border-color: rgba(0, 203, 12, 0.45);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(0, 203, 12, 0.15);
    top: 14%; /* Positioned closer to laptop screen top bezel */
    left: 35%; /* Repositioned to prevent overlap with track-audio-3 */
    right: auto !important;
    width: 105px;
    transform: rotateX(12deg) rotateY(12deg) rotateZ(-3deg);
    animation: floatTrackEffect1 7s infinite alternate ease-in-out;
}

/* Track 3: Voiceover Wave (Góc trên bên phải lệch ngoài) */
.track-audio-3 {
    background: rgba(16, 185, 129, 0.28);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(16, 185, 129, 0.15);
    top: 5%; /* Positioned closer to screen right bezel */
    right: 2%; /* Positioned closer to screen right bezel */
    left: auto !important;
    width: 200px;
    transform: rotateX(10deg) rotateY(10deg) rotateZ(2deg);
    animation: floatTrackAudio3 9s infinite alternate ease-in-out;
}

.track-audio-3 .track-waveform span {
    background: #10b981;
}

.track-audio-3 .track-waveform span:nth-child(2n) { height: 60%; }
.track-audio-3 .track-waveform span:nth-child(4n) { height: 90%; }
.track-audio-3 .track-waveform span:nth-child(5n) { height: 40%; }

/* Track 4: Sound FX Wave (Góc dưới bên phải) */
.track-audio-4 {
    background: rgba(168, 85, 247, 0.28);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(168, 85, 247, 0.15);
    bottom: 4%; /* Positioned closer to bottom bezel */
    right: 4%; /* Positioned closer to bottom bezel */
    left: auto !important;
    width: 180px;
    transform: rotateX(-12deg) rotateY(15deg) rotateZ(-3deg);
    animation: floatTrackAudio4 7.5s infinite alternate ease-in-out;
}

.track-audio-4 .track-waveform span {
    background: #a855f7;
}

.track-audio-4 .track-waveform span:nth-child(3n) { height: 75%; }
.track-audio-4 .track-waveform span:nth-child(4n) { height: 45%; }
.track-audio-4 .track-waveform span:nth-child(6n) { height: 85%; }

/* Floating Edit Tools (Kéo & Cuộn phim) */
.floating-edit-icon {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(9, 13, 10, 0.85);
    border: 1px solid rgba(0, 203, 12, 0.3);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.6), 
        0 0 20px rgba(0, 203, 12, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
    z-index: 10; /* Float in front of the laptop video */
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.floating-edit-icon svg {
    width: 18px;
    height: 18px;
}

.tool-scissors {
    bottom: -2%;
    left: -4%;
    transform: rotateZ(-15deg);
    animation: floatTool1 8.5s infinite alternate ease-in-out;
}

.tool-film {
    top: 25%;
    right: -3%;
    transform: rotateZ(15deg);
    animation: floatTool2 7.5s infinite alternate ease-in-out;
}

/* Hover tương tác với toàn bộ khu vực Visual */
.hero-visual:hover .floating-editor-panel {
    transform: rotateX(6deg) rotateY(-3deg) rotateZ(-1deg) translateY(-12px) scale(1.02);
    border-color: rgba(0, 203, 12, 0.45);
    box-shadow: 
        0 30px 65px rgba(0, 0, 0, 0.95), 
        0 0 45px rgba(0, 203, 12, 0.25);
}

.hero-visual:hover .floating-track {
    border-color: rgba(0, 203, 12, 0.45);
}

/* Animations Keyframes */

@keyframes floatLaptop {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@keyframes floatEditorPanel {
    0% { transform: rotateX(10deg) rotateY(-6deg) rotateZ(-2deg) translateY(0); }
    100% { transform: rotateX(10deg) rotateY(-6deg) rotateZ(-2deg) translateY(-8px); }
}

@keyframes floatTrackAudio2 {
    0% { transform: rotateX(15deg) rotateY(-5deg) rotateZ(3deg) translateY(0); }
    100% { transform: rotateX(15deg) rotateY(-5deg) rotateZ(3deg) translateY(-12px) translateX(4px); }
}

@keyframes floatTrackEffect1 {
    0% { transform: rotateX(12deg) rotateY(12deg) rotateZ(-3deg) translateY(0); }
    100% { transform: rotateX(12deg) rotateY(12deg) rotateZ(-3deg) translateY(-15px) translateX(-4px); }
}

@keyframes floatTrackAudio3 {
    0% { transform: rotateX(10deg) rotateY(10deg) rotateZ(2deg) translateY(0); }
    100% { transform: rotateX(10deg) rotateY(10deg) rotateZ(2deg) translateY(-14px) translateX(-4px); }
}

@keyframes floatTrackAudio4 {
    0% { transform: rotateX(-12deg) rotateY(15deg) rotateZ(-3deg) translateY(0); }
    100% { transform: rotateX(-12deg) rotateY(15deg) rotateZ(-3deg) translateY(12px) translateX(5px); }
}

@keyframes floatTool1 {
    0% { transform: translateY(0) rotateZ(-15deg); }
    100% { transform: translateY(-12px) translateX(8px) rotateZ(15deg); }
}

@keyframes floatTool2 {
    0% { transform: translateY(0) rotateZ(15deg); }
    100% { transform: translateY(15px) translateX(-6px) rotateZ(-10deg); }
}

/* Đồng bộ các chuyển động của thanh Playhead / Scrubber bên trong Panel */
@keyframes scrubberLineMove {
    0% { left: 24px; }       /* Khởi đầu từ cạnh ngoài của label V1/A1 */
    100% { left: 95%; }      /* Chạy tới sát cạnh phải */
}

@keyframes scrubberFillMove {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes scrubberHandleMove {
    0% { left: 0%; }
    100% { left: 100%; }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 3px rgba(0, 203, 12, 0.4); }
    100% { box-shadow: 0 0 10px rgba(142, 255, 30, 0.7); }
}

/* -----------------------------------------
   VIDEO CONTAINER & SOUND STYLING
   ----------------------------------------- */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.mockup-laptop .video-container {
    border-radius: 14px;
}

.promo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Sound Toggle Button */
.sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(9, 13, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sound-toggle svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.sound-toggle:hover {
    background: var(--color-primary);
    color: var(--color-bg-black);
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 12px var(--color-primary);
}

.sound-toggle.unmuted {
    background: var(--color-accent);
    color: var(--color-bg-black);
    border-color: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent);
}

.hidden {
    display: none !important;
}

/* Ratios */
.horizontal-ratio {
    aspect-ratio: 16 / 9;
}

.vertical-ratio {
    aspect-ratio: 9 / 16;
}

/* Badge Label */
.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(0, 203, 12, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(0, 203, 12, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

/* -----------------------------------------
   MOBILE ONLY LAYOUT (FALLBACK CARD VIEW)
   ----------------------------------------- */
.mobile-only-layout {
    display: none;
    width: 100%;
}

.card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 2rem 1.25rem 1.5rem 1.25rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

/* Grouped Brand Icon and Text Logo close together */
.brand-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 0;
    width: auto;
}

.app-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
    position: relative;
}

.icon-glow {
    display: none;
}

.app-logo {
    width: 130px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-top: -14px;
}

.logo-text {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile Slogan & Text */
.slogan-container {
    margin-bottom: 0.75rem;
    margin-top: -2px;
}

.slogan {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, #FFFFFF 0%, var(--color-accent) 60%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 203, 12, 0.15);
}

.description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-gray);
    margin-bottom: 2.25rem;
}

/* Mobile vertical video player */
.mobile-video-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
}

.mobile-video-wrapper .video-container {
    border-radius: 20px;
    border: 1.5px solid rgba(0, 203, 12, 0.2);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 203, 12, 0.08);
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* CTA Container & Buttons */
.cta-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* App Store Active Button */
.btn-appstore {
    background: #000000;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-appstore .btn-icon,
.btn-appstore .btn-text {
    color: #FFFFFF;
}

.btn-appstore::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.btn-appstore:hover {
    transform: translateY(-3px);
    background: #111111;
    border-color: var(--color-primary);
    box-shadow: 
        0 10px 25px rgba(0, 203, 12, 0.25), 
        0 0 15px rgba(0, 203, 12, 0.15);
}

.btn-appstore:active {
    transform: translateY(-1px);
}

/* Play Store Disabled Button */
.btn-playstore.coming-soon {
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
    overflow: visible; /* Allow the COMING SOON badge to extend outside */
}

.btn-playstore.coming-soon .btn-icon,
.btn-playstore.coming-soon .btn-text {
    color: rgba(255, 255, 255, 0.3);
}

.btn-playstore.coming-soon:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
}

.btn-playstore.coming-soon:hover .btn-icon,
.btn-playstore.coming-soon:hover .btn-text {
    color: rgba(255, 255, 255, 0.45);
}

.btn-playstore.coming-soon::after {
    content: 'COMING SOON';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    background: rgba(9, 13, 10, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-gray);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.btn-playstore.coming-soon:hover::after {
    opacity: 1;
    border-color: var(--color-primary);
    color: var(--color-accent);
}

/* Section Divider */
.divider {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.divider::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
}

.divider::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* Social Media Container */
.social-container {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-gray);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.15);
    color: #FFFFFF;
}

/* Premium Custom Social Hover Glow states */

/* Instagram */
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: #d6249f;
    box-shadow: 0 0 15px rgba(214, 36, 159, 0.5);
}

/* Facebook */
.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

/* TikTok */
.social-icon.tiktok:hover {
    background: #000000;
    border-color: #ffffff;
    box-shadow: 
        -2px -2px 0px rgba(254, 44, 85, 0.8), 
        2px 2px 0px rgba(37, 244, 238, 0.8),
        0 0 15px rgba(255, 255, 255, 0.25);
}

/* Threads */
.social-icon.threads:hover {
    background: #101010;
    border-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* X (Twitter) */
.social-icon.x:hover {
    background: #0F0F0F;
    border-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Minimal Footer Styles */
.footer {
    margin-top: auto;
    padding-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.footer p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content.fade-in {
    animation-delay: 0.1s;
}

.hero-visual.fade-in {
    animation-delay: 0.3s;
}

.card.fade-in {
    animation-delay: 0.1s;
}

.footer.fade-in {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    from {
        opacity: 0.4;
        transform: scale(0.98);
        filter: blur(6px);
    }
    to {
        opacity: 0.8;
        transform: scale(1.03);
        filter: blur(10px);
    }
}

@keyframes bgFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 40px) scale(0.9);
    }
}

/* -----------------------------------------
   RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   ----------------------------------------- */
@media (max-width: 900px) {
    /* Hide Desktop layout elements */
    .desktop-header {
        display: none !important;
    }
    
    .desktop-hero-layout {
        display: none !important;
    }
    
    /* Show Mobile layout card */
    .mobile-only-layout {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    
    .page-wrapper {
        padding: 1rem 1rem;
        justify-content: flex-start;
        min-height: auto;
    }
    
    .card {
        padding: 1rem 1.25rem;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .app-icon-container {
        width: 100px;
        height: 100px;
        margin-right: 12px;
    }

    .app-icon {
        border-radius: 0;
        box-shadow: none;
    }
    
    .app-logo {
        width: 130px;
        margin-top: -65px;
    }

    .brand-group {
        margin-bottom: 0;
        gap: 0;
    }

    .slogan-container {
        margin-top: -38px;
        margin-bottom: 0.5rem;
    }

    .mobile-video-wrapper {
        margin-bottom: 1rem;
    }

    .cta-container {
        margin-bottom: 1rem;
    }
    
    .slogan {
        font-size: 1.05rem;
    }
    
    .description {
        font-size: 0.85rem;
        margin-bottom: 1.75rem;
    }
    
    .btn-playstore.coming-soon::after {
        display: none; /* Hide coming soon badge label internally on narrow mobile to avoid overlap */
    }
    
    .btn-playstore.coming-soon::before {
        content: 'SOON';
        position: absolute;
        right: 1rem;
        font-size: 0.55rem;
        font-weight: 800;
        background: rgba(9, 13, 10, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: var(--color-text-gray);
        padding: 0.15rem 0.35rem;
        border-radius: 4px;
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
    }
    
    .btn-playstore.coming-soon:hover::before {
        border-color: var(--color-primary);
        color: var(--color-accent);
    }
}
