/* landing-page/styles.css */

/* ==========================================================================
   1. DESIGN SYSTEM & ROOT TOKENS
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-deep: #030508;
    --bg-secondary: #080b11;
    --bg-panel: rgba(10, 14, 23, 0.45);
    --bg-panel-hover: rgba(15, 22, 36, 0.6);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    /* Glowing Brand Colors */
    --primary: #ff5a1f;          /* Neon Orange/Coral */
    --primary-rgb: 255, 90, 31;
    --accent-purple: #7c3aed;    /* Vibrant Violet */
    --accent-purple-rgb: 124, 58, 237;
    --accent-cyan: #06b6d4;      /* Node Connection Teal */
    --accent-cyan-rgb: 6, 182, 212;
    --accent-emerald: #10b981;   /* Live/Active Green */
    --accent-emerald-rgb: 16, 185, 129;
    
    /* Layout Borders & Shadows */
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(255, 255, 255, 0.02);
    --shadow-premium: 0 20px 50px -12px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.04);
    
    /* Easing Curve */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE & GENERAL STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .logo, .price {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.15rem 0.45rem;
    font-family: monospace;
    font-size: 0.8em;
    color: var(--text-main);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Selection */
::selection {
    background: rgba(255, 90, 31, 0.3);
    color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   3. DYNAMIC AMBIENT BACKGROUND
   ========================================================================== */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-deep);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.16;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 65vw;
    height: 65vw;
    top: -25vh;
    left: -20vw;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.8) 0%, transparent 80%);
    animation-duration: 22s;
}

.orb-2 {
    width: 55vw;
    height: 55vw;
    bottom: -15vh;
    right: -15vw;
    background: radial-gradient(circle, rgba(var(--accent-purple-rgb), 0.8) 0%, transparent 80%);
    animation-delay: -6s;
    animation-duration: 28s;
}

.orb-3 {
    width: 45vw;
    height: 45vw;
    top: 35vh;
    left: 30vw;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.8) 0%, transparent 80%);
    animation-delay: -12s;
    animation-duration: 35s;
    opacity: 0.08;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    opacity: 0.5;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(4%, 6%) scale(1.08) rotate(120deg); }
    66% { transform: translate(-4%, 10%) scale(0.92) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

/* ==========================================================================
   4. NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1200px;
    background: rgba(8, 10, 16, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    z-index: 1000;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    top: 0.75rem;
    background: rgba(6, 8, 12, 0.85);
    box-shadow: var(--shadow-premium);
    border-color: rgba(255, 255, 255, 0.09);
    padding: 0.6rem 2rem;
}

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

.logo {
    font-weight: 900;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 90, 31, 0.2);
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-link.highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    color: var(--text-main);
    transition: all 0.3s var(--ease-out-expo);
}

.nav-link.highlight::after { display: none; }

.nav-link.highlight:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--text-main) 0%, #e2e8f0 100%);
    color: var(--bg-deep);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-glow {
    box-shadow: 0 0 25px rgba(255, 90, 31, 0.25);
    background: linear-gradient(135deg, var(--primary) 0%, #e04a10 100%);
    color: var(--text-main);
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(255, 90, 31, 0.45);
    transform: translateY(-2px);
}

.btn .arrow-icon {
    transition: transform 0.3s var(--ease-out-expo);
}
.btn:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
}

/* Utility Classes */
.w-100 { width: 100%; }
.mt-4  { margin-top: 1.5rem; }

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
    padding: 13rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.badge-container {
    position: relative;
    margin-bottom: 2.2rem;
    display: inline-block;
}

.badge-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    border-radius: 100px;
    filter: blur(8px);
    opacity: 0.4;
}

