/* Global CSS Variables for Premium Dark Aesthetic */
:root {
    --bg-primary: hsl(222, 47%, 4%);
    --bg-secondary: hsl(222, 47%, 7%);
    --bg-tertiary: hsl(222, 40%, 12%);
    --text-primary: hsl(210, 40%, 98%);
    --text-secondary: hsl(215, 20%, 75%);
    --text-muted: hsl(215, 16%, 50%);
    
    /* Neon gradients & Highlights */
    --accent-green: hsl(145, 100%, 45%);
    --accent-cyan: hsl(187, 100%, 50%);
    --accent-green-rgb: 0, 230, 118;
    --accent-cyan-rgb: 0, 229, 255;
    
    --grad-primary: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    --grad-glow: linear-gradient(135deg, rgba(var(--accent-green-rgb), 0.15) 0%, rgba(var(--accent-cyan-rgb), 0.15) 100%);
    
    /* Glassmorphic values */
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-bg-hover: rgba(30, 41, 59, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.16);
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

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

/* Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

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

/* Glassmorphism utility card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(var(--accent-green-rgb), 0.1);
    border: 1px solid rgba(var(--accent-green-rgb), 0.25);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.red-badge {
    background: rgba(239, 83, 80, 0.1);
    border-color: rgba(239, 83, 80, 0.25);
    color: hsl(0, 83%, 65%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--grad-primary);
    color: #0b0f19;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--accent-cyan-rgb), 0.3);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--grad-primary);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    filter: blur(8px);
}

.btn-glow:hover::after {
    opacity: 0.65;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--glass-border-hover);
}

.btn-accent {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.3);
    color: var(--accent-cyan);
}

.btn-accent:hover {
    background: rgba(var(--accent-cyan-rgb), 0.2);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

/* Glass Header / Navigation */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
}

.accent-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--accent-green);
}

.btn-download-nav {
    background: var(--grad-primary);
    color: #0b0f19;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-download-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--accent-green-rgb), 0.25);
    color: #0b0f19;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 170px 0 100px 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Animated dot grid */
.hero-grid-pattern {
    position: absolute;
    inset: -50%;
    background-image:
        radial-gradient(circle at center, rgba(var(--accent-cyan-rgb), 0.18) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
    animation: heroGridDrift 40s linear infinite;
    opacity: 0.35;
}

/* Aurora gradient blobs */
.hero-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    mix-blend-mode: screen;
}

.hero-aurora-1 {
    width: 55vw;
    height: 55vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(var(--accent-green-rgb), 0.45) 0%, transparent 65%);
    top: 10%;
    left: 20%;
    animation: heroAuroraFloat1 18s ease-in-out infinite alternate;
}

.hero-aurora-2 {
    width: 45vw;
    height: 45vw;
    max-width: 580px;
    max-height: 580px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.4) 0%, transparent 65%);
    bottom: 5%;
    right: 10%;
    animation: heroAuroraFloat2 22s ease-in-out infinite alternate;
}

@keyframes heroGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(32px, 32px); }
}

@keyframes heroAuroraFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.12); }
}

@keyframes heroAuroraFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -30px) scale(1.08); }
}

@keyframes heroSphereFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 25px); }
}

@keyframes heroSphereFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, -35px); }
}

@keyframes heroMockupFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-8px); }
}

@keyframes heroMobileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes heroMockupFloatTablet {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroMockupFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.75; transform: translate(-50%, -50%) scale(1.05); }
}

/* Glow Spheres for Ambient Glow */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-sphere-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-green-rgb), 0.3) 0%, transparent 70%);
    top: -50px;
    left: -100px;
    animation: heroSphereFloat1 14s ease-in-out infinite;
}

.glow-sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.3) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: heroSphereFloat2 16s ease-in-out infinite;
}

.glow-sphere-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-platforms span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-group {
    display: flex;
    gap: 10px;
}

.platform-tag {
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.platform-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-cyan-rgb), 0.2);
}

.platform-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* App Mockup Rendering — layered stack */
.hero-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    perspective: 1400px;
}

