/* ═══════════════════════════════════════════
   HubOne — Landing Page Styles
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --gray: #888888;
    --light: #e0e0e0;
    --white: #ffffff;
    --accent: #84cc16;
    --accent-light: #a3e635;
    --radius: 12px;
    --transition: .3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--black);
    color: var(--light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    background: var(--accent);
    color: var(--black);
    border: 2px solid var(--accent);
    transition: var(--transition);
    cursor: pointer;
}
.btn:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.05); }
.btn--small { padding: 10px 24px; font-size: .85rem; }
.btn--large { padding: 18px 40px; font-size: 1.05rem; }

/* ── Section Tags & Titles ── */
.section-tag {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-light);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 48px;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 16px 0;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__logo img { display: block; }
.navbar__menu { display: flex; list-style: none; gap: 32px; align-items: center; }
.navbar__menu a { font-size: .9rem; font-weight: 500; transition: color var(--transition); }
.navbar__menu a:hover { color: var(--white); }
.navbar__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.navbar__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .25;
    pointer-events: none;
}
.hero__blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__blobs span {
    position: absolute;
    filter: blur(140px);
    opacity: .3;
}
.hero__blobs span:nth-child(1) {
    width: 800px; height: 600px;
    background: radial-gradient(circle at 40% 40%, #d9f99d, var(--accent) 50%, transparent 70%);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    top: -20%; left: -10%;
    animation: drift1 16s ease-in-out infinite alternate;
}
.hero__blobs span:nth-child(2) {
    width: 700px; height: 550px;
    background: radial-gradient(circle at 55% 50%, #ecfccb, var(--accent-light) 45%, transparent 70%);
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
    bottom: -15%; right: -8%;
    animation: drift2 14s ease-in-out infinite alternate;
}
.hero__blobs span:nth-child(3) {
    width: 500px; height: 450px;
    background: radial-gradient(circle at 50% 50%, #f7fee7, var(--accent) 55%, transparent 75%);
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
    top: 30%; left: 40%;
    opacity: .15;
    animation: drift3 20s ease-in-out infinite alternate;
}
@keyframes drift1 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(80px, 60px) rotate(15deg) scale(1.08); }
}
@keyframes drift2 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-70px, -50px) rotate(-12deg) scale(1.05); }
}
@keyframes drift3 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(50px, -40px) rotate(10deg) scale(1.12); }
}
.hero__inner { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero__tag {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gray);
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}
.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__sub {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services { padding: 100px 0; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: rgba(132,204,22,.3); background: var(--dark-3); }
.card__icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.card p { font-size: .9rem; color: var(--gray); line-height: 1.6; }

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about { padding: 100px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text p { color: var(--gray); margin-bottom: 32px; line-height: 1.7; }
.about__stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat__number { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat__label { font-size: .8rem; color: var(--gray); margin-top: 4px; }

/* Code Block */
.code-block {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .85rem;
}
.code-block__bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.code-block pre { padding: 24px; overflow-x: auto; line-height: 1.8; }
.code-block code { color: var(--light); }
.c-key { color: #c792ea; }
.c-prop { color: #82aaff; }
.c-str { color: #c3e88d; }

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process { padding: 100px 0; }
.process__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { position: relative; padding: 32px 24px; }
.step__num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(132,204,22,.2);
    line-height: 1;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--gray); line-height: 1.6; }

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background:
        linear-gradient(rgba(10,10,10,.75), rgba(10,10,10,.75)),
        url("../images/bg_cta-GD_9PDm.jpg") center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
.cta-section__inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--gray); font-size: 1.05rem; margin-bottom: 36px; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__brand img { opacity: .6; display: block; }
.footer__copy { font-size: .8rem; color: var(--gray); text-align: center; }
.footer__links { display: flex; list-style: none; gap: 24px; }
.footer__links a { font-size: .85rem; color: var(--gray); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar__menu { display: none; }
    .navbar__menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--dark);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .navbar__toggle { display: flex; }

    .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

    .about__inner { grid-template-columns: 1fr; gap: 40px; }
    .about__stats { flex-wrap: wrap; gap: 24px; }

    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
}
