/* ============================================
   SCALEORANGE — Homepage
   Bold agency style. Visitor-first.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

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

:root {
    --orange: #F86823;
    --orange-dark: #E55A15;
    --orange-glow: rgba(248, 104, 35, 0.15);
    --bg: #09090B;
    --bg-alt: #0F0F12;
    --bg-card: #141418;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(248, 104, 35, 0.35);
    --text-primary: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-muted: #63636E;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---- Shared typography ---- */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 14px 30px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    border: none;
    touch-action: manipulation;
}
.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 2px 16px var(--orange-glow);
}
.btn--primary:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 28px var(--orange-glow);
    transform: translateY(-1px);
    color: #fff;
}
.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn--ghost:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.03);
    color: #fff;
}
.btn--lg { padding: 17px 38px; font-size: 0.92rem; }
.btn:active { transform: scale(0.97); transition-duration: 60ms; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    text-align: center;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 24px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero__title--accent {
    background: linear-gradient(135deg, #F86823, #FF8A50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__sub {
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}
.hero__proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}
.hero__proof-item {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.hero__proof-item strong {
    color: var(--text-primary);
    font-weight: 700;
}
.hero__proof-sep {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 24px;
    background: var(--bg-alt);
}
.services__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(248, 104, 35, 0.04);
}
.service-card--featured {
    border-color: rgba(248, 104, 35, 0.2);
    background: linear-gradient(to bottom, rgba(248, 104, 35, 0.03), var(--bg-card));
}
.service-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(248, 104, 35, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.service-card__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}
.service-card__list li {
    font-size: 0.84rem;
    color: var(--text-muted);
    padding: 6px 0 6px 20px;
    position: relative;
}
.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.7;
}
.service-card__link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}
.service-card__link:hover { gap: 14px; }

/* ============================================
   INDUSTRIES
   ============================================ */
.industries {
    padding: 120px 24px;
}
.industries__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.industry-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.industry-card__icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(248, 104, 35, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.industry-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.industry-card__desc {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.industry-card__count {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    opacity: 0.8;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: 120px 24px;
    background: var(--bg-alt);
}
.products__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 32px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.3s var(--ease);
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.product-card__badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    background: rgba(248, 104, 35, 0.06);
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
    margin-bottom: 16px;
}
.product-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.product-card__desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
}
.product-card__cta {
    margin-top: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}
.product-card:hover .product-card__cta { gap: 14px; }

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    padding: 100px 24px;
    background: #ffffff;
}
.clients__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.clients .section-eyebrow { color: var(--orange); }
.clients .section-title { color: #1a1a1a; }
.clients .section-sub { color: #555; }
.clients__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 24px;
    align-items: center;
    justify-items: center;
}
.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
}
.client-card:hover {
    transform: scale(1.05);
    opacity: 1;
}
.client-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 140px 24px;
    background: var(--bg-alt);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(248, 104, 35, 0.05), transparent 65%);
    pointer-events: none;
}
.cta__inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.cta__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
}
.cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .clients__grid { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
    .client-card { height: 50px; }
}
@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; }
    .hero__title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 260px; justify-content: center; }
    .hero__proof { gap: 12px; }
    .hero__proof-sep { display: none; }
    .hero__proof-item { font-size: 0.75rem; }

    .services, .industries, .products, .clients, .cta { padding: 80px 20px; }
    .industry-grid { grid-template-columns: 1fr; }
    .products__grid { grid-template-columns: 1fr; }
    .clients__grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
    .client-card { height: 44px; }

    .cta__actions { flex-direction: column; align-items: center; }
    .cta__actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .client-card { height: 40px; }
    .hero__title { font-size: 1.8rem; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
a:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    top: -100%; left: 16px;
    background: var(--orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 99999;
    text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ============================================
   FOOTER
   ============================================ */
:root {
    --so-orange: #F86823;
    --so-orange-dark: #E55A15;
    --so-orange-light: #FF8A50;
    --so-black: #09090B;
    --so-dark: #0A0A0F;
    --so-gray-950: #131318;
    --so-gray-900: #1A1A23;
    --so-gray-500: #71717A;
    --so-gray-600: #52525B;
    --so-gray-400: #A1A1AA;
    --so-white: #FFFFFF;
    --font-heading: 'Space Grotesk', sans-serif;
    --radius-full: 9999px;
    --ease-legacy: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.footer-section {
    background: #050506 !important;
    padding: 64px 0 24px !important;
    font-family: var(--font-body);
    color: var(--so-gray-500);
}
.footer-section .container { max-width: 1200px; }
.footer-section .footer-text {
    font-size: 0.88rem;
    color: var(--so-gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-section .navbar-brand,
.footer-section .first-column .navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff !important;
    text-decoration: none !important;
}
.footer-section .heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff !important;
    margin-bottom: 16px;
}
.footer-section .list-unstyled {
    padding: 0;
}
.footer-section .list-unstyled li {
    margin-bottom: 10px;
}
.footer-section .list-unstyled li a {
    font-size: 0.85rem;
    color: var(--so-gray-500) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.footer-section .list-unstyled li a:hover {
    color: var(--orange) !important;
}
.footer-section .subscribe_now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.footer-section .subscribe_now:hover {
    background: var(--orange-dark);
}
.footer-section .copyright p {
    font-size: 0.76rem;
    color: var(--so-gray-600);
    margin: 0;
}
.footer-section .social-icons a:hover {
    color: var(--orange) !important;
}
