/* ==========================================================================
   SYSTEM OF DESIGN TOKENS (Novelty Group Cyber Palette V2)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-base: #050811;
    /* Ultra Deep Dark Charcoal Base */
    --color-bg-card: #0d1425;
    /* Midnight Tech Blue */
    --color-primary: #003fb4;
    /* High-end Cobalt Blue Base */
    --color-accent: #00d2ff;
    /* Electric Active Blue */
    --color-neon: #b21435;
    /* Fluorescent Ruby for Conversion & CTAs */
    --color-success: #b21435;
    --color-error: #ef4444;

    /* Text Colors */
    --color-text-main: #f8fafc;
    /* Slate 50 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */
    --color-text-dark: #090d16;
    /* Deep Midnight Dark */

    /* Grid & Spacing */
    --spacing-unit: 8px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Fonts */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-neon-glow: 0 0 15px rgba(178, 20, 53, 0.55);
    --shadow-electric-glow: 0 0 15px rgba(0, 210, 255, 0.35);
    --shadow-card-subtle: 0 8px 32px 0 rgba(0, 0, 0, 0.65);
    --border-glass: 1px solid rgba(0, 210, 255, 0.15);

    /* Global Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    color: var(--color-accent);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

p {
    font-weight: 300;
    color: var(--color-text-muted);
}

.text-neon {
    color: var(--color-neon) !important;
}

/* ==========================================================================
   ACCESSIBILITY & FOCUS
   ========================================================================== */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   INTERACTIVE CANVAS BACKGROUND
   ========================================================================== */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(13, 20, 37, 0.6) 0%, var(--color-bg-base) 100%);
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.85;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
main {
    flex: 1;
    position: relative;
    z-index: 1;
}

.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 24px;
    position: relative;
}

.pre-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    display: inline-block;
    border-left: 2px solid var(--color-neon);
    padding-left: 8px;
}

.section-title {
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.125rem;
    margin-bottom: 24px;
    max-width: 640px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-neon {
    background-color: var(--color-neon);
    color: var(--color-text-main);
}

.btn-neon:hover {
    background-color: transparent;
    color: var(--color-neon);
    border-color: var(--color-neon);
    box-shadow: var(--shadow-neon-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-electric-glow);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.icon-arrow {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   FLOATING NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(13, 20, 37, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

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

/* Logo Spec */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    /* 70% larger than typical 28px header logo */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Desktop Links */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--color-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-neon);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* Header Sticky / Scroll state class injection */
.main-header.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(5, 8, 17, 0.95);
}

/* Mobile Dropdown Nav panel */
.mobile-nav {
    display: none;
    background: var(--color-bg-card);
    border-top: var(--border-glass);
    padding: 24px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-card-subtle);
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
}

.mobile-nav.active {
    display: block;
    animation: slideDown var(--transition-smooth) forwards;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--color-neon);
    padding-left: 8px;
}

/* ==========================================================================
   SECTION 1: HERO (The Hook)
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--color-neon);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(178, 20, 53, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(178, 20, 53, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-neon);
    animation: pulseGlow 2s infinite;
}

.hero-title {
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 640px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Architectural Visuals */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.geometric-lattice {
    width: 320px;
    height: 320px;
    position: relative;
    transform: rotateX(45deg) rotateZ(45deg);
    transform-style: preserve-3d;
    animation: latticeFloat 8s ease-in-out infinite;
}

.lattice-cube {
    position: absolute;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    background: rgba(0, 63, 180, 0.05);
}

.cube-1 {
    width: 140px;
    height: 140px;
    top: 0;
    left: 0;
    border-color: var(--color-primary);
    box-shadow: inset 0 0 10px rgba(0, 63, 180, 0.3);
}

.cube-2 {
    width: 180px;
    height: 180px;
    bottom: 0;
    right: 0;
    border-color: var(--color-accent);
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.2);
    transform: translateZ(60px);
}

.cube-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(120px);
    border-color: var(--color-neon);
    background: rgba(178, 20, 53, 0.1);
    box-shadow: var(--shadow-neon-glow);
}

.lattice-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.4;
}

.line-x {
    width: 120%;
    height: 1px;
    top: 50%;
    left: -10%;
}

.line-y {
    width: 1px;
    height: 120%;
    left: 50%;
    top: -10%;
    background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
}

.line-z {
    width: 120px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: rotateY(90deg);
    background: linear-gradient(90deg, transparent, var(--color-neon), transparent);
}

