/* ─── VibeIT Tech — shared stylesheet ─── */

:root {
    --bg:            #08070d;
    --surface:       rgba(255, 255, 255, 0.022);
    --surface-hover: rgba(255, 255, 255, 0.045);
    --line:          rgba(255, 255, 255, 0.06);
    --line-strong:   rgba(255, 255, 255, 0.12);

    --text:      #e8e6f0;
    --text-soft: #a09cb8;
    --text-mute: #6f6b86;
    --text-dim:  #55526b;

    --accent:      #8b5cf6;
    --accent-2:    #c084fc;
    --accent-deep: #6d3fe0;
    --accent-soft: #b79cff;

    --radius-lg: 24px;
    --radius:    16px;
    --radius-sm: 10px;

    --shell: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Ambient wash behind everything. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(139, 92, 246, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 84% 12%, rgba(192, 132, 252, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 88%, rgba(109, 63, 224, 0.05) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

a { color: inherit; }

/* ─── Header ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(8, 7, 13, 0.72);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.32);
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.brand-text span { color: var(--accent-soft); }

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

nav a:hover { color: #fff; background: var(--surface-hover); }

nav .nav-active { color: #fff; background: var(--surface-hover); }

nav .nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    padding: 9px 20px;
    font-weight: 600;
    margin-left: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

nav .nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(139, 92, 246, 0.35);
}

/* ─── Layout ─── */
main { flex: 1; }

section {
    padding: 96px 24px;
    max-width: var(--shell);
    margin: 0 auto;
}

.divider {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.divider hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-mute);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 130px 24px 90px;
    position: relative;
    overflow: hidden;
    max-width: none;
}

.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-glow-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 65%);
    top: -12%;
    right: -14%;
    animation: heroFloat 11s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.09), transparent 65%);
    bottom: 2%;
    left: -14%;
    animation: heroFloat 13s ease-in-out infinite alternate-reverse;
}

@keyframes heroFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -34px) scale(1.08); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 17px 6px 11px;
    background: rgba(139, 92, 246, 0.09);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: 30px;
    animation: fadeUp 0.7s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
    font-size: clamp(38px, 7.4vw, 74px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    max-width: 15ch;
    color: #fff;
    animation: fadeUp 0.7s ease 0.08s both;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(16px, 1.7vw, 19px);
    color: var(--text-soft);
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.7s ease 0.16s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s ease 0.24s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ─── Buttons ─── */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 4px 28px rgba(139, 92, 246, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* ─── Card grids ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.28);
    background: var(--surface-hover);
}

.card .card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-soft);
}

.card .card-icon svg { width: 22px; height: 22px; }

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ─── Numbered steps ─── */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
}

.step .step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-soft);
    display: block;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ─── Split feature block ─── */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.split .split-copy h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.split .split-copy p {
    color: var(--text-mute);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.check-list { list-style: none; }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
    padding: 9px 0;
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b79cff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ─── CTA box ─── */
.cta-section { padding-top: 40px; }

.cta-box {
    background: linear-gradient(150deg, rgba(139, 92, 246, 0.1), rgba(192, 132, 252, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    padding: 66px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.16), transparent 62%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
}

.cta-box p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-box .btn-primary { position: relative; }

/* ─── Simple page shell (contact, legal) ─── */
.page {
    max-width: 780px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.page-narrow { max-width: 560px; }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 52px 44px;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.09), transparent 60%);
    pointer-events: none;
}

.panel > * { position: relative; }

.panel h1 {
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.panel .lede {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 4px 28px rgba(139, 92, 246, 0.26);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    word-break: break-word;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.38);
}

.note {
    margin-top: 26px;
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ─── Legal / long-form copy ─── */
.legal h1 {
    font-size: clamp(28px, 4.4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.legal .updated {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin: 40px 0 12px;
}

.legal p,
.legal li {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.85;
}

.legal p { margin-bottom: 14px; }

.legal ul {
    margin: 0 0 14px 20px;
    padding-left: 4px;
}

.legal li { margin-bottom: 7px; }

.legal a {
    color: var(--accent-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(183, 156, 255, 0.3);
}

.legal a:hover { border-bottom-color: var(--accent-soft); }

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--line);
    padding: 44px 24px 40px;
    text-align: center;
}

.footer-inner {
    max-width: var(--shell);
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 4px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-links a:hover { color: #fff; background: var(--surface-hover); }

footer p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.8;
}

footer p a {
    color: var(--text-mute);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

footer p a:hover { color: var(--accent-soft); }

/* ─── Responsive ─── */
@media (max-width: 760px) {
    header { padding: 12px 18px; }
    .brand-text { font-size: 17px; }
    .brand-icon { width: 30px; height: 30px; font-size: 15px; }
    nav { gap: 0; }
    nav a { font-size: 13px; padding: 7px 10px; }
    nav .nav-cta { padding: 8px 15px; margin-left: 2px; }
    section { padding: 72px 20px; }
    .hero { padding: 120px 20px 70px; }
    .page { padding: 116px 20px 64px; }
    .panel { padding: 36px 24px; }
    .cta-box { padding: 46px 24px; border-radius: 24px; }
    .split { gap: 32px; }
}

/* Below this the brand plus four nav items no longer fit on one row, and the
   header would push the whole document wider than the viewport. The section
   anchors collapse; the brand still links home and the footer keeps every link. */
@media (max-width: 640px) {
    nav .nav-sec { display: none; }
}

@media (max-width: 380px) {
    .brand-text { font-size: 15px; }
    nav a { padding: 6px 9px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