.hero-showcase-stack {
    position: relative;
    width: 100%;
    max-width: 620px;
    min-height: 340px;
    padding-bottom: 24px;
    animation: heroMockupFloat 7s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero-showcase-glow {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 110%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(var(--accent-cyan-rgb), 0.14) 0%, rgba(var(--accent-green-rgb), 0.06) 40%, transparent 72%);
    z-index: 0;
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
}

.hero-device {
    position: relative;
}

.hero-device-desktop {
    z-index: 1;
    width: 100%;
}

.hero-device-mobile {
    position: absolute;
    z-index: 3;
    bottom: 0;
    right: 2%;
    width: 36%;
    min-width: 130px;
    max-width: 200px;
    animation: heroMobileFloat 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.device-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(8, 11, 20, 0.6);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.07);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.device-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(var(--accent-cyan-rgb), 0.35), rgba(var(--accent-green-rgb), 0.15) 50%, transparent 80%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.device-card-desktop {
    border-radius: 16px;
}

.device-card-mobile {
    border-radius: 24px;
    padding: 6px;
    background: rgba(6, 9, 18, 0.92);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 32px rgba(var(--accent-green-rgb), 0.12);
}

.device-screen-crop {
    aspect-ratio: 9 / 18;
    overflow: hidden;
    border-radius: 18px;
    background: #0a0e1a;
}

.hero-showcase-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-showcase-img-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.02);
}

.hero-sync-badge {
    position: absolute;
    z-index: 4;
    bottom: 18%;
    left: 8%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(8, 14, 28, 0.75);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.hero-sync-badge svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.hero-showcase-stack:hover .device-card-desktop {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 36px 80px rgba(0, 0, 0, 0.6),
        0 0 48px rgba(var(--accent-cyan-rgb), 0.1);
}

.hero-showcase-stack:hover .device-card-mobile {
    transform: translateY(-10px) scale(1.04);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.6),
        0 0 36px rgba(var(--accent-green-rgb), 0.18);
}

