/* ═══════════════════════════════════════════════════
   WDG Solutions — Shared Dark Theme Stylesheet
   Fonts: Clash Display (headings) + Outfit (body)
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

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

:root {
    /* Palette */
    --bg:        #0d1117;
    --bg2:       #111820;
    --bg3:       #161f28;
    --surface:   #1a2433;
    --surface2:  #1f2d3d;
    --border:    rgba(255,255,255,0.07);
    --border2:   rgba(255,255,255,0.12);

    --cyan:      #00c8e0;
    --cyan-dim:  rgba(0,200,224,0.12);
    --cyan-glow: rgba(0,200,224,0.25);
    --blue:      #2a7fff;
    --teal:      #0aab96;

    --text:      #e8edf2;
    --text2:     #8fa3b4;
    --text3:     #4f6275;

    --radius:    14px;
    --radius-sm: 8px;
    --transition:0.26s cubic-bezier(0.4,0,0.2,1);

    /* Fonts */
    --font-head: 'Clash Display', 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(13,17,23,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 28px;
    display: flex; align-items: center;
    height: 66px; gap: 8px;
}
.nav-brand {
    font-family: var(--font-head);
    font-weight: 700; font-size: 1.2rem;
    color: var(--text); text-decoration: none;
    letter-spacing: -0.02em; flex-shrink: 0;
}
.nav-brand span { color: var(--cyan); }

.nav-links {
    display: flex; align-items: center;
    gap: 2px; list-style: none; margin-left: auto;
}
.nav-links a {
    font-size: 0.875rem; font-weight: 500;
    color: var(--text2); text-decoration: none;
    padding: 8px 14px; border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--surface); }
.nav-cta {
    background: var(--cyan) !important;
    color: var(--bg) !important;
    font-weight: 600 !important;
    margin-left: 6px;
}
.nav-cta:hover { filter: brightness(1.1); }

/* Toggle button */
.nav-toggle {
    display: none; margin-left: auto;
    background: none; border: none; cursor: pointer;
    padding: 10px; color: var(--text); z-index: 300;
    position: relative;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: currentColor; margin: 5px 0;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.nav-drawer-overlay {
    position: fixed; inset: 0; z-index: 250;
    background: rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: all; }

.nav-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; z-index: 260;
    background: var(--bg2);
    border-right: 1px solid var(--border2);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column;
    padding: 24px 20px;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-brand {
    font-family: var(--font-head);
    font-weight: 700; font-size: 1.15rem;
    color: var(--text); margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.nav-drawer-brand span { color: var(--cyan); }
.nav-drawer nav {
    display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.nav-drawer nav a {
    font-size: 0.95rem; font-weight: 500;
    color: var(--text2); text-decoration: none;
    padding: 12px 16px; border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    display: flex; align-items: center; gap: 10px;
}
.nav-drawer nav a i { width: 16px; font-size: 0.8rem; color: var(--cyan); }
.nav-drawer nav a:hover,
.nav-drawer nav a.active { background: var(--surface); color: var(--text); }
.nav-drawer .drawer-cta {
    margin-top: 20px;
    background: var(--cyan);
    color: var(--bg) !important;
    font-weight: 600 !important;
    justify-content: center;
}

@media (max-width: 740px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ══════════════════════════════
   SHARED LAYOUT
══════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 36px 28px; }

.section-label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.section-label::before {
    content: ''; display: block;
    width: 20px; height: 1.5px;
    background: var(--cyan);
}
.section-title {
    font-family: var(--font-head);
    font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.03em; color: var(--text);
    line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
    font-size: 1rem; color: var(--text2);
    line-height: 1.75; max-width: 560px;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 72px 28px 64px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--text3); margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: var(--text3); text-decoration: none; transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--cyan); }
.page-hero-breadcrumb span { color: var(--text3); }
.page-hero h1 {
    font-family: var(--font-head);
    font-weight: 700; font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em; color: var(--text);
    line-height: 1.1; margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.05rem; color: var(--text2);
    line-height: 1.75; max-width: 600px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600;
    font-size: 0.875rem; letter-spacing: 0.01em;
    padding: 12px 24px; border-radius: var(--radius-sm);
    text-decoration: none; border: 1.5px solid transparent;
    cursor: pointer; transition: all var(--transition); line-height: 1;
}
.btn-cyan {
    background: var(--cyan); color: var(--bg);
    border-color: var(--cyan);
}
.btn-cyan:hover { filter: brightness(1.1); }
.btn-outline-cyan {
    background: transparent; color: var(--cyan);
    border-color: rgba(0,200,224,0.35);
}
.btn-outline-cyan:hover { background: var(--cyan-dim); border-color: var(--cyan); }
.btn-surface {
    background: var(--surface); color: var(--text);
    border-color: var(--border2);
}
.btn-surface:hover { background: var(--surface2); border-color: var(--border2); }
.btn-lg { padding: 15px 30px; font-size: 0.95rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 6px; }

/* ── CARDS ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text2); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; font-family: var(--font-body);
    font-size: 0.9rem; color: var(--text);
    background: var(--bg3);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius-sm); padding: 12px 16px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ── DIVIDERS & ACCENTS ── */
.glow-line {
    height: 1px; width: 100%;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.3; margin: 60px 0;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 72px 28px 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
    font-family: var(--font-head); font-weight: 700;
    font-size: 1.2rem; color: var(--text); margin-bottom: 14px;
}
.footer-brand span { color: var(--cyan); }
.footer-about {
    font-size: 0.875rem; line-height: 1.75;
    color: var(--text2); margin-bottom: 28px;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text2); text-decoration: none; font-size: 0.82rem;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }

.footer-col h5 {
    font-family: var(--font-head); font-weight: 600;
    font-size: 0.8rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    font-size: 0.875rem; color: var(--text2);
    text-decoration: none; transition: color var(--transition);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bar {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text3);
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }
.reveal-delay-5 { transition-delay: 0.35s; }
.reveal-delay-6 { transition-delay: 0.42s; }
