/* =====================================================================
   SH Tech Industry — Public Site Stylesheet
   Dark, futuristic tech theme: deep navy background, neon blue/cyan
   accents, glassmorphism, glow effects. Built with CSS variables so
   the palette can be re-themed from one place if needed.
   ===================================================================== */

:root {
    /* Surfaces */
    --bg: #090d18;
    --bg-elevated: #111a2e;
    --bg-elevated-2: #16213b;
    --bg-deep: #05070d;

    /* Borders */
    --border-color: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(56, 189, 248, 0.4);

    /* Text */
    --text-main: #f1f5f9;
    --text-secondary: #aab4c5;
    --text-muted: #6b7891;

    /* Accents */
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent-2: #22d3ee;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
    --glow: rgba(56, 189, 248, 0.4);

    /* Shadows (dark-mode depth, not light-mode soft shadows) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.6);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    background-color: var(--bg);
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    background-attachment: fixed;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3 { color: var(--text-main); font-family: var(--font-sans); }
a { text-decoration: none; color: var(--accent-2); transition: var(--transition-smooth); }
a:hover { color: #67e8f9; }

::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2a44; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

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

/* ---------------------------------------------------------------
   Preloader
   --------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
    width: 46px;
    height: 46px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-2);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------
   Page-load + scroll-reveal animation
   --------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   Eyebrow tag (used above section titles)
   --------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   Header & Navigation
   --------------------------------------------------------------- */
header {
    background: rgba(9, 13, 24, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
header.scrolled .container { padding: 10px 20px; }
header.scrolled { box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5); background: rgba(9, 13, 24, 0.92); }

.header-logo-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #93c5fd, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

nav { display: flex; gap: 25px; align-items: center; }
nav a.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
}
nav a.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    transition: var(--transition-smooth);
}
nav a.nav-link:hover { color: var(--text-main); }
nav a.nav-link:hover::after,
nav a.nav-link.active::after { width: 100%; }
nav a.nav-link.active { color: var(--text-main); }

.nav-cta {
    background: var(--accent-gradient);
    color: #04101f;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 16px -4px rgba(56, 189, 248, 0.55);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.nav-cta:hover { color: #04101f; transform: translateY(-2px); box-shadow: 0 8px 22px -4px rgba(56, 189, 248, 0.7); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1040;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------
   Hero Section
   --------------------------------------------------------------- */
.hero {
    text-align: center;
    /* No horizontal padding: the nested .container already supplies it.
       Adding it here double-indents the hero out of line with the header
       and the rest of the page sections. */
    padding: 84px 0 76px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.14) 0%, transparent 55%);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.2) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    z-index: 0;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.hero-glow-1 { width: 380px; height: 380px; background: var(--primary); top: -120px; left: 8%; animation: floatBlob 14s ease-in-out infinite; }
.hero-glow-2 { width: 320px; height: 320px; background: var(--accent-2); bottom: -140px; right: 10%; animation: floatBlob 18s ease-in-out infinite reverse; }
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}
.hero-content { position: relative; z-index: 1; }
.hero h2 {
    font-size: 3.25rem;
    margin: 0 0 20px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, #ffffff 0%, #bfdbfe 35%, #22d3ee 55%, #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: heroShimmer 9s linear infinite;
}
@keyframes heroShimmer { to { background-position: 220% center; } }
.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px auto;
}
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--accent-gradient);
    color: #04101f;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 28px -8px rgba(56, 189, 248, 0.55);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-22deg);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 14px 34px -8px rgba(56, 189, 248, 0.7);
    color: #04101f;
}
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-strong);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}
.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-2);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */
section { padding: 64px 0; position: relative; overflow: hidden; }
section[id] { scroll-margin-top: 84px; }

.glow-bg::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}
.glow-bg-1::before { background: var(--primary); top: -120px; right: -160px; }
.glow-bg-2::before { background: var(--accent-2); bottom: -160px; left: -160px; }

.section-header { text-align: center; margin-bottom: 42px; }
.section-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

/* About Section */
.about-card {
    background: var(--bg-elevated);
    padding: 44px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--border-color);
}
.about-content h3 { font-size: 1.8rem; margin-top: 0; margin-bottom: 4px; }
.about-content .about-role { color: var(--accent-2); font-weight: 600; margin-bottom: 14px; display: block; }
.about-content p { color: var(--text-secondary); font-size: 1.1rem; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-elevated);
    padding: 36px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.75), rgba(34, 211, 238, 0.75));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { opacity: 1; }
