/* ==========================================================================
   Forgepoint Midnight Tech Design System & Styling
   ========================================================================== */

/* Design Tokens / Variables */
:root {
    --bg-main: #070a13;
    --bg-surface: #0f1424;
    --bg-surface-glass: rgba(15, 20, 36, 0.7);
    --bg-card: #13192f;
    --bg-card-glass: rgba(19, 25, 47, 0.6);
    
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.4);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(6, 182, 212, 0.15);
    --border-active: rgba(6, 182, 212, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.1);

    --bg-header-scrolled: rgba(7, 10, 19, 0.9);
    --bg-mobile-nav: rgba(7, 10, 19, 0.95);
    --shadow-mobile-nav: 0 10px 20px rgba(0, 0, 0, 0.5);
    --bg-visualizer-glass: rgba(15, 20, 36, 0.4);
    --scrollbar-thumb: #1e294b;
}

/* Light Theme Variables Overrides */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.85);
    --bg-card: #f1f5f9;
    --bg-card-glass: rgba(241, 245, 249, 0.8);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(6, 182, 212, 0.08);
    --border-active: rgba(6, 182, 212, 0.5);

    --shadow-glow: 0 10px 30px rgba(15, 23, 42, 0.05);

    --bg-header-scrolled: rgba(255, 255, 255, 0.92);
    --bg-mobile-nav: rgba(255, 255, 255, 0.98);
    --shadow-mobile-nav: 0 10px 25px rgba(15, 23, 42, 0.1);
    --bg-visualizer-glass: rgba(255, 255, 255, 0.65);
    --scrollbar-thumb: #cbd5e1;
}