.mockup-header {
    background: #0f1322;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ef5350; }
.dot-yellow { background-color: #ffca28; }
.dot-green { background-color: #66bb6a; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.mockup-status {
    font-size: 0.75rem;
    font-weight: 600;
}

.mockup-status.connected {
    color: var(--accent-green);
}

.mockup-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    height: 330px;
    font-family: var(--font-body);
}

.mockup-sidebar {
    background: #0b0e17;
    border-right: 1px solid var(--glass-border);
    padding: 16px 12px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
}

.sidebar-item {
    font-weight: 600;
    cursor: pointer;
}

.sidebar-item.active {
    color: var(--accent-cyan);
}

.sidebar-sub-item {
    padding-left: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-content {
    background: #080a11;
    display: flex;
    flex-direction: column;
}

.mockup-tabs {
    display: flex;
    background: #0b0e17;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.75rem;
}

.mockup-tabs .tab {
    padding: 8px 16px;
    border-right: 1px solid var(--glass-border);
    cursor: pointer;
}

.mockup-tabs .tab.active {
    background: #080a11;
    border-bottom: 2px solid var(--accent-green);
    color: var(--text-primary);
}

.mockup-editor {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    flex-grow: 1;
    border-bottom: 1px solid var(--glass-border);
}

.code-keyword { color: #f43f5e; }
.code-string { color: #10b981; }

.mockup-results {
    background: #0a0d16;
    padding: 12px 16px;
}

.results-header {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.mockup-table th {
    color: var(--text-muted);
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-table td {
    padding: 4px 0;
    color: var(--text-secondary);
}

/* Sections Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* Features Bento Grid Layout */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(360px, auto);
}

.bento-card {
    padding: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-span-col-2 {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.bento-span-col-3 {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.bento-span-row-2 {
    grid-row: span 2;
}

.bento-info {
    flex: 1.2;
    z-index: 5;
}

.bento-graphic {
    flex: 0.8;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

/* Modern Monochrome Outline Icons instead of colorful ones */
.monochrome-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.bento-card:hover .monochrome-icon {
    color: var(--accent-cyan);
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    background: rgba(var(--accent-cyan-rgb), 0.05);
}

.bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.bento-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--accent-cyan);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Bento Graphic Embeds */
/* Mini SQL Editor Graphic */
.mini-sql-ui {
    width: 100%;
    max-width: 240px;
    background: #090d16;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.mini-ui-tabbar {
    display: flex;
    background: #0e1322;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.7rem;
}

.mini-ui-tab {
    padding: 6px 12px;
    border-right: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.mini-ui-tab.active {
    background: #090d16;
    color: var(--text-primary);
    border-bottom: 1.5px solid var(--accent-cyan);
}

.mini-ui-editor {
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
}

.code-comment {
    color: var(--text-muted);
}

/* Mini Terminal Graphic */
.mini-terminal-ui {
    width: 100%;
    background: #05070c;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.term-prompt {
    color: var(--accent-green);
}

/* Tunnel Diagram Graphic */
.tunnel-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}

.node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.node-db { border-color: rgba(255, 255, 255, 0.2); color: var(--text-secondary); }
.node-ssh { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.node-client { border-color: rgba(255, 255, 255, 0.2); color: var(--text-secondary); }

.tunnel-pipe-glowing {
    flex-grow: 1;
    height: 2px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.tunnel-pipe-glowing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: flow 2.2s linear infinite;
}

@keyframes flow {
    0% { left: -50px; }
    100% { left: 100%; }
}

/* Fingerprint Graphic */
.fingerprint-scanner-box {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    border: 1.5px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fingerprint-svg {
    width: 48px;
    height: 48px;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Key Manager Graphic */
.mini-keys-ui {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.key-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* Split View Graphic */
.split-view-mockup {
    width: 100%;
    height: 120px;
    background: #090d16;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.split-pane {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.pane-header {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.pane-body {
    font-family: var(--font-mono);
    font-size: 0.68rem;
}

.code-text { color: var(--accent-green); }
.terminal-text { color: var(--text-primary); }

.split-divider-vertical {
    width: 1px;
    background: var(--glass-border);
    height: 100%;
}

/* Interactive Product Showcase Slideshow (Supabase Style) */
.sandbox-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.showcase-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.btn-showcase-tab {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.btn-showcase-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-showcase-tab.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.showcase-bullets-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    min-height: 24px;
}

.showcase-bullets {
    display: none;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 0.4s ease forwards;
}

.showcase-bullets.active {
    display: flex;
}

.showcase-bullets span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-cyan);
}

.showcase-window {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.showcase-panel {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.showcase-panel.active {
    display: block;
}

.showcase-image-grid {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.showcase-grid-item {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.showcase-grid-item .device-card {
    height: 100%;
}

.showcase-grid-item:first-child {
    flex: 5;
}

.showcase-grid-item:last-child {
    flex: 1.4;
}

.showcase-grid-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.device-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.device-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.device-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0e17;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.device-card-desktop .device-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #131725;
    border-bottom: 1px solid var(--glass-border);
}

.device-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

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

.d-dot-red { background: #ef5350; }
.d-dot-yellow { background: #ffca28; }
.d-dot-green { background: #66bb6a; }

.device-bar-title {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-weight: 500;
}

.device-card-mobile {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
}

.device-card-desktop-size {
    max-width: none;
    margin: 0;
}

.device-card-desktop-size .device-notch {
    height: 24px;
}

.device-card-mobile .device-notch {
    height: 34px;
    background: #131725;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-card-mobile .device-notch::after {
    content: '';
    width: 100px;
    height: 6px;
    background: #1a1f30;
    border-radius: 10px;
}

.device-card .showcase-grid-img {
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    /* transform: scale(1.08); */
    flex: 1;
}

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

/* Specific body mockups for slideshow panels */
.mockup-terminal-body {
    background: #05070c;
    height: 330px;
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.terminal-cli {
    height: 100%;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: var(--accent-cyan) }
}

.mockup-lock-body {
    background: #080b13;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-lock-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 24px;
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lock-shield-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.lock-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.passcode-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.p-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.p-dot-active {
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.numeric-keypad {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.num-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.num-row span {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.num-row span:hover {
    background: rgba(255, 255, 255, 0.12);
}

.key-biometric, .key-backspace {
    background: transparent !important;
    border-color: transparent !important;
}

/* Supported Databases Section Styling (Clean Grid) */
.databases-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.databases-clean-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.db-clean-card {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 140px;
}

.db-clean-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.db-clean-card:hover .db-clean-logo-wrapper {
    filter: brightness(1.3);
}

.db-clean-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.db-clean-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.db-clean-card.coming-soon {
    opacity: 0.6;
    border-style: dashed;
}

#db-mssql .db-clean-logo-wrapper,
#db-oracle .db-clean-logo-wrapper {
    width: 78px;
    height: 78px;
}

.coming-soon-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.security-text {
    max-width: 600px;
}

.security-paragraph {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 28px;
}

.security-list li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

.security-card-display {
    display: flex;
    justify-content: center;
}

.security-stats-card {
    padding: 40px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(8, 12, 21, 0.8) 100%);
}

.security-stat-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.security-stat-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.security-divider {
    border: none;
    height: 1px;
    background: var(--glass-border);
    margin: 24px auto;
    width: 60%;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Glowing Border for Premium Pricing Card */
.pricing-pro-highlight {
    position: relative;
    background: rgba(18, 28, 51, 0.85);
    border: 1px solid rgba(var(--accent-green-rgb), 0.35);
    box-shadow: 0 12px 40px rgba(var(--accent-green-rgb), 0.1);
}

.pricing-pro-highlight:hover {
    border-color: var(--accent-green);
    background: rgba(23, 37, 68, 0.95);
}

.badge-pro-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: #0b0f19;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(var(--accent-green-rgb), 0.3);
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.pricing-features-list {
    flex-grow: 1;
    margin-bottom: 36px;
}

.pricing-features-list ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Download Section */
.download-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--bg-primary);
    overflow: hidden;
    text-align: center;
}

.download-container {
    position: relative;
    z-index: 2;
}

.download-options-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer styling */
.main-footer {
    background-color: #06090e;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-email {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-email a {
    color: var(--accent-green);
    border-bottom: 1px dashed rgba(var(--accent-green-rgb), 0.5);
}

.contact-email a:hover {
    border-color: var(--accent-green);
}

.company-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

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

/* Animations classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-platforms {
        align-items: center;
    }

    .hero-showcase-stack {
        max-width: 540px;
        margin: 0 auto;
        animation: heroMockupFloatTablet 7s ease-in-out infinite;
    }

    .hero-showcase {
        justify-content: center;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
    
    .features-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-span-col-2, .bento-span-col-3 {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .db-clean-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .showcase-image-grid {
        gap: 12px;
        padding: 14px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 1000;
        padding: 120px 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 8px 0;
        color: var(--text-primary);
    }
    
    .btn-download-nav {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 12px 24px;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-showcase-stack {
        max-width: 420px;
        min-height: 280px;
        padding-bottom: 16px;
        animation: heroMockupFloatMobile 7s ease-in-out infinite;
    }

    .hero-device-mobile {
        right: 0;
        bottom: 0;
        width: 48%;
        max-width: 210px;
    }

    .hero-sync-badge {
        bottom: 14%;
        left: 4%;
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .showcase-image-grid {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .showcase-stack {
        position: relative;
        display: block;
        padding: 0;
        min-height: 260px;
    }

    .showcase-stack-main {
        width: 100%;
    }

    .showcase-stack-overlay {
        position: absolute;
        bottom: 0;
        right: 2%;
        width: 35%;
        min-width: 100px;
        max-width: 160px;
        z-index: 3;
    }

    .showcase-grid-img {
        height: auto;
    }

    .device-card-mobile {
        max-width: 80%;
        margin-bottom: 15%;
    }

    .device-card-desktop-size {
        max-width: 100%;
    }
    
    .download-card {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        gap: 16px;
        padding: 24px;
        align-items: center;
    }

    .download-card .download-card-content {
        flex: 1;
        min-width: 0;
    }

    .download-card .download-card-btn {
        width: 100%;
        flex-basis: 100%;
    }

    .download-card .btn {
        width: 100%;
    }

    .platform-icons {
        flex-direction: column;
        align-items: center;
    }

    .ribbon-logo-item span {
        white-space: nowrap;
    }

    .faq-question {
        padding: 20px 24px;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        padding-bottom: 20px;
    }
}

/* Custom Schema & Content Tag Badges for Minimal Design */
.schema-tag-pk, .schema-tag-col, .schema-tag-idx, .key-tag-ssh, .snippet-tag-sql, .exp-tag-in, .exp-tag-out {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    text-transform: uppercase;
    display: inline-block;
    font-family: var(--font-mono);
}

.schema-tag-pk {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.schema-tag-col {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.schema-tag-idx {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px dashed var(--glass-border);
}

.key-tag-ssh {
    background: rgba(0, 230, 118, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.snippet-tag-sql {
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.exp-tag-in {
    background: rgba(0, 230, 118, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.exp-tag-out {
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.15);
}

/* Key, Snippet, and Export Badge graphic item lists */
.export-badges, .mini-snippets-ui {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.snippet-item, .exp-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    width: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.key-item, .snippet-item, .exp-badge {
    transition: var(--transition-smooth);
}

.key-item:hover, .snippet-item:hover, .exp-badge:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    background: rgba(var(--accent-cyan-rgb), 0.04);
}

@media (prefers-reduced-motion: reduce) {
    .hero-grid-pattern,
    .hero-aurora,
    .glow-sphere-1,
    .glow-sphere-2,
    .hero-showcase-stack,
    .hero-showcase-glow,
    .hero-device-mobile {
        animation: none;
    }

    .hero-showcase-stack {
        transform: none;
    }

    .hero-showcase-stack:hover .device-card-desktop,
    .hero-showcase-stack:hover .device-card-mobile {
        transform: none;
    }
}

/* ==========================================================================
   Database Integration Ribbon under Hero
   ========================================================================== */
.integration-ribbon-section {
    position: relative;
    z-index: 10;
    padding: 24px 0;
    background: rgba(11, 15, 25, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ribbon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.ribbon-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ribbon-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-grow: 1;
    justify-content: space-around;
}

.ribbon-logos::-webkit-scrollbar {
    display: none;
}

.ribbon-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.65;
    transition: var(--transition-smooth);
    filter: grayscale(80%);
}

.ribbon-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.ribbon-logo-item img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.ribbon-logo-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================================================
   Dialect SQL Wizards Card Styling
   ========================================================================== */
.mini-wizard-ui {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 220px;
}

.mini-wizard-ui:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    background: rgba(var(--accent-cyan-rgb), 0.04);
}

.wizard-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wizard-pill.active {
    background: rgba(var(--accent-cyan-rgb), 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.3);
}

.wizard-expr {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .ribbon-wrapper {
        justify-content: center;
        text-align: center;
    }
    
    .ribbon-logos {
        justify-content: center;
        width: 100%;
        margin-top: 12px;
    }
}

/* ==========================================================================
   New Visual Styles (FAQ, Dialect Optimizations, Redesigned Download)
   ========================================================================== */

/* Mac-style Mockup Header in Showcase Section */
.showcase-window {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 12, 21, 0.7);
    border: 1px solid var(--glass-border);
}

.mockup-header {
    background: rgba(15, 23, 34, 0.9);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
    z-index: 10;
}

.window-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

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

.mockup-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mockup-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
}

.mockup-status.connected {
    color: var(--accent-green);
}

/* Dialect-Optimized Engine Tuning Section */
.engine-optimizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.engine-opt-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.engine-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.engine-opt-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.engine-opt-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.engine-opt-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.engine-opt-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.engine-opt-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.engine-opt-list li span {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Custom glows for cards on hover */
#engine-opt-postgres:hover { border-color: rgba(0, 230, 118, 0.4); box-shadow: 0 8px 32px rgba(0, 230, 118, 0.1); }
#engine-opt-mysql:hover { border-color: rgba(255, 152, 0, 0.4); box-shadow: 0 8px 32px rgba(255, 152, 0, 0.08); }
#engine-opt-oracle:hover { border-color: rgba(244, 67, 54, 0.4); box-shadow: 0 8px 32px rgba(244, 67, 54, 0.08); }
#engine-opt-mssql:hover { border-color: rgba(3, 169, 244, 0.4); box-shadow: 0 8px 32px rgba(3, 169, 244, 0.08); }
#engine-opt-sqlite:hover { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1); }

/* Redesigned Download Section Styles */
.download-card {
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.download-card .download-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-card .download-card-btn {
    flex-shrink: 0;
}

.download-glow-backplate {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.download-card:hover .download-glow-backplate {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.15);
}

.download-logo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.download-logo-icon svg {
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.download-card:hover .download-logo-icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.download-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    z-index: 2;
}

.download-card .btn {
    white-space: nowrap;
    z-index: 2;
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.faq-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    user-select: none;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.faq-icon-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    margin-right: 6px;
}

.faq-card:hover .faq-question h3 {
    color: var(--accent-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding: 0 32px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 24px;
}

/* Active Accordion Panel */
.faq-card.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-card.active .faq-icon-arrow {
    transform: rotate(-135deg);
    border-color: var(--accent-cyan);
}

.faq-card.active .faq-question h3 {
    color: var(--accent-cyan);
}

/* Navigation Link Color Override Defense */
.nav-menu ul li a.btn-download-nav.active-nav-link {
    color: #0b0f19 !important;
    border-bottom: none !important;
    padding-bottom: 8px !important;
}

/* Custom platform glow outlines for download cards on hover */
#download-card-windows:hover { border-color: rgba(0, 120, 212, 0.45); box-shadow: 0 12px 40px rgba(0, 120, 212, 0.15); }
#download-card-macos:hover { border-color: rgba(232, 232, 232, 0.35); box-shadow: 0 12px 40px rgba(232, 232, 232, 0.1); }
#download-card-ios:hover { border-color: rgba(100, 110, 240, 0.45); box-shadow: 0 12px 40px rgba(100, 110, 240, 0.15); }
#download-card-android:hover { border-color: rgba(61, 220, 132, 0.45); box-shadow: 0 12px 40px rgba(61, 220, 132, 0.15); }
#download-card-linux:hover { border-color: rgba(245, 124, 0, 0.45); box-shadow: 0 12px 40px rgba(245, 124, 0, 0.15); }

/* GDPR Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cookie-desc a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.cookie-desc a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.cookie-btn-accept {
    background: var(--grad-primary);
    color: #0b0f19;
    border: none;
}

.cookie-btn-accept:hover {
    box-shadow: 0 0 16px rgba(var(--accent-green-rgb), 0.5);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-border-hover);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        padding: 20px;
    }
}

/* ==========================================================================
   Clickable Bento Cards & Security Enhancements
   ========================================================================== */
.bento-card-clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    transition: var(--transition-smooth);
}

.bento-card-clickable:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.4);
    box-shadow: 0 12px 30px rgba(var(--accent-cyan-rgb), 0.1), var(--shadow-premium);
    transform: translateY(-4px);
}

.bento-card-clickable:hover .security-glow-icon {
    color: var(--accent-cyan);
    border-color: rgba(var(--accent-cyan-rgb), 0.4);
    background: rgba(var(--accent-cyan-rgb), 0.1);
    box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.3);
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-top: 12px;
    transition: var(--transition-smooth);
}

.bento-card-clickable:hover .learn-more-link {
    color: var(--accent-green) !important;
}

/* Security Badge Graphic styles */
.security-badge-graphic {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-left: 20px;
}

.sec-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sec-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 110px;
    text-align: center;
}

.sec-pill-aes {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.sec-pill-enclave {
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.sec-pill-zk {
    background: rgba(255, 23, 68, 0.1);
    color: #ff1744;
    border: 1px solid rgba(255, 23, 68, 0.25);
}

/* Offline UI styles */
.mini-offline-ui {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.offline-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 230, 118, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

/* Responsive Grid for Database Logos Ribbon */
@media (max-width: 768px) {
    .ribbon-logos {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px 16px !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 16px !important;
        overflow-x: visible !important;
    }
    .ribbon-logo-item {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .ribbon-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 12px !important;
    }
}


