/* =========================================================
   CubeWx — style.css
   ========================================================= */

:root {
    --bg:         #0a0a0a;
    --bg-alt:     #111111;
    --bg-card:    #131313;
    --border:     #1e1e1e;
    --accent:     #5bca5a;
    --text:       #f0f0f0;
    --text-muted: #888888;
    --text-dim:   #444444;

    --mark-bg:    rgba(255, 255, 255, 0.082);
    --mark-color1: #3a9df3;
    --mark-color2: #d769c1;
    --mark-color3: #38e9ae;
    --mark-color4: #a35feb;
    --mark-font:  'SF Mono', Consolas, 'Cascadia Code', 'Courier New', monospace;
}

/* ----- Base ----- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Instrument Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: 'Lexend', sans-serif;
    line-height: 1.2;
}

h1 { color: #ffffff; }
h2 { color: #e8e8e8; }
h3, h4, h5 { color: #cccccc; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffd584; }

mark {
    background: var(--mark-bg);
    color: var(--mark-color1);
    border-radius: 3px;
    padding: 1px 5px;
    font-style: normal;
    font-family: var(--mark-font);
    font-size: 0.87em;
}

/* ----- Sections ----- */

.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 0;
}

.section-intro p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================
   NAVBAR
   ========================================================= */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    transition: padding 0.3s, background 0.3s;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2.5px;
}

.nav-logo {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 16px !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;
    padding-top: 100px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 202, 90, 0.09) 0%, transparent 65%),
        var(--bg);
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 13px 30px;
    border-radius: 6px;
    margin: 6px;
    transition: background 0.2s, transform 0.15s;
}

.btn-cta:hover {
    background: #72db71;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 13px 30px;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin: 6px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    color: #fff;
    border-color: #555;
}

/* =========================================================
   CARD PANEL
   ========================================================= */

.card-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.25s, transform 0.25s;
}

.card-panel:hover {
    border-color: rgba(91, 202, 90, 0.3);
    transform: translateY(-3px);
}

.card-panel h4 {
    color: var(--accent);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-panel p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* =========================================================
   CLIENTS / SOCIAL PROOF
   ========================================================= */

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 10px;
}

.stat-num {
    font-family: 'Lexend', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* =========================================================
   INDUSTRY CARDS
   ========================================================= */

.card-panel--industry {
    border-color: #1a1a1a;
}

.card-panel--industry:hover {
    border-color: rgba(91, 202, 90, 0.4);
}

.industry-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(91, 202, 90, 0.3);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 16px;
}

.card-panel--industry h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.card-panel--industry p {
    font-size: 0.93rem;
    line-height: 1.7;
}

/* =========================================================
   FAQ / WHY
   ========================================================= */

.faq { max-width: 820px; }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-q {
    font-family: 'Lexend', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 10px;
}

.faq-a {
    font-size: 0.97rem;
    color: var(--text-muted);
}

/* =========================================================
   CTA
   ========================================================= */

.cta-inner {
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
        url('https://cdn.prod.website-files.com/6868f55eb11c5b85b62c002a/6868f6b66d59c2260374b7bd_df124915-bb9d-4d05-8155-f23a0ae805a9.avif') center / cover no-repeat;
    border-radius: 16px;
    padding: 90px 70px;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-inner p {
    font-size: 1.05rem;
    color: #b0b0b0;
    max-width: 580px;
    margin-bottom: 36px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #ffffff;
    color: #111;
    padding: 80px 0 40px;
}

.footer-top { margin-bottom: 20px; }

.footer-brand-col { margin-bottom: 32px; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.footer-brand span {
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #111;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 14px;
    display: block;
}

.footer-list li a {
    font-size: 0.88rem;
    color: #444;
    display: block;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-list li a:hover { color: #000; }

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
    padding-top: 28px;
    align-items: center;
}

.footer-bottom span {
    font-size: 0.82rem;
    color: #888;
}

.footer-email {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #888;
    margin-top: 4px;
    transition: color 0.2s;
}

.footer-email:hover { color: #111; }

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.footer-social a {
    color: #777;
    transition: color 0.2s;
}

.footer-social a:hover { color: #000; }

.footer-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    .hero h1 { font-size: 2.5rem; letter-spacing: -0.5px; }
    .hero-lead { font-size: 1rem; }

    .section-intro { margin-bottom: 36px !important; }
    .section-intro h2 { margin-bottom: 16px; }

    .cta-inner { padding: 50px 28px; }
    .cta-inner h2 { font-size: 2rem; }

    .faq-q { font-size: 1.05rem; }

    .stat-num { font-size: 2.2rem; }

    .footer-social {
        justify-content: flex-start;
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .hero { padding-top: 120px; }
    .card-panel { padding: 24px; }
    .btn-cta, .btn-outline { display: block; margin: 8px 0; text-align: center; }
}