/* Light Theme Component Tweaks */
body.light-theme .btn-secondary {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-primary);
}
body.light-theme .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.06);
}
body.light-theme .tech-nodes-svg line {
    stroke: rgba(15, 23, 42, 0.04);
}
body.light-theme .visualizer-backdrop {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(79, 70, 229, 0.04) 50%, rgba(0,0,0,0) 70%);
}
body.light-theme .filter-btn {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-secondary);
}
body.light-theme .filter-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-primary);
}
body.light-theme .filter-btn.active {
    background: var(--cyan);
    color: #ffffff;
    border-color: var(--cyan);
}
body.light-theme .planner-checkbox-card {
    background: #ffffff;
}
body.light-theme .planner-checkbox-card:hover {
    background: #f8fafc;
}
body.light-theme .planner-checkbox-card:has(input[type="checkbox"]:checked) {
    background: rgba(6, 182, 212, 0.04);
}
body.light-theme .form-input, 
body.light-theme .form-textarea {
    background-color: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
}
body.light-theme .readonly-input {
    background-color: #f1f5f9;
}
body.light-theme .hud-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
body.light-theme .timeline-phase {
    background: rgba(15, 23, 42, 0.02);
}
body.light-theme .stack-card {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}
body.light-theme .main-footer {
    background-color: #f1f5f9;
}
body.light-theme .gradient-text-cyan {
    background: linear-gradient(135deg, #0f172a 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-main);
    transition: background-color var(--transition-normal);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.max-width-md {
    max-width: 760px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection Highlight */
::selection {
    background: var(--cyan);
    color: var(--bg-main);
}

/* Top Branding Glow Bar */
.top-glow-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 50%, var(--green) 100%);
    width: 100%;
    position: relative;
    z-index: 1001;
}

/* WorkshopOS Announcement Bar */
.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--bg-surface);
    background-image: linear-gradient(90deg, rgba(79, 70, 229, 0.16) 0%, rgba(6, 182, 212, 0.16) 100%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.announcement-bar:hover {
    background-image: linear-gradient(90deg, rgba(79, 70, 229, 0.26) 0%, rgba(6, 182, 212, 0.26) 100%);
    color: var(--text-primary);
}

.announcement-text strong {
    color: var(--cyan);
    font-weight: 600;
}

.announcement-arrow {
    display: inline-flex;
    align-items: center;
}

.announcement-arrow svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .announcement-bar {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* Site-wide sticky top group (promo banner + glow bar + header stick together) */
.site-top-fixed {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Keeps anchor-jump targets clear of the sticky banner/header group above;
   --sticky-offset is measured and kept in sync by JS (see page scripts). */
section[id],
.bullet-item[id] {
    scroll-margin-top: var(--sticky-offset, 110px);
}

/* Launch Offer Promo Banner */
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 11px 44px 11px 20px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
    position: relative;
    text-align: center;
}

.promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    row-gap: 6px;
}

.promo-banner-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.promo-banner-text strong {
    font-weight: 700;
    color: #ffffff;
}

.promo-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(7, 10, 19, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-banner-cta:hover {
    background: rgba(7, 10, 19, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.promo-banner-cta svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.promo-banner-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.promo-banner-close:hover {
    background: rgba(7, 10, 19, 0.25);
    color: #ffffff;
}

.promo-banner-close svg {
    width: 13px;
    height: 13px;
}

@media (max-width: 560px) {
    .promo-banner {
        padding: 9px 40px 9px 14px;
        gap: 10px;
    }

    .promo-banner-text {
        font-size: 0.76rem;
    }

    .promo-banner-cta {
        font-size: 0.74rem;
        padding: 4px 11px;
    }
}

/* Typography Constants */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Inline text links inside body copy need their own colour, since `a` inherits by default */
.section-description a,
.wos-hero-desc a,
.why-body-text a,
.bullet-text a {
    color: var(--cyan);
    font-weight: 600;
}

.section-description a:hover,
.wos-hero-desc a:hover,
.why-body-text a:hover,
.bullet-text a:hover {
    text-decoration: underline;
}

/* Helper Utilities */
.highlight-cyan {
    color: var(--cyan);
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-left {
    border-left: 1px solid var(--border-color);
}

.hidden {
    display: none !important;
}

.blinking {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Premium Buttons Styling */
.btn-primary, .btn-secondary, .btn-btn, .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-main);
    box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

/* Section Common Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-header.align-left {
    text-align: left;
    margin: 0 0 40px 0;
    max-width: 100%;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navbar Styling (Glassmorphism)
   ========================================================================== */
.main-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: var(--bg-header-scrolled);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    max-width: 1400px;
    transition: var(--transition-normal);
}

.main-header.scrolled .navbar-container {
    height: 60px;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cyan);
    object-fit: cover;
    box-shadow: 0 0 12px var(--cyan-glow);
    transition: var(--transition-normal);
}

.main-header.scrolled .brand-logo {
    width: 32px;
    height: 32px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.05);
}

.nav-btn:hover {
    background: var(--cyan);
    color: var(--bg-main);
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: none;
}

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

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 120px 0 80px 0;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, rgba(7, 10, 19, 0) 60%);
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--cyan);
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item.border-left {
    padding-left: 32px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

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

/* Hero Technical Graphics */
.hero-visualizer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.visualizer-container {
    position: relative;
    width: 400px;
    height: 400px;
    background: var(--bg-visualizer-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    padding: 20px;
    box-shadow: var(--shadow-glow);
}

.visualizer-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(79, 70, 229, 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.tech-nodes-svg {
    position: relative;
    z-index: 2;
}

/* SVG Micro-Animations */
.svg-dash-anim {
    stroke-dasharray: 8;
    animation: svg-dash-movement 30s linear infinite;
}

@keyframes svg-dash-movement {
    to { stroke-dashoffset: -1000; }
}

.svg-ring-pulse {
    transform-origin: 200px 200px;
    animation: svg-scale-pulse 4s ease-in-out infinite alternate;
}

@keyframes svg-scale-pulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0.9; }
}

.svg-ring-pulse-slow {
    transform-origin: center;
    animation: svg-ring-scale-out 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes svg-ring-scale-out {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.svg-node {
    animation: svg-float 6s ease-in-out infinite;
}

.svg-node:nth-child(2) { animation-delay: -1.5s; }
.svg-node:nth-child(3) { animation-delay: -3s; }
.svg-node:nth-child(4) { animation-delay: -4.5s; }

@keyframes svg-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* Floating HUD items */
.hud-item {
    position: absolute;
    background: rgba(19, 25, 47, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 3;
    pointer-events: none;
}

.hud-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 0.05em;
}

.hud-1 {
    top: 40px;
    left: -20px;
    border-left: 2px solid var(--cyan);
}

.hud-2 {
    bottom: 60px;
    right: -20px;
    border-left: 2px solid var(--green);
}

.hud-3 {
    bottom: -15px;
    left: 40px;
    border-left: 2px solid var(--primary);
}

/* ==========================================================================
   Services Section Styling
   ========================================================================== */
.services-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Services filter bar styling */
.services-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
    background: var(--cyan);
    color: var(--bg-main);
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* Services Grid and Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.08) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background: var(--cyan);
    color: var(--bg-main);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.service-icon {
    width: 24px;
    height: 24px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
}

.service-card-cta svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card-cta svg {
    transform: translateX(3px);
}

/* ==========================================================================
   Interactive Solution Planner Section
   ========================================================================== */
.planner-section {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.05) 0%, rgba(7, 10, 19, 0) 50%);
}