.badge {
    position: relative;
    background: rgba(8, 10, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.4rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.text-gradient-animated {
    background: linear-gradient(to right, var(--primary), #ffa37b, var(--accent-purple), var(--primary));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 10s linear infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 6rem;
}

/* ==========================================================================
   7. INTERACTIVE BROWSER CANVAS MOCKUP
   ========================================================================== */
.hero-visual {
    width: 100%;
    perspective: 1000px;
    padding: 0 1rem;
}

.browser-mockup {
    width: 100%;
    max-width: 1200px;
    height: 720px;
    background: rgba(8, 11, 18, 0.85);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    position: relative;
    display: flex;
    transform: rotateX(2deg);
    transition: transform 0.5s var(--ease-out-expo);
}

.browser-mockup:hover {
    transform: rotateX(0deg) translateY(-5px);
}

/* Sidebar */
.canvas-sidebar {
    width: 56px;
    background: #06090f;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0;
    gap: 1.4rem;
    z-index: 10;
}

.sidebar-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-icon:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

.sidebar-icon.active {
    color: var(--primary);
    background: rgba(255, 90, 31, 0.08);
    border: 1px solid rgba(255, 90, 31, 0.15);
}

.sidebar-separator {
    width: 24px;
    height: 1px;
    background: var(--border);
}

.sidebar-icon.bottom {
    margin-top: auto;
}

/* Canvas Area */
.canvas-bg {
    position: absolute;
    inset: 56px 0 0 56px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
}

.canvas-windows {
    position: absolute;
    inset: 0 0 0 56px;
    z-index: 5;
    overflow: hidden;
}

/* Canvas Overlays (Shortcuts, Menu, Minimap) */
.canvas-shortcuts {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    z-index: 20;
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.canvas-shortcuts:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.canvas-menu-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 20;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--accent-purple-rgb), 0.4);
    transition: transform 0.2s;
}

.canvas-menu-btn:hover {
    transform: scale(1.05);
}

.minimap {
    position: absolute;
    bottom: 16px;
    left: 72px; /* 56px sidebar + 16px padding */
    width: 120px;
    height: 80px;
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 20;
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.minimap-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.minimap-window {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.minimap-window.m-w1 { top: 20%; left: 10%; width: 25%; height: 25%; }
.minimap-window.m-w2 { top: 30%; left: 45%; width: 30%; height: 20%; }
.minimap-window.m-w3 { top: 60%; left: 60%; width: 25%; height: 20%; }
.minimap-window.m-w4 { top: 55%; left: 15%; width: 25%; height: 20%; }

/* SVG Line Connections */
.canvas-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.animated-line {
    stroke-dasharray: 6 6;
    animation: dashMove 25s linear infinite;
    filter: drop-shadow(0 0 4px rgba(var(--accent-cyan-rgb), 0.15));
    transition: stroke-dasharray 0.3s;
}

#path-w4-w2 {
    filter: drop-shadow(0 0 4px rgba(var(--primary-rgb), 0.15));
}

#path-w2-w3 {
    filter: drop-shadow(0 0 4px rgba(var(--accent-purple-rgb), 0.15));
}

@keyframes dashMove {
    to { stroke-dashoffset: -250; }
}

/* Connection Ports */
.port {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    position: absolute;
    z-index: 15;
    border: 2px solid #0d111a;
    transition: all 0.2s ease;
}

.port-right {
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.port-left {
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.port-left-bottom {
    left: -4px;
    top: 70%;
    transform: translateY(-50%);
}

.canvas-window:hover .port {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transform: translateY(-50%) scale(1.3);
}

/* Floating Sticky Notes */
.sticky-note {
    position: absolute;
    width: 130px;
    padding: 0.8rem;
    font-size: 0.8rem;
    color: #0b0f19;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 4;
    border-bottom-right-radius: 12px;
    transition: transform 0.2s ease;
}

.sticky-note.yellow { background: #fef08a; }
.sticky-note.blue { background: #bae6fd; }

.sticky-note .pin {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.4);
}

.sticky-note p {
    margin: 0;
    padding-top: 6px;
    line-height: 1.3;
    text-align: center;
}

/* Floating Windows styling */
.canvas-window {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 6;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.canvas-window.dragging {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 90, 31, 0.15);
    border-color: rgba(255, 90, 31, 0.3);
    z-index: 20;
    transition: none; /* remove animation delay during drag */
}

.window-header {
    background: #0b0e14;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    cursor: grab;
}

.window-header:active {
    cursor: grabbing;
}

.window-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.window-dots {
    display: flex;
    gap: 0.3rem;
    margin-right: 0.5rem;
}

.w-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.w-dot.red { background: #ef4444; }
.w-dot.yellow { background: #f59e0b; }
.w-dot.green { background: #10b981; }

.url-badge {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.window-actions {
    color: var(--text-dark);
}

.window-body {
    flex-grow: 1;
    padding: 0.8rem;
    font-size: 0.8rem;
}

/* Window 1: Vercel style */
.window-1 { width: 330px; height: 210px; top: 6%; left: 4%; }
.vercel-panel { background: #000; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
.vercel-search { background: #111; border: 1px solid #222; border-radius: 6px; padding: 0.35rem 0.6rem; color: #555; display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; }
.vercel-tabs { display: flex; border-bottom: 1px solid #222; font-size: 0.7rem; }
.vercel-tab { padding: 0.3rem 0.6rem; color: #666; cursor: pointer; }
.vercel-tab.active { color: #fff; border-bottom: 1px solid #fff; }
.vercel-empty { text-align: center; color: #444; padding: 1rem 0; font-size: 0.75rem; }

/* Window 2: Fixyt Pro Dashboard (Presence Widget) */
.window-2 { width: 340px; height: 260px; top: 12%; left: 42%; }
.fixyt-panel { background: #07090f; display: flex; flex-direction: column; gap: 0.8rem; }
.pro-card-header { display: flex; align-items: center; gap: 0.8rem; }
.pro-card-header h4 { font-size: 0.95rem; margin: 0; }
.pro-card-header p { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.05em; }
.status-pill { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.15); padding: 0.15rem 0.5rem; border-radius: 100px; font-size: 0.65rem; color: var(--accent-emerald); margin-left: auto; font-weight: 600;}
.presence-list { display: flex; flex-direction: column; gap: 0.4rem; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem; }
.presence-user { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; padding: 0.2rem 0; }
.presence-user .user-info { display: flex; align-items: center; gap: 0.4rem; }
.presence-user .avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.55rem; color: #fff; font-weight: 700;}
.presence-user .kick-btn { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: #ef4444; border-radius: 4px; padding: 0.1rem 0.4rem; font-size: 0.6rem; cursor: pointer; transition: all 0.2s; }
.presence-user .kick-btn:hover { background: #ef4444; color: #fff; }
.presence-user.you { border-left: 2px solid var(--accent-emerald); padding-left: 0.4rem; }
.presence-user.you .avatar { background: var(--accent-emerald); }

/* Window 3: YouTube Style */
.window-3 { width: 330px; height: 210px; top: 56%; left: 60%; }
.youtube-panel { background: #0f0f0f; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.yt-search-bar { background: #222; height: 22px; border-radius: 12px; border: 1px solid #333; }
.yt-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.yt-card { border-radius: 8px; background: #282828; overflow: hidden; }
.yt-thumb { height: 90px; background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%); display: flex; align-items: center; justify-content: center; position: relative;}
.yt-play { width: 26px; height: 26px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white;}
.yt-info { padding: 0.4rem; font-size: 0.7rem; color: #aaa; }

/* Window 4: Supabase Style */
.window-4 { width: 330px; height: 200px; top: 56%; left: 8%; }
.supabase-panel { background: #161616; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.supa-proj-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 0.4rem; }
.supa-name { font-weight: bold; color: var(--accent-emerald); font-size: 0.75rem; }
.supa-branch { font-family: monospace; font-size: 0.65rem; color: #f59e0b; background: rgba(245, 158, 11, 0.08); padding: 0.1rem 0.3rem; border-radius: 4px; }
.supa-console { font-family: monospace; font-size: 0.7rem; color: #888; background: #0d0d0d; border-radius: 6px; padding: 0.5rem; height: 70px; overflow: hidden; border: 1px solid #222; }
.supa-line { color: #ccc; }
.supa-line.green { color: var(--accent-emerald); }

/* Custom Floating Cursor Simulation */
.custom-cursor {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.1s linear;
}
.custom-cursor svg {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}
.cursor-label {
    position: absolute;
    top: 14px;
    left: 10px;
    background: var(--accent-cyan);
    color: #030508;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Custom Live Toast alert */
.toast-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    pointer-events: none;
}

.toast {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Minimap */
.minimap {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 90px;
    height: 65px;
    background: rgba(4, 6, 10, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    z-index: 10;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.minimap-grid {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.minimap-window {
    position: absolute;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease-out;
}
.minimap-window.m-w1 { background: var(--accent-cyan); width: 30%; height: 30%; }
.minimap-window.m-w2 { background: var(--primary); width: 31%; height: 40%; }
.minimap-window.m-w3 { background: var(--accent-purple); width: 30%; height: 30%; }
.minimap-window.m-w4 { background: var(--accent-emerald); width: 30%; height: 28%; }

/* ==========================================================================
   8. SOCIAL PROOF / LOGO CLOUD
   ========================================================================== */
.social-proof {
    text-align: center;
    padding: 4rem 2rem 5rem;
    border-bottom: 1px solid var(--border);
    max-width: 1000px;
    margin: 0 auto;
}

.social-proof p {
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.8rem;
    font-weight: 700;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.65;
}

.dot-separator {
    color: var(--primary);
    font-size: 0.6rem;
}

/* ==========================================================================
   9. BENTO GRID FEATURES SECTION
   ========================================================================== */
.features {
    padding: 9rem 2rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.title-glow {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Bento Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.bento-card {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.bento-card:hover {
    background: var(--bg-panel-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Layout Sizes */
.bento-large { grid-column: span 4; }
.bento-medium { grid-column: span 2; }
.bento-small { grid-column: span 3; }

.bento-content {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.25;
    z-index: 1;
}

.bento-card.orange-glow .icon-glow { background: var(--primary); }
.bento-card.purple-glow .icon-glow { background: var(--accent-purple); }
.bento-card.cyan-glow .icon-glow { background: var(--accent-cyan); }
.bento-card.emerald-glow .icon-glow { background: var(--accent-emerald); }

/* Radial mouse track highlight (handled in JS) */
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.05), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}
.bento-card:hover::before {
    opacity: 1;
}

/* Bento Card Decorative Mockups */
.bento-visual {
    margin-top: auto;
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Miniature Node Mockup */
.mini-node-mockup {
    width: 100%;
    height: 120px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.mini-node {
    position: absolute;
    width: 60px;
    height: 35px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

.mini-node.n1 { top: 20px; left: 20px; border-left: 2px solid var(--accent-cyan); }
.mini-node.n2 { top: 65px; left: 140px; border-left: 2px solid var(--primary); }
.mini-node.n3 { top: 15px; left: 260px; border-left: 2px solid var(--accent-purple); }

.mini-node-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Collaboration Indicator */
.collab-circles {
    display: flex;
    align-items: center;
    gap: -0.5rem;
    padding-left: 0.5rem;
}
.collab-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-deep);
    background: var(--accent-purple);
    color: white;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-left: -8px;
}
.collab-circle:nth-child(1) { background: var(--primary); }
.collab-circle:nth-child(2) { background: var(--accent-cyan); }
.collab-circle:nth-child(3) { background: var(--accent-emerald); }
.collab-circle.add { background: rgba(255,255,255,0.05); color: var(--text-muted); border-style: dashed; margin-left: -4px; }

/* Focus Timer Demo inside bento */
.focus-timer-demo {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.4);
}
.timer-countdown {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    letter-spacing: 0.05em;
    animation: pulseText 1.5s infinite alternate;
}
@keyframes pulseText {
    from { opacity: 0.8; }
    to { opacity: 1; }
}
.timer-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    overflow: hidden;
}
.timer-bar {
    width: 65%;
    height: 100%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

/* Command Palette Input Demo */
.cmd-palette-demo {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.cmd-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
}
.cmd-cursor {
    width: 1px;
    height: 14px;
    background: var(--primary);
    animation: cursorBlink 0.8s infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* ==========================================================================
   10. INTERACTIVE PREVIEWS (DEEP DIVE SECTION)
   ========================================================================== */
.deep-dive {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 11, 17, 0.4) 50%, transparent 100%);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.dive-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: rgba(255,255,255,0.02);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dive-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.dive-tab-btn.active {
    background: var(--text-main);
    color: var(--bg-deep);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dive-panels {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    min-height: 380px;
    box-shadow: var(--shadow-premium);
}

.dive-panel {
    display: none;
    animation: fadeInTab 0.5s var(--ease-out-expo) forwards;
}

.dive-panel.active {
    display: flex;
    align-items: center;
    gap: 3rem;
}

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

.dive-info {
    flex: 1;
}

.dive-info h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.dive-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dive-preview {
    flex: 1.2;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Deep Dive Custom Mockups */
.flow-connections-mockup {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}

.flow-node {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    z-index: 2;
}

.flow-node-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.flow-badge {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    color: var(--accent-cyan);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: monospace;
}

.collab-demo-mockup {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.collab-bubble {
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-main);
    max-width: 80%;
}
.collab-bubble.user {
    align-self: flex-start;
    border-left: 3px solid var(--primary);
}
.collab-bubble.peer {
    align-self: flex-end;
    border-right: 3px solid var(--accent-cyan);
}

.focus-hud-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.timer-ring-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-ring-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-ring-circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
    fill: transparent;
}

.timer-ring-circle {
    stroke: var(--primary);
    stroke-width: 6;
    fill: transparent;
    stroke-linecap: round;
    stroke-dasharray: 415;
    stroke-dashoffset: 145;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 5px rgba(255, 90, 31, 0.5));
}

.timer-text-overlay {
    font-family: monospace;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ==========================================================================
   10B. TECHNICAL DEEP-DIVE (UNDER THE HOOD) SECTION
   ========================================================================== */
.tech-specs {
    padding: 8rem 2rem;
    border-top: 1px solid var(--border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tech-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-num {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 90, 31, 0.08);
    border: 1px solid rgba(255, 90, 31, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.tech-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-preview {
    background: #04060b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

.code-preview pre {
    margin: 0;
}

.code-preview code {
    font-family: monospace;
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* ==========================================================================
   11. TESTIMONIALS SECTION (GLASS CARDS)
   ========================================================================== */
.testimonials {
    padding: 8rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s var(--ease-out-expo);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-panel-hover);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.rating {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.quote {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
}

.user-avatar.user-2 { background: linear-gradient(135deg, var(--primary) 0%, #e11d48 100%); }
.user-avatar.user-3 { background: linear-gradient(135deg, #059669 0%, var(--accent-cyan) 100%); }

.profile-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.profile-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   12. PRICING SECTION
   ========================================================================== */
.pricing {
    padding: 8rem 2rem;
    position: relative;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    background: rgba(10, 15, 26, 0.4);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.pricing-card.pro {
    border-color: rgba(255, 90, 31, 0.4);
    background: rgba(13, 17, 26, 0.65);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 90, 31, 0.05);
}

.pricing-card.pro:hover {
    border-color: rgba(255, 90, 31, 0.75);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 90, 31, 0.12);
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    animation: shine 7s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #ff7c4d 100%);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 90, 31, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pricing-header, .pricing-body, .pricing-footer {
    position: relative;
    z-index: 2;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.pro .pricing-header h3 {
    color: var(--text-main);
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
}

.period {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.4rem;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-body {
    flex-grow: 1;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.pricing-features-list li:last-child {
    border-bottom: none;
}

.pro .pricing-features-list li {
    color: var(--text-main);
}

.pricing-features-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    font-size: 1rem;
}

.pro .pricing-features-list li::before {
    color: var(--primary);
}

/* ==========================================================================
   12B. COMPARATIVE FEATURE MATRIX TABLE
   ========================================================================== */
.comparison-matrix {
    margin-top: 6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-matrix h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.comparison-table th, .comparison-table td {
    padding: 1.1rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
}

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

.comparison-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.comparison-table td.feature-name {
    font-weight: 600;
    color: var(--text-main);
}

.comparison-table td.check {
    color: var(--accent-emerald);
    font-weight: bold;
}

.comparison-table td.cross {
    color: #ef4444;
    opacity: 0.6;
}

.comparison-table td.highlight-text {
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================================
   12C. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
    padding: 8rem 2rem;
    border-top: 1px solid var(--border);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}

.faq-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-panel-hover);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    gap: 1.5rem;
}

.faq-arrow {
    color: var(--text-muted);
    transition: transform 0.3s var(--ease-out-expo);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo), padding-bottom 0.4s ease;
    padding: 0 1.5rem;
}

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

.faq-answer code {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

/* Accordion Active State classes */
.faq-item.active {
    border-color: rgba(255, 90, 31, 0.3);
    box-shadow: 0 10px 25px rgba(255, 90, 31, 0.03);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* ==========================================================================
   13. BOTTOM CALL-TO-ACTION (CTA)
   ========================================================================== */
.bottom-cta {
    padding: 6rem 2rem 8rem;
}

.cta-container {
    background: radial-gradient(circle at top, rgba(255, 90, 31, 0.08) 0%, rgba(8, 11, 18, 0.6) 80%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 5rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-container h2 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 5rem 2rem 2.5rem;
    background: var(--bg-deep);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
}

.footer-brand .logo {
    margin-bottom: 1.2rem;
}

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

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* ==========================================================================
   15. ANIMATIONS & TRANSITIONS
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   15B. COMPARATIVE FEATURE MATRIX TABLE WRAPPER & HAMBURGER
   ========================================================================== */
.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    background: var(--bg-panel);
}

.comparison-table-wrapper .comparison-table {
    width: 100%;
    min-width: 600px;
    border: none;
    box-shadow: none;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
}

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS — GROUND-UP MOBILE-FIRST SYSTEM
   ========================================================================== */

/* ── Shared section wrapper utility ── */
.section-inner {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ── Large Desktop 1280px+ ── */
@media (min-width: 1280px) {
    .hero h1 { font-size: 6rem; }
}

/* ── Tablet / Small Desktop ≤1024px ── */
@media (max-width: 1024px) {
    .hero h1            { font-size: 4rem; }
    .hero-subtitle      { font-size: 1.1rem; max-width: 560px; }

    /* Bento: 2 equal columns, large card spans both */
    .features-grid      { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .bento-large        { grid-column: span 2; }
    .bento-medium       { grid-column: span 1; }
    .bento-small        { grid-column: span 1; }

    /* Deep-dive: stack vertically */
    .dive-panel.active  { flex-direction: column; gap: 1.5rem; }
    .dive-info,
    .dive-preview       { flex: unset; width: 100%; }

    /* Tech grid: 2 cols */
    .tech-grid          { grid-template-columns: repeat(2, 1fr); }

    /* Testimonials: 2 cols */
    .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 2; }

    /* Footer: narrower 3-col */
    .footer-content     { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
}

/* ── Tablet Portrait ≤768px ── */
@media (max-width: 768px) {

    /* --- Body overflow guard --- */
    body { overflow-x: hidden; }

    /* --- Navbar --- */
    .navbar {
        width: calc(100% - 1.5rem);
        padding: 0.55rem 1rem;
        top: 0.75rem;
    }

    .hamburger-menu { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100dvh;
        background: rgba(3, 5, 8, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.3rem;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        color: var(--text-main);
        padding: 0.5rem 0;
    }

    .nav-link::after { display: none; }

    .nav-link.highlight {
        background: linear-gradient(135deg, var(--primary), #e04a10);
        padding: 0.8rem 2.5rem;
        border-radius: 100px;
        border: none;
        color: #fff;
        margin-top: 0.5rem;
    }

    /* --- Hero --- */
    .hero {
        padding: 8rem 1.25rem 3rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    /* --- Hero Canvas Mockup: simplified on mobile --- */
    .hero-visual { padding: 0; width: 100%; }

    .browser-mockup {
        height: 320px;
        border-radius: 12px;
        transform: none !important;
        overflow: hidden;
    }

    .browser-mockup:hover { transform: none !important; }

    /* Hide complex canvas elements that break on mobile */
    .canvas-window      { display: none !important; }
    .minimap            { display: none !important; }
    .sticky-note        { display: none !important; }
    .canvas-connections { display: none !important; }
    .custom-cursor      { display: none !important; }
    .canvas-shortcuts   { display: none; }
    .canvas-menu-btn    { display: none; }

    /* Show a nice static preview instead */
    .canvas-bg {
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Inject a mobile-friendly canvas placeholder via pseudo */
    .canvas-windows::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            /* Simulated window 1 */
            linear-gradient(rgba(6,182,212,0.08), rgba(6,182,212,0.04)) 5% 8% / 42% 35% no-repeat,
            /* Simulated window 2 */
            linear-gradient(rgba(255,90,31,0.1), rgba(255,90,31,0.05)) 52% 12% / 43% 42% no-repeat,
            /* Simulated window 3 */
            linear-gradient(rgba(124,58,237,0.08), rgba(124,58,237,0.04)) 52% 58% / 43% 32% no-repeat,
            /* Simulated window 4 */
            linear-gradient(rgba(16,185,129,0.08), rgba(16,185,129,0.04)) 5% 56% / 42% 32% no-repeat;
        border-radius: 8px;
        pointer-events: none;
    }

    /* Mobile canvas label overlay */
    .canvas-sidebar {
        width: 40px;
        gap: 0.9rem;
        padding: 0.8rem 0;
    }

    .sidebar-icon { width: 26px; height: 26px; }

    /* --- Social Proof --- */
    .social-proof { padding: 3rem 1.25rem; }
    .logos { flex-wrap: wrap; gap: 0.6rem 1rem; justify-content: center; }
    .dot-separator { display: none; }

    /* --- Features Section --- */
    .features { padding: 4rem 1.25rem; max-width: 100%; }
    .section-header { margin-bottom: 2.5rem; padding: 0; }
    .title-glow { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .section-header p { font-size: 0.95rem; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bento-large,
    .bento-medium,
    .bento-small    { grid-column: span 1 !important; }
    .bento-content  { padding: 1.75rem 1.5rem; }
    .bento-card h3  { font-size: 1.25rem; }
    .bento-card p   { font-size: 0.9rem; }

    /* --- Deep Dive --- */
    .deep-dive { padding: 4rem 1.25rem; max-width: 100%; overflow: hidden; }

    .deep-dive-inner {
        padding: 2rem 1rem;
        border-radius: 20px;
    }

    .dive-tabs {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 0.4rem;
        border-radius: 14px;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .dive-tab-btn {
        padding: 0.7rem 1rem;
        border-radius: 10px;
        font-size: 0.875rem;
        text-align: center;
        width: 100%;
    }

    .dive-panels   { padding: 1.25rem; min-height: unset; border-radius: 16px; width: 100%; }
    .dive-info h4  { font-size: 1.4rem; }
    .dive-info p   { font-size: 0.9rem; margin-bottom: 0; }
    .dive-preview  { min-height: 160px; padding: 1rem; width: 100%; }

    /* --- Tech Specs --- */
    .tech-specs  { padding: 4rem 1.25rem; }
    .tech-grid   { grid-template-columns: 1fr; gap: 1rem; }
    .tech-card   { padding: 1.5rem; }
    .tech-card h4 { font-size: 1.1rem; }

    /* --- Testimonials --- */
    .testimonials { padding: 4rem 1.25rem; }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 1; }
    .testimonial-card { padding: 1.5rem; }
    .quote { font-size: 0.875rem; }

    /* --- Pricing --- */
    .pricing { padding: 4rem 1.25rem; }
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        max-width: 420px;
        margin: 0 auto;
        gap: 1.25rem;
    }
    .pricing-card { width: 100%; padding: 2rem; }
    .price { font-size: 2.8rem; }

    /* --- Comparison Table --- */
    .comparison-matrix { margin-top: 3rem; padding: 0; max-width: 100%; }
    .comparison-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
    }
    .comparison-matrix h3 { font-size: 1.4rem; }
    .comparison-table { font-size: 0.78rem; width: max-content; min-width: 100%; }
    .comparison-table th,
    .comparison-table td { padding: 0.65rem 0.75rem; }

    /* --- FAQ --- */
    .faq-section    { padding: 4rem 1.25rem; }
    .faq-question   { font-size: 0.95rem; padding: 1.1rem; }

    /* --- Bottom CTA --- */
    .bottom-cta   { padding: 3rem 1.25rem 4rem; }
    .cta-container {
        padding: 2.5rem 1.25rem;
        border-radius: 18px;
    }
    .cta-container h2  { font-size: 1.8rem; }
    .cta-container p   { font-size: 0.95rem; margin-bottom: 1.75rem; }

    /* --- Footer --- */
    footer { padding: 3rem 1.25rem 2rem; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand p  { max-width: 100%; font-size: 0.875rem; }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        font-size: 0.8rem;
    }
}

/* ── Small Phones ≤480px ── */
@media (max-width: 480px) {
    .hero { padding: 7.5rem 1rem 2.5rem; }
    .hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
    .badge { font-size: 0.72rem; padding: 0.35rem 0.85rem; gap: 0.4rem; }

    .browser-mockup { height: 260px; }

    .bento-content { padding: 1.25rem; }
    .pricing-card  { padding: 1.5rem; }
    .pricing-cards { max-width: 100%; }

    .cta-container { padding: 2rem 1rem; }
    .cta-container h2 { font-size: 1.6rem; }

    .dive-panels { padding: 1rem; }

    /* Buttons full-width on tiny screens */
    .btn { font-size: 0.875rem; }
}

/* ── Tiny Phones ≤360px ── */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.65rem; }
    .hero-subtitle { font-size: 0.875rem; }
    .title-glow  { font-size: 1.7rem; }
    .browser-mockup { height: 220px; }
    .cta-container h2 { font-size: 1.4rem; }
    .pricing-card { padding: 1.25rem; }
}







/* ==========================================================================
   17. PRE-REGISTRATION SECTION (Embedded Form)
   ========================================================================== */

.pre-register-section {
    padding: 6rem 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(8,11,18,0) 0%, rgba(6,182,212,0.03) 100%);
}

.preregister-container {
    background: rgba(8, 11, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 4rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.04);
}

#preregisterFormContainer h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Form Fields ── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a1a1aa%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.6rem auto;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #080b11;
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
    max-height: 180px;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.04);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.08);
}

/* ── Success State ── */
.success-state {
    text-align: center;
    padding: 2.5rem 1rem;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.success-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-emerald);
    font-weight: 800;
}

.success-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* ── Mobile: Section (≤600px) ── */
@media (max-width: 600px) {
    .pre-register-section {
        padding: 4rem 1.25rem;
    }

    .preregister-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    #preregisterFormContainer h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.875rem;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 60px;
        max-height: 120px;
    }

    .success-state {
        padding: 1.5rem 0.5rem;
    }

    .success-icon { font-size: 3rem; }

    .success-state h3 { font-size: 1.3rem; }
}

/* ── Extra small phones ≤380px ── */
@media (max-width: 380px) {
    .preregister-container {
        padding: 1.5rem 1rem;
    }

    #preregisterFormContainer h2 { font-size: 1.5rem; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }
}