.product-visual {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(34, 211, 238, 0.14));
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.icon-tile-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.icon-tile-inner svg {
    width: 52px; height: 52px;
    color: var(--accent-2);
    filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.5));
    transition: var(--transition-smooth);
}
.product-card:hover .product-visual { border-color: var(--border-strong); box-shadow: 0 0 30px -6px rgba(56, 189, 248, 0.45); }
.product-card:hover .product-visual img { transform: scale(1.06); }
.product-card:hover .icon-tile-inner svg { transform: scale(1.1); }
.product-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.product-card p { color: var(--text-secondary); font-size: 1rem; }

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
}
.client-card {
    background: var(--bg-elevated);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.client-card:hover { background: var(--bg-elevated-2); transform: translateY(-5px); border-color: var(--border-strong); }
.client-card h3 { font-size: 1.1rem; margin: 0; color: var(--text-main); }
.client-card p { font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }

/* ---------------------------------------------------------------
   Media tiles (logo / profile photo / client logo with a generated
   "initials" fallback instead of an external placeholder service)
   --------------------------------------------------------------- */
.media-tile { position: relative; display: inline-flex; }
.media-tile img { display: block; }
.media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-sans);
}
.media-fallback.variant-1 { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.media-fallback.variant-2 { background: linear-gradient(135deg, #6366f1, #3b82f6); }
.media-fallback.variant-3 { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.media-fallback.variant-4 { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.media-fallback.variant-5 { background: linear-gradient(135deg, #2563eb, #06b6d4); }

.logo-tile { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile .media-fallback { width: 100%; height: 100%; font-size: 0.95rem; border-radius: 10px; }

.profile-pic { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid var(--bg-elevated); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3), var(--shadow-md); transition: var(--transition-smooth); }
.profile-pic img { width: 100%; height: 100%; object-fit: cover; }
.profile-pic .media-fallback { width: 100%; height: 100%; font-size: 3rem; }
.profile-pic:hover { transform: scale(1.04) rotate(1deg); }
.profile-img-container { flex-shrink: 0; }

.client-logo-tile { width: 100%; height: 60px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.client-logo-tile img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(60%) brightness(1.3) opacity(0.8); transition: var(--transition-smooth); }
.client-card:hover .client-logo-tile img { filter: none; opacity: 1; }
.client-logo-tile .media-fallback { width: 56px; height: 56px; border-radius: 12px; font-size: 1.1rem; margin: 0 auto; }

/* ---------------------------------------------------------------
   Contact Section
   --------------------------------------------------------------- */
.contact-card {
    background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
    color: var(--text-main);
    padding: 56px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    margin: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-strong);
}
.contact-card h2 { color: #ffffff; margin: 4px 0 15px; }
.contact-card p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 25px; }
.contact-card strong { color: #e2e8f0; font-weight: 600; }
.contact-card a { color: var(--accent-2); font-weight: 500; }
.contact-card a:hover { color: #bae6fd; text-decoration: underline; }

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 12px;
}
.contact-details > div { display: flex; flex-direction: column; gap: 8px; }

/* Contact form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 35px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: left;
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) {
    .form-row.two-col { grid-template-columns: 1fr 1fr; }
}
.form-group label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 7px;
    color: #cbd5e1;
    font-weight: 600;
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}
.form-control::placeholder { color: #64748b; }
.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-error { color: #fca5a5; font-size: 0.86rem; margin-top: 5px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: #fca5a5; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
    margin-top: 6px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.form-status.show { display: flex; }
.form-status.success { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.form-status.error { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

.spinner-sm {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -3px;
    margin-right: 8px;
}

/* ---------------------------------------------------------------
   Social links
   --------------------------------------------------------------- */
.social-links { display: flex; gap: 14px; justify-content: center; margin: 18px 0 4px; }
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #020306 100%);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-2), var(--primary));
}
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col { min-width: 0; }
.footer-brand { padding-right: 10px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(to right, #60a5fa, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-blurb { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; max-width: 320px; }

.footer-heading { color: #f1f5f9; font-size: 1rem; font-weight: 700; margin: 0 0 20px; letter-spacing: 0.02em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition-smooth); display: inline-flex; align-items: center; }
.footer-links a::before { content: ''; width: 0; height: 1px; background: var(--accent-2); margin-right: 0; transition: var(--transition-smooth); display: inline-block; }
.footer-links a:hover { color: #f1f5f9; padding-left: 4px; }
.footer-links a:hover::before { width: 10px; margin-right: 8px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-muted); overflow-wrap: anywhere; }
.footer-contact svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--accent-2); }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: #f1f5f9; }

.site-footer .social-links { justify-content: flex-start; margin: 0; }
.site-footer .social-links a { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #cbd5e1; }
.site-footer .social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom-inner p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.back-to-top { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; transition: var(--transition-smooth); }
.back-to-top svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.back-to-top:hover { color: var(--accent-2); }
.back-to-top:hover svg { transform: translateY(-3px); }

/* ---------------------------------------------------------------
   Scroll progress bar (top of viewport)
   --------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-gradient);
    box-shadow: 0 0 12px var(--glow);
    z-index: 2000;
    transition: width 0.1s linear;
    will-change: width;
}

/* ---------------------------------------------------------------
   Hero: scroll-down cue + trust badges
   --------------------------------------------------------------- */
.hero-scroll-cue {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 46px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hero-scroll-cue .mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--border-strong);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.hero-scroll-cue .mouse span {
    width: 3px; height: 7px;
    border-radius: 2px;
    background: var(--accent-2);
    animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 0; transform: translateY(-4px); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(9px); }
}

/* ---------------------------------------------------------------
   Stats band (animated count-up)
   --------------------------------------------------------------- */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 8px 0 8px;
    padding: 34px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-elevated-2) 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    opacity: 0.7;
}
.stat-item { text-align: center; padding: 6px 8px; position: relative; }
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 18%;
    height: 64%;
    width: 1px;
    background: var(--border-color);
}
.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #93c5fd, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat-caption {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------
   Floating WhatsApp button
   --------------------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 16px;
    border-radius: 28px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.6);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float-label {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.92rem;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-left 0.4s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 32px -6px rgba(37, 211, 102, 0.75); }
.wa-float:hover .wa-float-label { max-width: 190px; opacity: 1; margin-left: 10px; }
/* Gentle attention pulse */
.wa-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: waPulse 2.6s infinite;
    pointer-events: none;
}
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------------------------------------------------------------
   Tech marquee strip
   --------------------------------------------------------------- */
.tech-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tech-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
.tech-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 30px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.25s ease;
}
.tech-marquee-item::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    flex-shrink: 0;
}
.tech-marquee-item:hover { color: var(--accent-2); }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .tech-marquee-track { animation: none; }
}