.planner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

/* Form structure */
.planner-options-wrapper {
    display: flex;
    flex-direction: column;
}

.planner-footer-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
    line-height: 1.6;
}

.planner-footer-note a {
    color: var(--cyan);
    font-weight: 500;
}

.planner-footer-note a:hover {
    text-decoration: underline;
}

.planner-category-group {
    margin-bottom: 32px;
}

.category-group-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

/* Advanced Checkbox Cards Styling */
.planner-checkbox-card {
    display: flex;
    align-items: flex-start;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    user-select: none;
}

.planner-checkbox-card:hover {
    border-color: var(--text-muted);
    background: var(--bg-card);
}

/* Hide native checkbox */
.planner-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkbox visual indicator */
.checkbox-indicator {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    margin-right: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-fast);
}

.planner-checkbox-card input[type="checkbox"]:checked ~ .checkbox-indicator {
    background-color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.planner-checkbox-card input[type="checkbox"]:checked ~ .checkbox-indicator::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-main);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Target highlight state when checked */
.planner-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.03);
}

.checkbox-label-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Dashboard Sticky Blueprint Panel */
.planner-dashboard-wrapper {
    position: sticky;
    top: 108px;
}

.dashboard-sticky-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-glow);
}

.panel-header {
    margin-bottom: 24px;
}

