/* ═══════════════════════════════════════════════════
   STARSOFT — BOLD & DARK THEME
   Drop into ~/Content/starsoft-dark.css
   ═══════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
    --black: #0a0a0f;
    --dark: #111118;
    --dark-mid: #18181f;
    --dark-soft: #1e1e28;
    --dark-border: #2a2a38;
    --grey: #555570;
    --grey-light: #8888a0;
    --white: #f0f0f5;
    --white-dim: #c0c0d0;
    --accent: #ff2d6b;
    --accent-glow: rgba(255, 45, 107, 0.15);
    --accent-soft: rgba(255, 45, 107, 0.06);
    --electric: #00f0ff;
    --electric-glow: rgba(0, 240, 255, 0.12);
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-snap: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ─── RESET / BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-mono);
    color: var(--white);
    background: var(--black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--accent); color: white; }

img { max-width: 100%; height: auto; }
a { text-decoration: none; }
ul, ol { list-style: none; }

/* ─── LAYOUT ─── */
.ss-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ─── GRID OVERLAY ─── */
.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(90deg, var(--dark-border) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
    background-position: center;
    opacity: 0.15;
}


/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

#mainNav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--dark-border);
    transition: box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: var(--white);
    text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-light);
    position: relative;
    transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 8px 20px !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    transition: all 0.25s ease !important;
}
.nav-cta:hover {
    background: var(--accent) !important;
    color: white !important;
}
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--dark-border);
    z-index: 99;
    padding: 24px 48px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav a {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-light);
    transition: color 0.2s ease;
}
.mobile-nav a:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */

.ss-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ss-hero::before {
    content: '';
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.ss-hero::after {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--electric-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 0 120px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow-line {
    display: inline-block;
    width: 40px; height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 7.5vw, 100px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 48px;
    overflow: hidden;
}
.hero-title .accent { color: var(--accent); }
.hero-title .outline {
    -webkit-text-stroke: 1.5px var(--white);
    color: transparent;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-8deg);
    animation: wordReveal 0.9s var(--ease-out) forwards;
}
.hw-1 { animation-delay: 0.3s; }
.hw-2 { animation-delay: 0.5s; }
.hw-3 { animation-delay: 0.7s; }

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-8deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-4%) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-desc { max-width: 400px; }
.hero-desc p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--grey-light);
}

.hero-stats { display: flex; gap: 48px; }
.stat-item { text-align: right; }
.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-number .accent { color: var(--accent); }
.stat-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}

.hero-scroll {
    position: absolute;
    bottom: 40px; left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.6s var(--ease-out) 1.2s forwards;
}
.hero-scroll span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey);
}
.scroll-bar {
    width: 48px; height: 1px;
    background: var(--dark-border);
    position: relative;
    overflow: hidden;
}
.scroll-bar-fill {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: scrollSlide 2.5s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════════ */

.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.section-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
}
.section-label .num {
    color: var(--grey);
    margin-right: 8px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.section-heading .accent { color: var(--accent); }

.section-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--grey-light);
/*    max-width: 520px;*/
}


/* ═══════════════════════════════════════════════════
   WHO WE ARE
   ═══════════════════════════════════════════════════ */

.ss-who {
    padding: 160px 0;
    background: var(--dark);
    position: relative;
    border-top: 1px solid var(--dark-border);
}
.ss-who::before {
    content: 'ABOUT';
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(100px, 16vw, 240px);
    font-weight: 800;
    text-transform: uppercase;
    -webkit-text-stroke: 1px var(--dark-border);
    color: transparent;
    right: -3%; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.3;
}

.who-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.who-right { padding-top: 80px; }
.who-right p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--grey-light);
    margin-bottom: 16px;
}


/* ═══════════════════════════════════════════════════
   CAPABILITIES / WHAT WE DO
   ═══════════════════════════════════════════════════ */

.ss-capabilities {
    padding: 160px 0;
    background: var(--black);
    border-top: 1px solid var(--dark-border);
}

.capabilities-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}
.capabilities-header--stacked {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
}

.cap-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: start;
}

.cap-lead {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 20px;
}

.cap-body {
    font-size: 14px;
    line-height: 1.85;
    color: var(--grey-light);
    margin-bottom: 36px;
}

.cap-sub-heading {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 20px;
}

.cap-project-list {
    padding-left: 0;
}
.cap-project-list li {
    font-size: 13px;
    line-height: 1.75;
    color: var(--grey-light);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid var(--dark-border);
}
.cap-project-list li:last-child { border-bottom: none; }
.cap-project-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 6px; height: 1px;
    background: var(--accent);
}

