/* ==========================================================================
   G3 AI LABS — DESIGN SYSTEM & CORE STYLES (Vanilla CSS)
   ========================================================================== */

:root {
    --bg: #030303;
    --surface: #050505;
    --surface-hover: #0a0a0a;
    --border: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 255, 255, 0.2);
    
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.5);
    --pink: #ff007f;
    --pink-glow: rgba(255, 0, 127, 0.5);

    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    --text-faint: rgba(255, 255, 255, 0.35);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-max: 1280px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: #1e1e1e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}
::selection {
    background: var(--cyan);
    color: #000000;
}

/* Grain Overlay */
.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography & Glows */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.text-cyan { color: var(--cyan); }
.text-white { color: #ffffff; font-weight: 600; }

.text-glow {
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 50px rgba(0, 229, 255, 0.25);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
}

.section {
    position: relative;
    padding: 96px 0;
    border-top: 1px solid var(--border);
    background-color: var(--surface);
}
@media (min-width: 1024px) {
    .section { padding: 130px 0; }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
}
.logo-g3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
}
.logo-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
}
.logo-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    transition: color 0.3s ease;
}
.logo-btn:hover .logo-sub {
    color: var(--cyan);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 40px;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-link {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 0;
}
.nav-link:hover {
    color: #ffffff;
}
.nav-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--cyan);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover .nav-line {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: transparent;
    padding: 8px 20px;
    border-radius: 9999px;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-solid {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
}
.btn-solid:hover {
    background: var(--cyan);
    color: #000000;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}
.btn-lg {
    padding: 16px 36px;
    font-size: 12px;
}

.icon-arrow-down { transition: transform 0.3s ease; }
.btn:hover .icon-arrow-down { transform: translateY(3px); }
.icon-arrow-right { transition: transform 0.3s ease; }
.btn:hover .icon-arrow-right { transform: translateX(3px); }

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 4px;
}
@media (min-width: 768px) {
    .mobile-toggle { display: none; }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
    background: #080808;
    border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================================================
   HERO SECTION & 3D CANVAS
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--bg);
}

.canvas-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
#brainCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}
#brainCanvas:active {
    cursor: grabbing;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at 65% 50%, transparent 10%, var(--bg) 85%);
}
@media (max-width: 768px) {
    .hero-overlay {
        background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg) 80%);
    }
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
}
@media (min-width: 1024px) {
    .hero-content { padding: 0 40px; }
}

.badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.badge-line {
    width: 32px;
    height: 1px;
    background-color: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}
.badge-text {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-sub {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: #ffffff;
}
@media (min-width: 640px) { .hero-title { font-size: 84px; } }
@media (min-width: 1024px) { .hero-title { font-size: 110px; } }

.hero-title .block {
    display: block;
}

.hero-desc {
    max-width: 640px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .hero-desc { font-size: 21px; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================================================
   INFINITE MARQUEE BANNER
   ========================================================================== */
.marquee-banner {
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background-color: #050505;
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    z-index: 10;
}
.marquee-banner::before, .marquee-banner::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-banner::before {
    left: 0;
    background: linear-gradient(to right, #050505, rgba(5, 5, 5, 0));
}
.marquee-banner::after {
    right: 0;
    background: linear-gradient(to left, #050505, rgba(5, 5, 5, 0));
}

.marquee-track {
    display: flex;
    flex-direction: row;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}
.marquee-banner:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.marquee-content span {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.85);
    padding: 0 32px;
}
@media (min-width: 768px) {
    .marquee-content span { font-size: 28px; }
}
.marquee-content span.diamond {
    color: var(--cyan);
    font-size: 16px;
    padding: 0;
    text-shadow: 0 0 10px var(--cyan);
}

/* ==========================================================================
   SECTION HEADERS & TAGS
   ========================================================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.section-tag .diamond {
    color: var(--cyan);
    font-size: 12px;
    text-shadow: 0 0 8px var(--cyan);
}
.tag-text {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--cyan);
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .section-title { font-size: 56px; }
}
@media (min-width: 1024px) {
    .section-title { font-size: 64px; }
}

.section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}
@media (min-width: 768px) {
    .section-desc { font-size: 18px; }
}

.section-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 64px;
}
@media (min-width: 768px) {
    .section-header-grid {
        grid-template-columns: 7fr 5fr;
        gap: 64px;
    }
}

/* ==========================================================================
   PROBLEM SECTION (STATS GRID)
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: 16px;
}
@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.stat-card {
    background-color: var(--surface);
    padding: 36px 32px;
    transition: background-color 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stat-card:hover {
    background-color: var(--surface-hover);
}
.stat-card:hover .stat-icon {
    color: var(--cyan);
    filter: drop-shadow(0 0 6px var(--cyan));
}
@media (min-width: 992px) {
    .stat-card.span-5 { grid-column: span 5; }
    .stat-card.span-4 { grid-column: span 4; }
    .stat-card.span-3 { grid-column: span 3; }
}

.stat-icon {
    color: var(--text-faint);
    margin-bottom: 32px;
    transition: color 0.4s ease, filter 0.4s ease;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .stat-number { font-size: 58px; }
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 12px;
}
.stat-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ==========================================================================
   PROOF SECTION (BENCHMARKS)
   ========================================================================== */
.proof-section {
    background-color: var(--surface);
}

.bench-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    margin-top: 64px;
}
@media (min-width: 1024px) {
    .bench-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.bench-card {
    border-left: 1px solid var(--border-highlight);
    padding-left: 24px;
    transition: border-color 0.4s ease;
}
.bench-card:hover {
    border-left-color: var(--cyan);
}

.bench-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .bench-value { font-size: 64px; }
}

.bench-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-dim);
}

/* ==========================================================================
   MARKET OPPORTUNITY SECTION
   ========================================================================== */
.market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: 16px;
    margin-top: 64px;
}
@media (min-width: 640px) {
    .market-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .market-grid { grid-template-columns: repeat(4, 1fr); }
}