/* ---------------------------------------------------------------
   Animated section divider
   --------------------------------------------------------------- */
.section-divider {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    position: relative;
    overflow: visible;
}
.section-divider::after {
    content: '';
    position: absolute;
    top: -2px; left: 0;
    width: 90px; height: 5px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    filter: blur(1px);
    animation: dividerSweep 7s ease-in-out infinite;
}
@keyframes dividerSweep {
    0%, 100% { left: 0; opacity: 0; }
    15%, 85% { opacity: 1; }
    50% { left: calc(100% - 90px); }
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    nav#primaryNav {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 270px;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        border-left: 1px solid var(--border-color);
    }
    nav#primaryNav.open { right: 0; }
    .nav-cta { width: 100%; text-align: center; }

    .hero { padding: 70px 0 58px; }
    .hero h2 { font-size: 2.2rem; }
    .stats-band { grid-template-columns: 1fr 1fr; gap: 8px; padding: 26px 16px; }
    .wa-float { right: 16px; bottom: 16px; height: 52px; padding: 0 14px; }
    .wa-float svg { width: 26px; height: 26px; }
    /* Keep the label collapsed on touch screens — there is no hover. */
    .wa-float:hover .wa-float-label { max-width: 0; opacity: 0; margin-left: 0; }
    .tech-marquee-item { font-size: 0.8rem; padding: 0 20px; }
    .stat-item:nth-child(3)::before { display: none; }
    .stat-number { font-size: 2.1rem; }
    .about-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .contact-details { flex-direction: column; gap: 20px; }
    .contact-card { padding: 40px 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand { padding-right: 0; }
    .footer-blurb { max-width: none; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