.cap-advice-card {
    padding: 36px;
    border: 1px solid var(--dark-border);
    background: var(--dark);
    position: relative;
}
.cap-advice-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 36px;
    width: 48px; height: 3px;
    background: var(--accent);
}
.cap-advice-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.cap-advice-card p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--grey-light);
}


/* ═══════════════════════════════════════════════════
   WHY PARTNER WITH US
   ═══════════════════════════════════════════════════ */

.ss-partner {
    padding: 160px 0;
    background: var(--dark);
    text-align: left;
    position: relative;
    border-top: 1px solid var(--dark-border);
    overflow: hidden;
}
.ss-partner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 60px;
    text-align: left;
}

.partner-card {
    padding: 48px 36px;
    border: 1px solid var(--dark-border);
    margin: 0 0 0 -1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.partner-card:first-child { margin-left: 0; }
.partner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card:hover { background: var(--dark-soft); }

.partner-icon {
    color: var(--accent);
    margin-bottom: 24px;
}

.partner-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--white);
}

.partner-card p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--grey-light);
}


/* ═══════════════════════════════════════════════════
   HOW WE DO IT / PROCESS
   ═══════════════════════════════════════════════════ */

.ss-process {
    padding: 160px 0;
    background: var(--black);
    border-top: 1px solid var(--dark-border);
    position: relative;
}
.ss-process::before {
    content: 'CODE';
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(100px, 16vw, 240px);
    font-weight: 800;
    text-transform: uppercase;
    -webkit-text-stroke: 1px var(--dark-border);
    color: transparent;
    right: -3%; bottom: 10%;
    pointer-events: none;
    opacity: 0.3;
}

.process-subtitle {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
}

.process-step {
    padding: 48px 32px;
    border: 1px solid var(--dark-border);
    margin: 0 0 0 -1px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}
.process-step:first-child { margin-left: 0; }
.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.process-step:hover::before { transform: scaleX(1); }
.process-step:hover { background: var(--dark-soft); }

.process-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-border);
    margin-bottom: 24px;
    transition: color 0.4s ease;
}
.process-step:hover .process-num { color: var(--accent); }

.process-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--white);
}
.process-content p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--grey-light);
}


/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */

.ss-contact {
    padding: 140px 0;
    background: var(--black);
    border-top: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}
.ss-contact::before {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--grey-light);
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-border);
}
.contact-info-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
    width: 70px;
    flex-shrink: 0;
}
.contact-info-value a {
    color: var(--white-dim);
    font-size: 14px;
    transition: color 0.2s ease;
}
.contact-info-value a:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--accent);
    color: white;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-accent:hover {
    background: #e0205a;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: none;
    border: 1px solid var(--dark-border);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ═══════════════════════════════════════════════════
   CONTACT MODAL
   ═══════════════════════════════════════════════════ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    background: var(--dark);
    border: 1px solid var(--dark-border);
}

.modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--grey-light);
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s ease;
}
.modal-close:hover { color: var(--white); }

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.modal-form-side {
    padding: 48px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.form-field { margin-bottom: 16px; }
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-soft);
    border: 1px solid var(--dark-border);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; }

.form-error {
    display: none;
    color: var(--accent);
    font-size: 12px;
    margin-bottom: 16px;
}

.modal-map-side {
    background: var(--dark-mid);
    position: relative;
}
.modal-map-side #google_map {
    width: 100%;
    height: 100%;
    min-height: 300px;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.ss-footer {
    padding: 20px 0;
    background: var(--black);
    border-top: 1px solid var(--dark-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ss-footer p {
    font-size: 11px;
    color: var(--grey);
}


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */

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

@keyframes scrollSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.24s; }


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .ss-container { padding: 0 24px; }
    .nav-container { padding: 0 24px; }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }
    .hero-stats { align-self: flex-start; }
    .hero-scroll { left: 24px; }

    .who-row,
    .capabilities-header,
    .cap-content-grid,
    .contact-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-grid { grid-template-columns: 1fr; gap: 0; }
    .partner-card { margin-left: 0; }

    .process-grid { grid-template-columns: 1fr 1fr; }

    .who-right { padding-top: 0; }

    .ss-who::before,
    .ss-process::before { display: none; }

    .modal-grid { grid-template-columns: 1fr; }
    .modal-map-side { min-height: 250px; }

    .mobile-nav { padding: 24px; }
}

@media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 32px; }
    .stat-item { text-align: left; }
}
