:root {
    --bg: #05070a;
    --bg-2: #0b0e14;
    --bg-3: #111520;
    --bg-gradient: rgba(124,92,247,0.08);
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.15);
    --text: #e8eaf0;
    --text-muted: #7a8199;
    --text-dim: #4a5168;
    --accent: #7c5cf7;
    --accent-2: #4f8ef7;
    --accent-hover: #6743f7;
    --card-bg: rgba(79,142,247,0.12);
    --card-border: rgba(79,142,247,0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --font-header: 'Ubuntu', sans-serif;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 64px;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}


/* ════════════════════════════════════════
   UTILITIES
════════════════════════════════════════ */

/* ── CARD ── */
.card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
    cursor: default;
}
.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.card--lg { border-radius: var(--radius-lg); }
.card--lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
/* Top-edge accent line on hover */
.card--accent-line { position: relative; overflow: hidden; }
.card--accent-line::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card--accent-line:hover::before { opacity: 1; }
.card--accent-line:hover { border-color: var(--card-border); }

/* ── BUTTON ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
}
.btn--primary {
    background: var(--accent);
    color: white;
}
.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--card-border);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
    font-weight: 400;
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── ICON WRAP ── */
.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.icon-wrap--sm  { width: 40px; height: 40px; min-width: 40px; font-size: 1.1rem; }
.icon-wrap--md  { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 12px; }
.icon-wrap--lg  { width: 52px; height: 52px; font-size: 0.7rem; }
.icon-wrap--circle { border-radius: 50%; }
.icon-wrap--accent {
    background: linear-gradient(135deg, var(--card-bg), var(--bg-gradient));
    border: 1px solid var(--card-border);
    color: var(--accent);
    margin-bottom: 20px;
}
.icon-wrap--danger {
    background: rgba(247,100,79,0.1);
    color: #f7644f;
}
.icon-wrap--outline {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
}

/* ── CHIP / BADGE ── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.03em;
}
/* Small rectangular tag variant used in service cards */
.chip--tag {
    border-radius: 6px;
    padding: 3px 10px;
    margin-top: 16px;
}

/* ── SECTION HEADER ── */
.section-header--center { text-align: center; margin-bottom: 56px; }
.section-header--left   { margin-bottom: 56px; max-width: 560px; }

.section-header--center p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ── SECTION BACKGROUNDS ── */
section          { position: relative; z-index: 1; padding: 100px 10%; background: var(--bg); }
section.alt      { background: var(--bg-2); }
section.gradient { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

@media (max-width: 900px) {
    section { padding: 70px 5%; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }


/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.header-logo {
    height: 50px;
    width: 50px;
    padding: 4px;
    flex-shrink: 0;
}

.header-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

nav a:hover { color: var(--text); }

/* ════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════ */
h1 {
    font-family: var(--font-header);
    font-size: clamp(1rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 1020px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

h1 .accent-word {
    background: linear-gradient(135deg, var(--accent) 50%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text);
}

h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 14px;
    font-weight: 300;
    max-width: 520px;
}


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--card-bg) 0%, var(--bg-gradient) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 24px auto 0;
    font-weight: 300;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 72px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-stat { text-align: center; }

.hero-stat .number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

@media (max-width: 768px) {
    .hero-stats .stat-divider { display: none; }
    .hero-stats { gap: 28px; }
}


/* ════════════════════════════════════════
   PROBLEM
════════════════════════════════════════ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

/* .problem-card → use .card with padding: 28px; display: flex; gap: 18px; align-items: flex-start */
.problem-card {
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* .problem-icon → use .icon-wrap.icon-wrap--sm.icon-wrap--danger */

.problem-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.55;
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.how-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 16%; right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
    z-index: 0;
}

@media (max-width: 768px) {
    .how-grid::before { display: none; }
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

/* .step-num → use .icon-wrap.icon-wrap--lg.icon-wrap--outline.icon-wrap--circle, margin: 0 auto 20px */
.how-step .icon-wrap {
    margin: 0 auto 20px;
    transition: all 0.2s;
}
.how-step:hover .icon-wrap {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--card-border);
}

.how-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

/* .service-card → use .card.card--lg.card--lift.card--accent-line with padding: 32px */
.service-card { padding: 32px; }

/* .service-icon-wrap → use .icon-wrap.icon-wrap--md.icon-wrap--accent, margin-bottom: 20px */

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* .service-tag → use .chip.chip--tag */


/* ════════════════════════════════════════
   CREDIBILITY
════════════════════════════════════════ */
.credibility-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .credibility-inner { grid-template-columns: 1fr; gap: 40px; }
}

.credibility-text h2  { margin-bottom: 20px; }

.credibility-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 300;
}

.credibility-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: center;
}

.cred-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cred-point .check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent);
    margin-top: 2px;
}

.cred-point span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cred-point span strong {
    color: var(--text);
    font-weight: 500;
}


/* ═══CTA BANNER═══════════════ */
.cta-banner { padding: 80px 10%; }

.cta-inner {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-gradient) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--card-bg), transparent 70%);
    pointer-events: none;
}

.cta-inner h2  { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

.cta-inner p {
    color: var(--text-muted);
    max-width: 440px;
    margin: 16px auto 36px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cta-inner { padding: 40px 24px; }
}


/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* .faq-item → use .card with overflow: hidden */
.faq-item { overflow: hidden; }
.faq-item.open { border-color: var(--card-border); }

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

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.faq-item.open .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
}

.faq-a-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}


/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
/* .contact-inner → use .card.card--lg with padding: 48px; max-width: 640px; margin: 0 auto */
.contact-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px;
}

.contact-inner h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 8px;
}

.contact-inner .section-sub {
    margin-bottom: 36px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .contact-inner { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

input, textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, textarea:focus { border-color: var(--accent); }

textarea { resize: vertical; min-height: 120px; }

.contact-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.contact-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ══FOOTER═════ */
.site-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    place-content: around;
    gap: 12px;
    padding: 5% 10%;
    color: white;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    color: inherit;
    text-decoration: none;
}

.footer-contact-text a:link {
    color: white;
    text-decoration: none;
}

.footer-contact-text a:hover { text-decoration: underline; }

.inline-link:link {
    color: white;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

.social-link {
    display: flex;
    align-items: center;
    font-size: 1.875rem;
    transition: color 0.2s;
    text-decoration: none;
    color: var(--text-muted);
}

.social-link:hover { color: var(--text); }

@media (max-width: 768px) {
    .site-footer { flex-direction: column; }
}