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

:root {
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Very dark grey / near black */
    color: #f0f0f0; /* Light grey / off-white */
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body.no-scroll {
    overflow: hidden;
}

/* Floating Social Bar */
.social-bar {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1100;
}

.social-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #000000;
    border: 1px solid #222222;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-bar a:hover {
    transform: translateX(2px) scale(1.03);
    background: #0f0f0f;
    border-color: #333333;
}

.social-bar svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.social-bar img {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    :root { --header-h: 88px; }
    .social-bar { display: none; }
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px 0;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif; /* Techy font for headings */
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333; /* Subtle separator for section titles */
    display: inline-block; /* To make border only as wide as text */
}

h3 {
    font-size: 1.6rem;
    color: #e0e0e0;
}

p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #cccccc;
    font-weight: 400; /* Medium weight for better visibility */
    overflow-wrap: break-word; /* Ensure words break if too long */
    word-wrap: break-word; /* Legacy support */
    word-break: break-word; /* Breaks words at appropriate points */
}

/* Section text specific styling */
.section-text p {
    font-weight: 500; /* Increased weight for section text */
    color: #dddddd; /* Slightly lighter color for better contrast */
}

.section-text ul li {
    color: #cccccc; /* Lighter color for better visibility */
    font-weight: 500; /* Increased weight */
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.8em;
    color: #bbbbbb;
    font-size: 1.15rem;
    transition: color 0.2s ease;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95em;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(135deg, #61dafb 0%, #7c9cfb 50%, #a78bfa 100%);
    background-size: 200% 200%;
    box-shadow: 0 0 10px rgba(97, 218, 251, 0.35), 0 0 18px rgba(167, 139, 250, 0.25);
    animation: bulletGlow 3s ease-in-out infinite alternate;
}

ul li:hover {
    color: #e5e7eb;
}

ul li:hover::before {
    transform: translateY(-50%) rotate(45deg) scale(1.15);
    box-shadow: 0 0 12px rgba(97, 218, 251, 0.6), 0 0 24px rgba(167, 139, 250, 0.4);
}


a {
    color: #61dafb; /* Example accent: electric blue - CHOOSE ONE ACCENT for buttons/links if desired */
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

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

/* Hero logo: fade edges to blend with section background */
.hero-logo-inline img {
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Increase specificity and apply mask on the wrapper to avoid overrides */
#hero .hero-content .hero-logo-inline {
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: relative; /* enable overlay fallback positioning */
}

/* Fallback vignette overlay for broader compatibility */
#hero .hero-content .hero-logo-inline::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 8px;
    pointer-events: none;
    background: radial-gradient(ellipse at center,
        rgba(5,5,5,0) 58%,
        rgba(5,5,5,0.55) 80%,
        rgba(5,5,5,0.92) 100%
    );
}

.small-text {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.btn-primary {
    background-color: #ffffff; /* White button */
    color: #0a0a0a; /* Dark text */
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0a0a0a;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 10, 0.85); /* Slightly transparent dark background */
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Frosted glass effect */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px; /* Wider for nav */
    margin: auto;
}

nav .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

nav .logo img {
    height: 40px; /* Adjust as needed */
    vertical-align: middle;
}
nav .logo span {
    vertical-align: middle;
}


nav ul.nav-links {
    list-style: none;
    display: flex;
}

nav ul.nav-links li {
    margin-left: 25px;
    padding-left: 0; /* Reset specific li style from global */
}
nav ul.nav-links li::before {
    content: none; /* Reset specific li style from global */
}

/* Drawer defaults (desktop): hidden */
.drawer-toggle { display: none; }
.mobile-drawer { display: none; }
.drawer-overlay { display: none; }

/* Default nav link styles, excluding the highlighted one for color conflicts */
nav ul.nav-links a:not(.nav-link-highlight) {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Hover/active for default nav links */
nav ul.nav-links a:not(.nav-link-highlight):hover,
nav ul.nav-links a:not(.nav-link-highlight).active {
    color: #ffffff;
}

/* Highlighted link style - general */
a.nav-link-highlight {
    background-image: linear-gradient(to right, #D4AF37, #E7C659, #FFDE7A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
    /* Remove text-stroke as gradient provides color */
}

/* Highlighted link hover style - now more general */
a.nav-link-highlight:hover {
    /* Slightly change gradient or add a subtle background for hover */
    background-image: linear-gradient(to right, #E7C659, #FFDE7A, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Optionally, re-add a subtle background for hover if desired */
    /* background-color: rgba(212, 175, 55, 0.05); */
}

.access-app-header {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Footer */
footer {
    background-color: #000;
    color: #777;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-links a {
    color: #aaa;
    margin: 0 10px;
    font-size: 0.9rem;
}

footer .footer-links a:hover {
    color: #fff;
}

/* Video/Image responsive switching */
.section-image .mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .section-image video {
        display: none;
    }
    
    .section-image .mobile-only {
        display: block;
    }
}

/* Tokenomics Section specific styles */
#tokenomics .token-info p {
    word-break: break-word; /* Ensures contract addresses wrap properly */
    max-width: 100%; /* Keep content within container */
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    /* Ensure text wrapping on small screens */
    p, .token-info p {
        word-break: break-word;
        max-width: 100%;
    }

    nav ul.nav-links { display: none; }
    nav { justify-content: flex-start; }
    .access-app-header { display: none; }
    .drawer-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 40px;
        height: 40px;
        margin-left: 0;
        margin-right: 10px;
        background: linear-gradient(180deg, rgba(31,41,55,0.9), rgba(17,24,39,0.9));
        border: 1px solid #2a2f3a;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    }
    nav .logo { order: 1; }
    nav ul.nav-links { order: 2; }
    .drawer-toggle { order: 0; }
    .drawer-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #e5e7eb;
        margin: 3px 0;
        transition: transform 0.2s ease, opacity 0.2s ease;
        border-radius: 2px;
    }
    body.drawer-open .drawer-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    body.drawer-open .drawer-toggle span:nth-child(2) { opacity: 0; }
    body.drawer-open .drawer-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
    .mobile-drawer {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        height: 100%;
        width: 80%;
        max-width: 320px;
        background: #0b0f17;
        border-right: 1px solid #1f2937;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 1200;
        padding: 16px;
        padding-top: calc(16px + var(--header-h));
        display: block; /* visible in mobile context */
    }
    .mobile-drawer.open { transform: translateX(0); }
    .mobile-drawer a {
        display: block;
        color: #e5e7eb;
        text-decoration: none;
        padding: 10px 6px;
        border-bottom: 1px solid #1f2937;
    }
    .mobile-drawer a:last-child { border-bottom: none; }

    /* Drawer close button (top-left inside drawer) */
    .mobile-drawer .drawer-close {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid #2a2f3a;
        background: linear-gradient(180deg, rgba(31,41,55,0.9), rgba(17,24,39,0.9));
        cursor: pointer;
    }
    .mobile-drawer .drawer-close .line {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #e5e7eb;
        border-radius: 2px;
    }
    .mobile-drawer .drawer-close .line:nth-child(1) { transform: rotate(45deg); }
    .mobile-drawer .drawer-close .line:nth-child(2) { transform: rotate(-45deg); }
    .drawer-overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: min(80vw, 320px); /* leave space for left drawer */
        right: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1190;
        display: none;
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .drawer-overlay.show {
        display: block;
        opacity: 1;
        transform: scaleX(1); /* reveal overlay left→right */
    }
    .container {
        width: 95%;
    }

    /* Agents section: fix rendering on small screens */
    .agent-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .agent-card .agent-media { flex-direction: row; align-items: center; gap: 14px; }
    .agent-card .agent-media img { width: 128px !important; height: 128px !important; }
}

@media (max-width: 1024px) {
    /* Slightly reduce agent image size on tablets */
    .agent-card .agent-media img { width: 160px !important; height: 160px !important; }
}

/* Value Proposition Bullets */
.value-proposition-bullets {
    margin: 20px 0;
}

.bullet-point {
    position: relative;
    margin-bottom: 15px;
    padding: 15px 15px 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #61dafb;
}

.bullet-point::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #61dafb;
    border-radius: 50%;
}

/* Removed emoji styling - no longer needed */

.bullet-point strong {
    color: #ffffff;
    font-size: 1.1em;
}

/* CTA Container & FOMO Elements */
.cta-container {
    text-align: center;
    margin: 30px 0;
}

.fomo-text {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.tech-note {
    color: #61dafb;
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Header FOMO */
.header-fomo {
    display: block;
    font-size: 0.7rem;
    color: #ff6b6b;
    margin-bottom: 2px;
}

/* Fairlaunch Highlight */
.fairlaunch-highlight {
    background: linear-gradient(135deg, rgba(97, 218, 251, 0.1), rgba(255, 107, 107, 0.1));
    border: 1px solid rgba(97, 218, 251, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.fairlaunch-highlight p {
    margin-bottom: 10px;
}

.fairlaunch-highlight strong {
    color: #61dafb;
    font-size: 1.1em;
}

/* Zealy Quest Section */
.quest-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.quest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23g)"/></svg>') center/200px 200px;
    animation: float 6s ease-in-out infinite;
}

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

.quest-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.quest-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(97, 218, 251, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.quest-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #61dafb;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.quest-subtitle {
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 30px;
    font-weight: 600;
}

.quest-benefits {
    text-align: left;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.quest-steps {
    text-align: left;
    margin: 30px 0;
    background: rgba(97, 218, 251, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #61dafb;
}

.quest-steps h3 {
    color: #61dafb;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-item {
    padding: 8px 0;
    font-size: 1.1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(97, 218, 251, 0.2);
}

.step-item:last-child {
    border-bottom: none;
}

.benefit-item {
    padding: 8px 0;
    font-size: 1.1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(97, 218, 251, 0.2);
}

.benefit-item:last-child {
    border-bottom: none;
}

.quest-cta {
    font-size: 1.2rem;
    padding: 15px 30px;
    margin: 20px 0;
    background: linear-gradient(45deg, #61dafb, #ff6b6b);
    border: none;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(97, 218, 251, 0.5); }
    to { box-shadow: 0 0 30px rgba(255, 107, 107, 0.7); }
}

@keyframes bulletGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.quest-note {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.0rem;
    margin-top: 15px;
    font-style: italic;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ecosystem-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(97, 218, 251, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ecosystem-item:hover {
    transform: translateY(-5px);
    border-color: rgba(97, 218, 251, 0.6);
}

.ecosystem-item h4 {
    color: #61dafb;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.ecosystem-item p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Token Utilities */
.token-utilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.utility-item {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #61dafb;
    border-radius: 8px;
    padding: 15px;
    transition: background 0.3s ease;
}

.utility-item:hover {
    background: rgba(97, 218, 251, 0.1);
}

.utility-item h4 {
    color: #61dafb;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
}

.utility-item p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .token-utilities {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ecosystem-item, .utility-item {
        padding: 15px;
    }
}

/* Production refresh: sharper Quantu landing page */
:root {
    --header-h: 76px;
    --qnt-bg: #050506;
    --qnt-panel: rgba(13, 17, 28, 0.82);
    --qnt-panel-strong: rgba(18, 24, 38, 0.94);
    --qnt-line: rgba(148, 163, 184, 0.18);
    --qnt-line-strong: rgba(125, 211, 252, 0.35);
    --qnt-text: #f8fafc;
    --qnt-muted: #a7b0c0;
    --qnt-blue: #60a5fa;
    --qnt-cyan: #22d3ee;
    --qnt-green: #34d399;
    --qnt-amber: #f59e0b;
    --qnt-violet: #a78bfa;
}

html {
    background: var(--qnt-bg);
}

body {
    background:
        linear-gradient(180deg, rgba(96, 165, 250, 0.08), rgba(5, 5, 6, 0) 420px),
        var(--qnt-bg);
    color: var(--qnt-text);
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(0,0,0,0.2) 72%, transparent);
}

.container {
    width: min(92%, 1180px);
    max-width: none;
}

h1,
h2,
h3,
.btn,
nav .logo {
    letter-spacing: 0;
}

h2 {
    border-bottom: 0;
}

p {
    color: var(--qnt-muted);
}

header {
    min-height: var(--header-h);
    padding: 0;
    display: flex;
    align-items: center;
    background: rgba(5, 5, 6, 0.76);
    border-bottom: 1px solid var(--qnt-line);
    backdrop-filter: blur(18px);
}

nav {
    width: min(92%, 1180px);
    min-height: var(--header-h);
}

nav .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.55rem;
}

nav .logo::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(167, 139, 250, 0.94)),
        #111827;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 0 24px rgba(34, 211, 238, 0.22);
}

nav ul.nav-links {
    align-items: center;
    gap: 8px;
}

nav ul.nav-links li {
    margin-left: 0;
}

nav ul.nav-links a:not(.nav-link-highlight) {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 700;
}

nav ul.nav-links a:not(.nav-link-highlight):hover,
nav ul.nav-links a:not(.nav-link-highlight).active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--qnt-line);
}

.social-bar {
    left: 20px;
    gap: 10px;
}

.social-bar a {
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.76);
    border-color: var(--qnt-line);
    border-radius: 8px;
    backdrop-filter: blur(14px);
}

.social-bar a:hover {
    background: rgba(15, 23, 42, 0.96);
    border-color: var(--qnt-line-strong);
}

.btn {
    border-radius: 8px;
    padding: 13px 22px;
    text-transform: none;
    font-size: 0.95rem;
}

.btn-primary {
    color: #020617;
    background: linear-gradient(135deg, #ffffff, #c7f9ff);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(34, 211, 238, 0.18);
}

.btn-primary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--qnt-line-strong);
    box-shadow: none;
}

#agent-cmd {
    background: rgba(8, 13, 24, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

#agent-cmd:hover {
    border-color: var(--qnt-line-strong) !important;
}

.drawer-toggle {
    border-radius: 8px !important;
}

.mobile-drawer {
    background: rgba(7, 10, 18, 0.98) !important;
    border-right: 1px solid var(--qnt-line) !important;
}

footer {
    margin-top: 0;
    border-top: 1px solid var(--qnt-line);
    background: #050506;
}

footer .container {
    padding: 24px 0;
}

footer p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    nav {
        justify-content: flex-start;
        gap: 10px;
    }

    nav .logo {
        font-size: 1.35rem;
    }

    nav .logo::before {
        width: 24px;
        height: 24px;
    }

    .drawer-toggle {
        width: 38px;
        height: 38px;
        margin-right: 2px;
    }

    .mobile-drawer {
        padding-top: calc(14px + var(--header-h));
    }
}