.indicator-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.indicator-dot.blinking {
    background-color: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.indicator-text {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.panel-title {
    font-size: 1.5rem;
}

/* Dashboard states */
.dashboard-empty-state {
    text-align: center;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-icon {
    width: 28px;
    height: 28px;
}

.empty-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 260px;
}

/* Active State Display */
.stats-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.db-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 4px;
    line-height: 1;
}

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

.blueprint-divider {
    height: 1px;
    background: var(--border-color);
    margin: 24px 0;
}

.blueprint-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blueprint-list {
    list-style: none;
}

.blueprint-list-item {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.blueprint-list-item::before {
    content: "▫";
    color: var(--cyan);
    font-weight: bold;
}

.blueprint-list-item .stack-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Timeline visual styling */
.timeline-visual {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-phase {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    gap: 12px;
}

.phase-num {
    font-family: monospace;
    font-weight: bold;
    color: var(--cyan);
}

.phase-body {
    flex-grow: 1;
}

.phase-title {
    color: var(--text-primary);
    font-weight: 500;
}

.phase-target {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================================================
   Philosophy & Guarantee Section
   ========================================================================== */
.philosophy-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

/* Column visual overlapping cards */
.philosophy-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glowing-orb-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.philosophy-card-stack {
    position: relative;
    width: 340px;
    height: 360px;
    z-index: 1;
}

.stack-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    width: 280px;
}

.card-top {
    top: 0;
    left: 0;
    z-index: 3;
    border-left: 2px solid var(--cyan);
}

.card-middle {
    bottom: 0;
    right: 0;
    z-index: 2;
    border-left: 2px solid var(--primary);
}

.card-header-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-header-icon.cyan {
    background: rgba(6, 182, 212, 0.05);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.card-header-icon.blue {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.stack-card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.stack-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Bullet list text details */
.philosophy-bullets {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.bullet-item {
    display: flex;
    gap: 24px;
}

.bullet-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.8;
}

.bullet-body {
    display: flex;
    flex-direction: column;
}

.bullet-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.bullet-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Contact Section & Consultation Form Styling
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 20%, rgba(79, 70, 229, 0.04) 0%, rgba(7, 10, 19, 0) 50%);
}

.contact-card-container {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* Input structures */
.contact-form {
    position: relative;
    z-index: 2;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.form-helper-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: -12px 0 24px;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

/* Textarea specifically representing pre-filled read-only text */
.readonly-input {
    background-color: rgba(7, 10, 19, 0.4);
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--cyan);
    border-left: 2px solid var(--cyan);
    cursor: default;
    height: 80px;
}

.readonly-input:focus {
    box-shadow: none;
    border-color: var(--cyan);
}

/* Form success details style */
.form-success-state {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 24px;
    box-shadow: 0 0 20px var(--green-glow);
}

.success-icon {
    width: 40px;
    height: 40px;
}

.success-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 32px;
}

.animate-scale {
    animation: scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scale-up {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--border-color);
    background-color: #05070e;
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

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

.footer-brand-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 320px;
    line-height: 1.5;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

.active-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.footer-badge-text {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.05em;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.footer-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

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

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-meta-info {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations (Media Queries)
   ========================================================================== */

/* Up to 1024px Tablets / Notebooks */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        min-width: 0;
    }

    .hero-visualizer {
        min-width: 0;
    }

    .visualizer-container {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

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

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


    
    .planner-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .planner-dashboard-wrapper {
        position: static;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .philosophy-visual {
        order: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Up to 1180px: Nav collapses to hamburger menu.
   The nav now carries two dropdowns plus a CTA, which no longer fits
   inline on tablet/laptop widths without wrapping — collapse earlier
   instead of letting nav-link text wrap mid-row. */
@media (max-width: 1180px) {
    .main-header {
        padding: 4px 0;
    }

    .main-header.scrolled {
        padding: 4px 0;
    }

    .navbar-container {
        height: 60px;
    }

    .main-header.scrolled .navbar-container {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Nav Dropdown */
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--bg-mobile-nav);
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(16px);
        padding: 32px 24px;
        display: none;
        box-shadow: var(--shadow-mobile-nav);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 24px;
        text-align: center;
    }

    .nav-item {
        width: 100%;
    }

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

    /* Hamburger Transform to X */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

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

/* Up to 768px Mobile Devices */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .contact-card-container {
        padding: 24px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Up to 480px Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item.border-left {
        padding-left: 0;
        border-left: none;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-card-stack {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .stack-card {
        position: static;
        width: 100%;
    }
}

/* ==========================================================================
   Trust Bar & Why ForgePoint / About Section Styles
   ========================================================================== */

/* Hero Target Audience text */
.hero-target-audience {
    font-size: 1.05rem;
    color: var(--cyan);
    margin-bottom: 24px;
    font-weight: 500;
    max-width: 580px;
    line-height: 1.5;
}

/* Trust Bar Styling */
.trust-bar {
    padding: 32px 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

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

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

.trust-icon {
    width: 28px;
    height: 28px;
    color: var(--cyan);
    flex-shrink: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.trust-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Why ForgePoint Section */
.why-section {
    padding: 100px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: flex-start;
}

.why-text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.why-lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
}

.why-body-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* About Block in Why section */
.about-block {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    backdrop-filter: blur(8px);
}

.about-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-text + .about-text {
    margin-top: 16px;
}

.about-founder-credit {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about-trust-note {
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-trust-note a {
    color: var(--cyan);
    font-weight: 600;
}

/* Why visual and feature cards */
.why-visual {
    position: relative;
    top: 20px;
}

.why-features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-normal);
}

.why-feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-active);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.08);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.why-feature-card:hover .feature-icon-box {
    background: var(--cyan);
    color: var(--bg-main);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Badges and Layout */
.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.contact-phone-badge {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--primary);
}

.contact-phone-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

.contact-email-badge {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--cyan);
}

.contact-email-badge:hover {
    background: var(--cyan);
    color: var(--bg-main);
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.contact-response-badge {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.contact-badge-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Simplified Footer grid styling */
.footer-grid-simple {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.footer-email-text {
    margin-top: 16px;
}

.footer-email-link {
    color: var(--cyan);
    font-weight: 500;
}

.footer-email-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Light Theme overrides for new sections */
body.light-theme .trust-bar {
    background-color: #ffffff;
}

body.light-theme .about-block {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

body.light-theme .why-feature-card {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

body.light-theme .contact-phone-badge {
    background-color: rgba(79, 70, 229, 0.04);
}

body.light-theme .contact-email-badge {
    background-color: rgba(6, 182, 212, 0.04);
}

body.light-theme .contact-response-badge {
    background-color: rgba(16, 185, 129, 0.04);
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-visual {
        top: 0;
    }
    
    .footer-grid-simple {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .trust-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-bar {
        padding: 24px 0;
    }
    
    .why-section {
        padding: 60px 0;
    }
    
    .about-block {
        padding: 24px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-badge {
        justify-content: center;
        width: 100%;
    }
    
    .hero-target-audience {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Navigation Dropdowns Styling
   ========================================================================== */

/* Dropdown Container */
.nav-item.dropdown {
    position: relative;
}

/* Dropdown Toggle Link */
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle .chevron {
    display: inline-block;
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

/* Dropdown Submenu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(16px);
    padding: 8px 0;
    list-style: none;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 100;
    margin-top: 10px;
}

/* Helper hover bridge */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* Desktop Hover States */
@media (min-width: 1181px) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-item.dropdown:hover .dropdown-toggle .chevron {
        transform: rotate(180deg);
        color: var(--cyan);
    }
}

/* Dropdown Links */
.dropdown-item {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-align: left;
}

.dropdown-item:hover {
    color: var(--cyan);
    background-color: rgba(6, 182, 212, 0.05);
}

.dropdown-item-disabled {
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

/* Mobile Responsive Dropdowns */
@media (max-width: 1180px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 8px 0;
        width: 100%;
        margin-top: 0;
        backdrop-filter: none;
    }
    
    .nav-item.dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        text-align: center;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   WorkshopOS Product Page Styling
   Signature motif: a workshop job-tag (hole-punch docket) used for eyebrows
   and as a clipped corner label on placeholder screenshot frames.
   ========================================================================== */

/* Job-Tag Eyebrow (signature element) */
.wos-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    border-radius: 4px 14px 14px 4px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.22);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 22px;
    width: fit-content;
}

.wos-eyebrow svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.wos-eyebrow.amber {
    background: rgba(245, 158, 11, 0.07);
    border-color: rgba(245, 158, 11, 0.28);
    color: #f59e0b;
}

/* Hero */
.wos-hero {
    padding: 150px 0 90px;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1) 0%, rgba(7, 10, 19, 0) 55%);
}

.wos-hero-inner {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wos-hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.wos-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
}

.wos-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.wos-hero-frame-wrap {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

/* Status Chip Strip */
.wos-status-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 36px 0 110px;
}

.wos-status-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.wos-status-chip svg {
    width: 16px;
    height: 16px;
    color: var(--cyan);
    flex-shrink: 0;
}

.wos-status-chip.amber svg {
    color: #f59e0b;
}

.wos-status-chip.green svg {
    color: var(--green);
}

/* Placeholder Screenshot Frame */
.wos-frame {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    overflow: visible;
    box-shadow: var(--shadow-glow);
}

.wos-frame-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.wos-frame-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.wos-frame-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-color);
}

.wos-frame-url {
    margin-left: 8px;
    flex: 1;
    max-width: 320px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 5px 12px;
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.wos-frame-body {
    position: relative;
    aspect-ratio: 16 / 9;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 2px, transparent 2px, transparent 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
}

body.light-theme .wos-frame-body {
    background-image: repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.035) 0px, rgba(15, 23, 42, 0.035) 2px, transparent 2px, transparent 16px);
}

.wos-frame-icon {
    width: 42px;
    height: 42px;
    color: var(--text-muted);
    opacity: 0.6;
}

.wos-frame-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.wos-frame-caption {
    font-family: monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.wos-frame-screenshot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Clipped job-tag label on the corner of each frame */
.wos-frame-tag {
    position: absolute;
    top: -16px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 14px 6px 10px;
    border-radius: 4px 12px 12px 4px;
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--cyan);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.wos-frame-tag svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Alternating Feature Rows */
.wos-feature-section {
    padding: 110px 0;
}

.wos-feature-section.alt {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.wos-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.wos-feature-row.reverse .wos-feature-media {
    order: -1;
}

/* Space between stacked example-build rows (homepage "See Our Work") */
.wos-feature-row + .wos-feature-row {
    margin-top: 96px;
}

.wos-feature-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.wos-feature-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 26px;
}

.wos-feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wos-feature-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wos-feature-list-item svg {
    width: 15px;
    height: 15px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 4px;
}

.wos-feature-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .wos-feature-actions .btn-primary,
    .wos-feature-actions .btn-secondary {
        width: 100%;
    }
}

/* Process (a genuine ordered workflow, hence numbered) */
.wos-process-section {
    padding: 110px 0;
}

.wos-process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 60px;
}

.wos-process-track::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.wos-process-step {
    position: relative;
    z-index: 1;
}

.wos-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-active);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
}

.wos-process-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.wos-process-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   Launch Offer Promo Page
   ========================================================================== */

.promo-price-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.promo-no-payment-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.promo-price-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4.6rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.promo-price-suffix {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.promo-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.promo-compare-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.promo-compare-card.included {
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
}

.promo-compare-card.excluded {
    opacity: 0.85;
}

.promo-compare-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.promo-compare-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.promo-compare-card.included .promo-compare-title svg {
    color: var(--green);
}

.promo-compare-card.excluded .promo-compare-title svg {
    color: var(--text-muted);
}

.promo-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.promo-list-item:last-child {
    margin-bottom: 0;
}

.promo-list-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 4px;
}

.promo-compare-card.included .promo-list-item svg {
    color: var(--cyan);
}

.promo-compare-card.excluded .promo-list-item svg {
    color: var(--text-muted);
}

.promo-note-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid var(--border-glow);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-top: 32px;
}

.promo-note-box svg {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.promo-note-box p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.promo-note-box a {
    color: var(--cyan);
    font-weight: 600;
}

.promo-note-box a:hover {
    text-decoration: underline;
}

.promo-testimonial-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.promo-testimonial-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-testimonial-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.promo-testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

.promo-terms-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.promo-terms-strip a {
    color: var(--cyan);
    font-weight: 600;
}

.promo-terms-strip a:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .promo-compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .promo-price-value {
        font-size: 3.4rem;
    }

    .promo-testimonial-card {
        flex-direction: column;
    }
}

/* Request Type Toggle (Demo vs Interest) */
.request-type-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.request-type-btn {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.request-type-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.request-type-btn.active {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
    .wos-feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wos-feature-row.reverse .wos-feature-media {
        order: 0;
    }

    .wos-process-track {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

    .wos-process-track::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .wos-hero {
        padding: 120px 0 60px;
    }

    .wos-hero-title {
        font-size: 2.4rem;
    }

    .wos-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .wos-hero-actions .btn-primary,
    .wos-hero-actions .btn-secondary {
        width: 100%;
    }

    .wos-feature-section,
    .wos-process-section {
        padding: 70px 0;
    }

    .wos-feature-title {
        font-size: 1.6rem;
    }

    .wos-frame-tag {
        left: 12px;
        top: -14px;
    }
}

@media (max-width: 560px) {
    .wos-process-track {
        grid-template-columns: 1fr;
    }

    .wos-status-strip {
        padding-bottom: 70px;
    }
}

/* ==========================================================================
   Our Services Page & Homepage Website Packages Overview
   ========================================================================== */

.tiers-section {
    padding: 100px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.tier-paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.tier-path-card {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    backdrop-filter: blur(8px);
}

.tier-path-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tier-path-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tiers-section {
        padding: 70px 0;
    }

    .tier-paths-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact typed-out list sections on the Our Services page (general
   services + website packages) — tighter padding than the marketing
   sections above so the two lists read as distinct groups, not one. */
.services-detail-section {
    padding: 64px 0;
}

.services-detail-section.alt {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-detail-section .philosophy-bullets {
    gap: 24px;
    margin-top: 24px;
}

.services-detail-section .tier-paths-grid {
    margin: 20px 0;
}

.services-detail-section .bullet-body .wos-feature-list {
    margin-top: 16px;
}

.services-detail-section .bullet-body .tier-paths-grid {
    margin-top: 16px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .services-detail-section {
        padding: 48px 0;
    }
}

/* ==========================================================================
   Why ForgePoint Comparison Section (Homepage Teaser)
   ========================================================================== */
.comparison-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comparison-section .container {
    max-width: 900px;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.comparison-col {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-normal);
}

.comparison-col.forgepoint-way {
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.comparison-col:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.comparison-col-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 26px;
    position: relative;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.old-way .comparison-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 600;
}

.forgepoint-way .comparison-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

.comparison-closer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.comparison-closer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--cyan);
    white-space: nowrap;
}

.comparison-closer-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-normal);
}

.comparison-closer-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .comparison-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 70px 0;
    }
}

/* ==========================================================================
   Founding Clients Section (Homepage)
   ========================================================================== */
.founding-clients-section {
    padding: 90px 0;
    background-color: var(--bg-main);
}

.founding-clients-inner {
    text-align: center;
}

.founding-badge {
    display: inline-block;
    background: var(--cyan);
    color: var(--bg-main);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.founding-subline {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.founding-subline a {
    color: var(--cyan);
    font-weight: 600;
}

@media (max-width: 768px) {
    .founding-clients-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Scroll Reveal Animation (site-wide utility)
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Status Badge Pulse (Hero HUD Labels)
   ========================================================================== */
.status-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 var(--green-glow); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Our Services Page — "How It Works" Build Process
   Interactive vertical stepper: each step is a line (number + title); hovering
   or focusing a step reveals its detail with a smooth auto-height expand. On
   touch devices (no hover) every detail is shown by default, so nothing stays
   hidden behind an interaction that doesn't exist there.
   ========================================================================== */
.proc-steps {
    position: relative;
    max-width: 720px;
    margin: 56px auto 0;
    padding: 0;
    list-style: none;
}

/* subtle connector line threading the number nodes into a timeline */
.proc-steps::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 23px;
    bottom: 23px;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

.proc-step {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    outline: none;
    cursor: pointer;
}

.proc-step:not(:last-child) {
    margin-bottom: 8px;
}

.proc-step-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.proc-step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.proc-step-title {
    flex: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.proc-step-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition-normal), color var(--transition-normal);
}

/* detail — collapsed via the grid 0fr → 1fr technique (animates to auto height) */
.proc-step-detail-wrap {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows var(--transition-normal), opacity var(--transition-normal), margin-top var(--transition-normal);
}

.proc-step-detail {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding-left: 66px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.proc-step:hover .proc-step-detail-wrap,
.proc-step:focus .proc-step-detail-wrap,
.proc-step:focus-within .proc-step-detail-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

.proc-step:hover .proc-step-num,
.proc-step:focus .proc-step-num,
.proc-step:focus-within .proc-step-num {
    border-color: var(--border-active);
    color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.08);
}

.proc-step:hover .proc-step-title,
.proc-step:focus .proc-step-title,
.proc-step:focus-within .proc-step-title {
    color: var(--cyan);
}

.proc-step:hover .proc-step-chevron,
.proc-step:focus .proc-step-chevron,
.proc-step:focus-within .proc-step-chevron {
    transform: rotate(90deg);
    color: var(--cyan);
}

.proc-step:focus-visible {
    box-shadow: 0 0 0 2px var(--border-active);
}

.svc-process-note {
    max-width: 640px;
    margin: 44px auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Touch / no-hover devices: reveal every detail, drop the hover affordance */
@media (hover: none) {
    .proc-step-detail-wrap {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: 12px;
    }

    .proc-step-chevron {
        display: none;
    }

    .proc-step {
        cursor: default;
    }
}

@media (max-width: 560px) {
    .proc-step-detail {
        padding-left: 0;
    }

    .proc-step-title {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proc-step-detail-wrap,
    .proc-step-num,
    .proc-step-title,
    .proc-step-chevron {
        transition: none;
    }
}

/* ==========================================================================
   Blog — Index Listing & Post Pages
   Uses the shared design tokens throughout, so both light and dark themes
   are handled automatically. Every post card is real HTML (crawlable); the
   search / filter / sort in blog.js only shows/hides and reorders them.
   ========================================================================== */

/* Screen-reader-only utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- Blog hero ----- */
.blog-hero {
    padding: 130px 0 40px;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.08) 0%, rgba(7, 10, 19, 0) 55%);
}

.blog-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* ----- Listing section ----- */
.blog-main {
    padding: 20px 0 100px;
}

/* Controls: search + filter + sort */
.blog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 44px;
}

.blog-search {
    display: flex;
    align-items: center;
    flex: 1 1 320px;
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding-left: 14px;
    transition: border-color var(--transition-normal);
}

.blog-search:focus-within {
    border-color: var(--border-active);
}

.blog-search-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.blog-search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px;
}

.blog-search-input::placeholder {
    color: var(--text-muted);
}

.blog-search-btn {
    flex-shrink: 0;
    margin: 4px;
    padding: 9px 20px;
    background: var(--cyan);
    color: var(--bg-main);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.blog-search-btn:hover {
    box-shadow: 0 4px 14px var(--cyan-glow);
}

.blog-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-select-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-select-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.blog-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 9px 14px;
    cursor: pointer;
    transition: border-color var(--transition-normal);
}

.blog-select:hover,
.blog-select:focus {
    border-color: var(--border-active);
    outline: none;
}

/* Post grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card-head {
    margin-bottom: 14px;
}

.blog-card-category,
.blog-post-category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.22);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.blog-card:hover .blog-card-title {
    color: var(--cyan);
}

.blog-card-excerpt {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.blog-meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card-cta svg {
    transform: translateX(3px);
}

/* Empty state */
.blog-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 60px 0;
}

/* ----- Individual post ----- */
.blog-post {
    padding: 120px 0 90px;
}

.blog-post-container {
    max-width: 760px;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.blog-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.blog-breadcrumb a:hover {
    color: var(--cyan);
}

.blog-breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.6;
}

.blog-post-header {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-category {
    margin-bottom: 18px;
    transition: background var(--transition-normal);
}

a.blog-post-category:hover {
    background: rgba(6, 182, 212, 0.16);
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.blog-post-meta .blog-meta-item {
    font-size: 0.9rem;
}

/* Post prose */
.blog-post-body {
    color: var(--text-secondary);
}

.blog-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 26px;
}

.blog-post-body p {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.blog-post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 14px;
}

.blog-post-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* End-of-post CTA */
.blog-post-cta {
    margin-top: 56px;
    padding: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.blog-post-cta-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog-post-cta-text {
    max-width: 520px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.blog-post-cta .wos-feature-actions {
    justify-content: center;
    margin-top: 0;
}

/* ----- Blog responsive ----- */
@media (max-width: 768px) {
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-selects {
        justify-content: space-between;
    }

    .blog-post-title {
        font-size: 1.85rem;
    }

    .blog-post-cta {
        padding: 28px 22px;
    }
}

@media (max-width: 480px) {
    .blog-select-field {
        flex: 1;
    }

    .blog-select {
        flex: 1;
    }

    .blog-post-cta .wos-feature-actions .btn-primary,
    .blog-post-cta .wos-feature-actions .btn-secondary {
        width: 100%;
    }
}


/* ==========================================================================
   Client Reviews Marquee (homepage) — a horizontal, continuously scrolling
   banner of testimonials. Card widths are computed so exactly --review-n
   cards are visible at a time; the track is duplicated in JS for a seamless
   infinite loop.
   ========================================================================== */
.reviews-section {
    padding: 64px 0 72px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 9;

    /* Layout controls: how many cards are visible and the gap between them.
       card width = (container inner width / n) - gap. The container inner
       width is the outer width (capped at --container-max) minus its 48px
       of horizontal padding. */
    --review-n: 3;
    --review-gap: 22px;
    --review-card-w: calc((min(100vw, var(--container-max)) - 48px) / var(--review-n) - var(--review-gap));
}

.reviews-heading {
    text-align: center;
    margin-bottom: 36px;
}

.reviews-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 6px;
}

.reviews-heading .section-subtitle {
    display: block;
}

/* Viewport: clips the overflowing track and fades cards in/out at the edges. */
.reviews-marquee {
    overflow: hidden;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Track: an inline flex row sized to its content, translated left forever.
   Trailing margins on each card (not flex `gap`) keep the -50% loop seamless. */
.reviews-track {
    display: flex;
    width: max-content;
    align-items: stretch;
    animation: reviews-scroll 48s linear infinite;
}

@keyframes reviews-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.review-card {
    flex: 0 0 var(--review-card-w);
    width: var(--review-card-w);
    margin-right: var(--review-gap);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px 26px 22px;
    box-sizing: border-box;
}

.review-stars {
    display: flex;
    gap: 3px;
    font-size: 1.05rem;
    line-height: 1;
    margin-bottom: 14px;
}

.review-stars .star {
    color: var(--text-muted);
}

.review-stars .star.filled {
    color: #f5b638;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1 1 auto;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Light theme */
body.light-theme .reviews-section {
    background-color: #ffffff;
}

body.light-theme .review-card {
    background-color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* Responsive: fewer cards visible so text stays readable on small screens */
@media (max-width: 992px) {
    .reviews-section {
        --review-n: 2;
    }
}

@media (max-width: 640px) {
    .reviews-section {
        --review-n: 1.15;
        --review-gap: 16px;
        padding: 48px 0 52px;
    }

    .reviews-heading {
        margin-bottom: 28px;
    }
}

/* Honour reduced-motion: stop the auto-scroll and let users pan manually */
@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none;
    }

    .reviews-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}
