/* =========================================================
   nexovariantica.com — Industrial Automation & Robotics
   Dark mode with electric blue accent lighting
   ========================================================= */

/* --- Design Tokens --- */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #0c1a2e;
    --secondary: #0f172a;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --accent-glow-strong: rgba(0, 212, 255, 0.3);
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg: #030712;
    --bg-alt: #0a0f1c;
    --bg-elevated: #111827;
    --bg-card: #0d1321;
    --border: #1e293b;
    --border-accent: rgba(0, 212, 255, 0.2);
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 4px;
    --transition: all 0.3s ease;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-mono {
    font-family: var(--font-mono);
}

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

.text-muted-light {
    color: var(--text-light);
}

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

a {
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    border-radius: var(--radius);
}

.rounded-sm {
    border-radius: var(--radius) !important;
}

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

/* --- Circuit Board Overlay --- */
.circuit-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* === NAVBAR === */
#mainNav {
    background: transparent;
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1050;
}

#mainNav.scrolled {
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-accent);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand-text {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* --- Buttons --- */
.btn-accent {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-accent:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-outline-light {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- Sections --- */
.section-dark {
    background: var(--bg);
    position: relative;
}

.section-darker {
    background: var(--bg-alt);
    position: relative;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: var(--text);
}

.py-md-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .py-md-6 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* === HERO === */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,7,18,0.92) 0%, rgba(3,7,18,0.7) 50%, rgba(3,7,18,0.85) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 212, 255, 0); }
}

.hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 560px;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* --- Page Hero --- */
.page-hero {
    background: var(--bg-alt);
    position: relative;
    padding-top: 80px;
}

.page-hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

/* === METRICS === */
.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    text-align: center;
}

.metric-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.metric-value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: inline;
}

.metric-unit {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    display: inline;
    margin-left: 2px;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.metric-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
    width: 0;
    transition: width 1.5s ease;
}

/* === TECH CARDS === */
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

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

.tech-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.tech-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tech-card-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.tech-card-link {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.tech-card:hover .tech-card-link {
    letter-spacing: 0.1em;
}

/* === STATS === */
.stat-mini {
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-mini-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.stat-mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* === TESTIMONIALS === */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-accent);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* === CLIENT LOGOS === */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.client-logo {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: var(--transition);
    opacity: 0.5;
}

.client-logo:hover {
    border-color: var(--accent);
    opacity: 1;
    color: var(--accent);
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 50%, var(--bg-alt) 100%);
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* === TECH SPECS === */
.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.tech-spec-item {
    background: var(--bg-card);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tech-spec-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.tech-spec-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Feature List --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent);
    border-radius: 2px;
}

/* === TEAM === */
.team-card {
    text-align: center;
    padding: 1.5rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    margin-bottom: 0.75rem;
}

.team-bio {
    line-height: 1.6;
}

/* === TIMELINE === */
.timeline {
    border-left: 2px solid var(--border);
    padding-left: 1.5rem;
}

.timeline-item {
    padding: 0.75rem 0;
    display: flex;
    gap: 1rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 1.1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
}

.timeline-year {
    min-width: 48px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* === FACILITY === */
.facility-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.facility-labs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lab-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.lab-item:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.lab-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    min-width: 48px;
}

/* === CERTIFICATIONS === */
.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.cert-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    min-width: 110px;
    flex-shrink: 0;
}

/* === CASE STUDIES === */
.case-study-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.case-number {
    font-size: 0.75rem;
    font-weight: 700;
}

.case-industry {
    font-size: 0.65rem;
    padding: 4px 10px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.roi-item {
    background: var(--bg-card);
    padding: 1.25rem;
    text-align: center;
}

.roi-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

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

.impl-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.impl-phase {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-light);
}

.impl-weeks {
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 56px;
}

/* === KNOWLEDGE BASE === */
.kb-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
}

.kb-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.kb-card-type {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.kb-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.kb-card-text {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.kb-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.api-endpoint {
    display: block;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text-light);
    border: 1px solid var(--border);
}

/* === CALCULATOR === */
.calc-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.calc-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.calc-input {
    background: var(--bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border-radius: var(--radius) !important;
    min-height: 44px;
}

.calc-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 2px var(--accent-glow) !important;
}

.calc-input-prefix,
.calc-input-suffix {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    color: var(--accent) !important;
    font-family: var(--font-mono);
    font-weight: 700;
}

.calc-unit {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-light) !important;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.calc-results {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.calc-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
}

.result-metric {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.result-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 0.25rem;
}

/* Comparison Chart */
.chart-container {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-bar {
    height: 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    padding-left: 8px;
    width: 0;
    transition: width 1s ease;
    position: relative;
}

.chart-bar-current {
    background: var(--border);
}

.chart-bar-projected {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.chart-bar-value {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-current {
    background: var(--border);
}

.legend-projected {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Savings Timeline */
.savings-timeline {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.timeline-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-bar-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 24px;
}

.timeline-bar {
    height: 28px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    width: 0;
    transition: width 1.2s ease;
}

.timeline-val {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bg);
    white-space: nowrap;
}

/* Method Card */
.method-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
}

.method-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

/* === CONTACT === */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: 0;
}

.contact-info-item i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.regional-office {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.regional-office:last-child {
    border-bottom: 0;
}

/* === LEGAL === */
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-light);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* === FOOTER === */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding-top: 4rem;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-accent);
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--accent);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(3, 7, 18, 0.98);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 0.5rem;
        border: 1px solid var(--border);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .calc-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .page-hero-title {
        font-size: 1.75rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .tech-specs {
        grid-template-columns: 1fr 1fr;
    }
    
    .roi-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .client-logos {
        gap: 1rem;
    }
    
    .client-logo {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    
    .cert-badge {
        min-width: 80px;
        font-size: 0.6rem;
    }

    .chart-label {
        min-width: 60px;
        font-size: 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        font-size: 0.8rem;
        padding: 0.75rem 1.25rem !important;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Ensure no horizontal overflow */
.container {
    max-width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Form validation states */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger) !important;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success) !important;
}

/* Print styles */
@media print {
    .navbar, .cookie-banner, .back-to-top, .cta-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