.tech-badge {
    position: absolute;
    bottom: -60px;
    left: -40px;
    transform: rotate(-45deg) rotateX(-45deg);
    background: rgba(13, 20, 37, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-neon);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-neon-glow);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-neon);
}

.badge-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   SECTION 2: VALUE BARS (Instant Credibility)
   ========================================================================== */
.value-bar-section {
    background-color: rgba(13, 20, 37, 0.45);
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    position: relative;
    z-index: 10;
}

.value-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition-fast);
}

.value-item:hover {
    transform: translateY(-2px);
}

.value-icon-container {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.value-desc {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 3: STRATEGIC PRESENTATION
   ========================================================================== */
.presentation-section {
    position: relative;
    background-color: var(--color-bg-base);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.presentation-quote {
    margin-top: 32px;
    border-left: 3px solid var(--color-neon);
    padding-left: 20px;
}

.quote-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-main);
    line-height: 1.5;
}

/* Credibility Stats Layout */
.presentation-stats {
    display: flex;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.stat-card {
    background: rgba(13, 20, 37, 0.5);
    border: var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-electric-glow);
}

.stat-card:hover::before {
    background-color: var(--color-neon);
    height: 100%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 900;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ==========================================================================
   SECTION 4: CORE SERVICES BENTO GRID
   ========================================================================== */
.services-section {
    background: linear-gradient(180deg, var(--color-bg-base) 0%, rgba(13, 20, 37, 0.3) 50%, var(--color-bg-base) 100%);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(280px, auto);
}

.bento-card {
    background: rgba(13, 20, 37, 0.65);
    border: var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Interactive Bento Glowing Effect */
.bento-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 210, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
    z-index: 1;
}

.bento-card:hover .bento-glow {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-electric-glow);
}

.bento-card:focus-within {
    border-color: var(--color-accent);
}

/* Highlighted Bento Card styling */
.card-featured {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(13, 20, 37, 0.8) 0%, rgba(5, 8, 17, 0.95) 100%);
    border-color: rgba(0, 210, 255, 0.2);
}

.card-featured:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-electric-glow);
}

.card-featured .bento-glow {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 210, 255, 0.15) 0%, transparent 60%);
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-neon);
    text-transform: uppercase;
    margin-bottom: 24px;
    z-index: 2;
}

.card-tag-neon {
    color: var(--color-neon);
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    z-index: 2;
    transition: var(--transition-fast);
}

.bento-card:hover .card-icon-wrapper {
    border-color: rgba(0, 210, 255, 0.35);
    background: rgba(0, 210, 255, 0.06);
}

.card-featured:hover .card-icon-wrapper {
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.06);
}

.card-info {
    z-index: 2;
}

.card-title {
    margin-bottom: 12px;
    color: var(--color-accent);
}

.bento-card:has(.card-tag-neon) .card-title {
    color: var(--color-neon);
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-bullets {
    margin-top: 24px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.card-bullets li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-bullets li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ==========================================================================
   SECTION 5: WHY US? (Competitive Differentiators)
   ========================================================================== */
.why-us-section {
    background-color: var(--color-bg-base);
}

.split-grid-why {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
}

.why-sticky-header {
    position: sticky;
    top: 140px;
    align-self: flex-start;
}

.why-lead {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-card {
    background: rgba(13, 20, 37, 0.4);
    border: var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 28px 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 48px;
    width: 1px;
    height: 20px;
    background-color: rgba(0, 210, 255, 0.15);
}

.why-card:last-child::after {
    display: none;
}

.why-card:hover {
    border-color: var(--color-accent);
    transform: translateX(8px);
    background: rgba(13, 20, 37, 0.7);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.why-title {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
}

.why-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 6: THE 5-STEP PROCESS (The Blueprint)
   ========================================================================== */
.process-section {
    background: linear-gradient(180deg, var(--color-bg-base) 0%, rgba(13, 20, 37, 0.3) 100%);
}

.blueprint-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 80px;
}

.blueprint-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-neon) 100%);
    opacity: 0.3;
}

.blueprint-step {
    position: relative;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding-left: 12px;
    transition: var(--transition-smooth);
}

.step-badge {
    position: relative;
    z-index: 10;
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-base);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 6px var(--color-bg-base);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
}

.step-content {
    background: rgba(13, 20, 37, 0.4);
    border: var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 24px 32px;
    width: 100%;
    transition: var(--transition-smooth);
}