.market-card {
    position: relative;
    background-color: var(--surface);
    padding: 36px 32px;
    transition: background-color 0.4s ease;
    overflow: hidden;
}
.market-card:hover {
    background-color: var(--surface-hover);
}
.market-card:hover .market-value {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.market-card:hover .card-bottom-line {
    width: 100%;
}

.market-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    margin-bottom: 32px;
}

.market-value {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}
@media (min-width: 768px) {
    .market-value { font-size: 46px; }
}

.market-label {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
}

.card-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   STRATEGIC ROADMAP SECTION (TIMELINE)
   ========================================================================== */
.timeline-container {
    position: relative;
    margin-top: 72px;
}

.timeline-vertical-line {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border);
}
@media (min-width: 768px) {
    .timeline-vertical-line { display: block; }
}

.timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
    .timeline-row {
        grid-template-columns: 3fr 4fr 5fr;
        padding: 44px 0 44px 48px;
    }
}
.timeline-row:hover .timeline-title h3 {
    color: var(--cyan);
}

.timeline-marker {
    display: none;
    position: absolute;
    left: -7px;
    top: 48px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    z-index: 5;
}
@media (min-width: 768px) {
    .timeline-marker { display: block; }
}
.complete-marker {
    background-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}
.planned-marker {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--surface);
}

.phase-name {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.status-complete { color: var(--cyan); }
.status-underway { color: var(--pink); text-shadow: 0 0 10px rgba(255, 0, 127, 0.4); }
.status-planned { color: rgba(255, 255, 255, 0.4); }

.spinner-icon {
    animation: spin 2.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.timeline-title h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    transition: color 0.3s ease;
}
@media (min-width: 768px) {
    .timeline-title h3 { font-size: 30px; }
}

.timeline-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dim);
}
@media (min-width: 768px) {
    .timeline-desc p { font-size: 16px; }
}

/* ==========================================================================
   TEAM SECTION (THE FOUNDERS)
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
}
@media (min-width: 768px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
    position: relative;
    border: 1px solid var(--border);
    background-color: var(--surface);
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #111;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .image-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--surface) 0%, transparent 50%, transparent 100%);
    pointer-events: none;
}

.team-initials {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    z-index: 3;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

.team-info {
    padding: 24px;
    position: relative;
    z-index: 4;
}
.team-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.team-info p {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-desc {
    margin-top: 28px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

.contact-email {
    display: inline-block;
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 15px;
    letter-spacing: 0.05em;
    color: var(--cyan);
    text-decoration: none;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}
.contact-email:hover {
    opacity: 0.8;
    text-shadow: 0 0 15px var(--cyan);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 640px) {
    .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label span {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-faint);
}
.form-input, .form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-white);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.form-input:focus, .form-textarea:focus {
    border-bottom-color: var(--cyan);
    box-shadow: 0 2px 8px -2px rgba(0, 229, 255, 0.3);
}

.btn-submit {
    align-self: flex-start;
    margin-top: 10px;
}

.success-message {
    margin-top: 24px;
    padding: 24px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid var(--cyan);
    border-radius: 12px;
    animation: fadeIn 0.4s ease;
}
.success-box {
    display: flex;
    align-items: center;
    gap: 16px;
}
.success-box p {
    font-size: 15px;
    color: var(--text-white);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border);
    background-color: var(--bg);
    padding: 56px 0 40px;
}
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: center;
    }
}
.footer-email {
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-email:hover {
    color: var(--cyan);
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-link {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}
.copyright {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
}