.step-title {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Step Interactions */
.blueprint-step:hover .step-badge {
    border-color: var(--color-neon);
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(178, 20, 53, 0.4), 0 0 0 6px var(--color-bg-base);
}

.blueprint-step:hover .step-content {
    border-color: var(--color-neon);
    background: rgba(13, 20, 37, 0.7);
    box-shadow: 0 8px 32px 0 rgba(178, 20, 53, 0.05);
}

/* ==========================================================================
   SECTION 7: HIGH-CONVERSION FOOTER / LEAD GENERATION
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-base);
    border-top: var(--border-glass);
}

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

.contact-direct {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.direct-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.direct-icon {
    flex-shrink: 0;
}

.direct-link {
    color: var(--color-neon);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition-fast);
}

.direct-link:hover {
    color: var(--color-text-main);
    text-decoration: underline;
}

.direct-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* High Conversion Form card */
.form-container {
    position: relative;
}

.form-card {
    background: rgba(13, 20, 37, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(0, 210, 255, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 40px;
    box-shadow: var(--shadow-card-subtle);
    position: relative;
    overflow: hidden;
}

.form-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
}

.form-header {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 32px;
    border-left: 3px solid var(--color-neon);
    padding-left: 12px;
}

/* Floating Label Form Groups */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    background-color: rgba(5, 8, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(5, 8, 17, 0.9);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Textarea overrides */
.text-control {
    resize: none;
}

.text-control~.form-label {
    top: 24px;
    transform: none;
}

/* Floating Label Logic */
.form-control:focus~.form-label,
.form-control:not(:placeholder-shown)~.form-label {
    top: 0;
    left: 12px;
    transform: translateY(-50%) scale(0.85);
    background-color: var(--color-bg-card);
    padding: 0 8px;
    color: var(--color-accent);
    font-weight: 700;
}

/* Select Control */
.select-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-control option {
    background-color: var(--color-bg-card);
    color: var(--color-text-main);
}

.select-label {
    top: 50%;
    transform: translateY(-50%);
}

.select-control:focus~.select-label,
.select-control:valid~.select-label {
    top: 0;
    left: 12px;
    transform: translateY(-50%) scale(0.85);
    background-color: var(--color-bg-card);
    padding: 0 8px;
    color: var(--color-accent);
    font-weight: 700;
}

/* Form validation error states */
.form-group.invalid .form-control {
    border-color: var(--color-error);
}

.form-group.invalid .form-label {
    color: var(--color-error);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 6px;
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-card);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.form-success-overlay.active {
    transform: translateX(0);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.success-icon {
    animation: successPop 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 900;
}

.success-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #03050a;
    border-top: var(--border-glass);
    position: relative;
    z-index: 10;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    padding-top: 64px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 440px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-main);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-neon);
    padding-left: 4px;
}

.footer-bottom {
    border-top: var(--border-glass);
    padding: 32px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 0;
    padding-bottom: 0;
}

.copy-text {
    font-size: 0.85rem;
}

.footer-terms {
    display: flex;
    gap: 24px;
}

.footer-link-secondary {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link-secondary:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px var(--color-neon), 0 0 2px var(--color-neon);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 16px var(--color-neon), 0 0 4px var(--color-neon);
    }
}

@keyframes latticeFloat {

    0%,
    100% {
        transform: rotateX(50deg) rotateZ(45deg) translateY(0);
    }

    50% {
        transform: rotateX(50deg) rotateZ(45deg) translateY(-20px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes successPop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scroll reveal trigger classes (handled via JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Breakpoints)
   ========================================================================== */

/* Tablet (Portrait & Landscape) */
@media (max-width: 1024px) {
    .section-container {
        padding: 80px 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .geometric-lattice {
        width: 260px;
        height: 260px;
        margin-bottom: 60px;
    }

    .tech-badge {
        bottom: -40px;
        left: -20px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-featured {
        grid-column: span 2;
    }

    .split-grid-why {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-sticky-header {
        position: relative;
        top: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobile (Phone - Responsive) */
@media (max-width: 768px) {
    .main-header {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .header-container {
        padding: 12px 16px;
    }

    .desktop-nav {
        display: none;
    }

    #nav-secondary-cta {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: flex;
    }

    /* Menu Toggle Animation State */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-container {
        padding: 64px 16px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-bullets {
        grid-template-columns: 1fr;
    }

    .blueprint-timeline {
        gap: 32px;
    }

    .blueprint-step {
        gap: 16px;
        padding-left: 0;
    }

    .blueprint-progress {
        left: 18px;
    }

    .step-content {
        padding: 16px 20px;
    }

    .form-card {
        padding: 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}