/* Custom Style System for Fidelia Consulting Redesign */

/* -------------------------------------------------------------
   1. Design System & Variables
------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme-specific variables (Dark Mode by default) */
    --bg-primary: #0b0f19;
    --bg-secondary: #121826;
    --bg-tertiary: #1f293d;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-emerald: #05c19c;
    --accent-cyan: #00f2fe;
    --accent-purple: #7c3aed;
    --accent-purple-glow: rgba(124, 58, 237, 0.15);
    
    --card-bg: rgba(18, 24, 38, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(0, 242, 254, 0.3);
    
    --nav-bg: rgba(11, 15, 25, 0.75);
    --nav-border: rgba(255, 255, 255, 0.05);
    
    --input-bg: rgba(31, 41, 55, 0.5);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-border: #00f2fe;
    
    --btn-primary-bg: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --btn-primary-text: #0b0f19;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
    
    --glass-blur: blur(16px);
}

/* Light Mode Override */
body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-emerald: #0ea5e9;
    --accent-cyan: #2563eb;
    --accent-purple: #4f46e5;
    --accent-purple-glow: rgba(79, 70, 229, 0.08);
    
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-hover-border: rgba(37, 99, 245, 0.3);
    
    --nav-bg: rgba(248, 250, 252, 0.8);
    --nav-border: rgba(0, 0, 0, 0.05);
    
    --input-bg: rgba(255, 255, 255, 1);
    --input-border: rgba(0, 0, 0, 0.12);
    --input-focus-border: #2563eb;
    
    --btn-primary-bg: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --btn-primary-text: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(37, 99, 245, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

/* -------------------------------------------------------------
   3. Decorative Elements (Canvas, Blobs)
------------------------------------------------------------- */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Fixed quarter circle dot pattern in top-right corner (Canvas) */
.dot-pattern-fixed {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    z-index: 95; /* Set on top of section contents (5) but below scrolled nav overlay (100) */
    pointer-events: none;
}

/* Ambient glow blobs */
.blob-glow {
    position: fixed;
    border-radius: 50%;
    filter: var(--glass-blur) blur(100px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: screen;
    animation: blob-float 20s infinite alternate ease-in-out;
}

body.light-mode .blob-glow {
    opacity: 0.06;
    mix-blend-mode: multiply;
    filter: blur(80px);
}

.blob-1 {
    top: -10%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: var(--accent-cyan);
}

.blob-2 {
    bottom: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: var(--accent-emerald);
    animation-delay: -10s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -60px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* -------------------------------------------------------------
   4. Layout Containers
------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

section {
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------------------------
   5. Floating Navigation Bar
------------------------------------------------------------- */
.navbar-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.75rem 2rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1400px) {
    .navbar-container {
        margin-right: 280px;
        margin-left: 2rem;
    }
}

.navbar-wrapper.scrolled {
    top: 0;
}

.navbar-wrapper.scrolled .navbar-container {
    max-width: calc(100% - 280px);
    border-radius: 0 0 24px 0;
    border-left: none;
    border-top: none;
    border-right: 1px solid var(--nav-border);
    border-bottom: 1px solid var(--nav-border);
    padding: 1rem 4rem;
    box-shadow: var(--shadow-sm);
    margin-right: 280px;
    margin-left: 0;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.2s ease;
}

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

.nav-link.active {
    color: var(--text-primary);
}

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

.nav-link-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.nav-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
    width: 38px;
    height: 38px;
}

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

body.light-mode .theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------
   6. UI Buttons
------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

body.light-mode .btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------------------
   7. Typography & Headers
------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-emerald);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

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

/* -------------------------------------------------------------
   8. Hero Section
------------------------------------------------------------- */
.hero-section {
    padding-top: 10rem;
    overflow: hidden;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
}

.badge {
    display: inline-flex;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    background: var(--accent-purple-glow);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.95;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-cyan) 85%, var(--accent-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: text-shine 8s infinite alternate;
}

@keyframes text-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* -------------------------------------------------------------
   9. Why Choose Us Section
------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.why-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    padding: 2.25rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateX(10px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-md);
}

.value-icon-wrapper {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

body.light-mode .value-icon-wrapper {
    background: rgba(37, 99, 245, 0.06);
    border-color: rgba(37, 99, 245, 0.15);
    color: var(--accent-cyan);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* ROI Calculator card styling */
.interactive-calc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Glow highlight for card */
.interactive-calc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    pointer-events: none;
    box-shadow: var(--shadow-glow);
    opacity: 0.5;
}

.calc-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calc-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.25rem;
}

.slider-group {
    margin-bottom: 2rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.slider-labels label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.slider-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: var(--bg-tertiary);
    height: 6px;
    border-radius: 10px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
    transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
    transition: transform 0.1s;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.25);
}

.range-slider::-moz-range-track {
    background: var(--bg-tertiary);
    height: 6px;
    border-radius: 10px;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.slider-ticks span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-divider {
    height: 1px;
    background: var(--card-border);
    margin: 2.5rem 0 2rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
}

body.light-mode .result-box {
    background: rgba(0, 0, 0, 0.01);
}

.result-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-annual-projection {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
}

.annual-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-emerald);
}

.annual-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* -------------------------------------------------------------
   10. Services Section (Tabs)
------------------------------------------------------------- */
.services-tabs-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.services-nav-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    gap: 1rem;
}

.service-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

body.light-mode .service-tab-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.service-tab-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

body.light-mode .service-tab-btn.active {
    background: var(--bg-primary);
}

.tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    display: inline-block;
    transition: background-color 0.2s;
}

.service-tab-btn.active .tab-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Panel Animation */
.service-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.service-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.service-badge {
    display: inline-block;
    background: rgba(5, 193, 156, 0.08);
    border: 1px solid rgba(5, 193, 156, 0.25);
    color: var(--accent-emerald);
    padding: 0.25rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.service-info-col h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.service-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-bullets li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
}

.service-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

.results-highlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.results-highlight-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* -------------------------------------------------------------
   11. Future Section (Legal AI Assistant)
------------------------------------------------------------- */
.future-box {
    background: linear-gradient(135deg, rgba(12, 18, 32, 0.9) 0%, rgba(18, 24, 38, 0.9) 100%);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

body.light-mode .future-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.future-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cyber shield graphic animation */
.cyber-shield {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-core {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 0 30px var(--accent-purple);
    z-index: 5;
}

.shield-ring-1, .shield-ring-2 {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--accent-cyan);
    opacity: 0.5;
}

.shield-ring-1 {
    width: 130px;
    height: 130px;
    animation: rotate-clockwise 15s linear infinite;
}

.shield-ring-2 {
    width: 180px;
    height: 180px;
    border-color: var(--accent-purple);
    animation: rotate-counter 20s linear infinite;
}

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

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

.future-info {
    display: flex;
    flex-direction: column;
}

.future-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #a78bfa;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #a78bfa;
    box-shadow: 0 0 0 var(--accent-purple);
    animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
    0% {
        box-shadow: 0 0 0 0.2rem rgba(167, 139, 250, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0.6rem rgba(167, 139, 250, 0);
    }
}

.future-info h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.future-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.future-bullet strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

.future-cta {
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.future-emphasis {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-pilot {
    white-space: nowrap;
}

/* -------------------------------------------------------------
   12. Contact Section
------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info-col h2 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-group h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.details-group p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.details-group a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: opacity 0.2s;
}

.details-group a:hover {
    text-decoration: underline;
}

/* Modern contact form */
.contact-form-col {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.input-group textarea {
    height: 120px;
    resize: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--input-focus-border);
    background: rgba(255, 255, 255, 0.02);
}

body.light-mode .input-group input:focus,
body.light-mode .input-group select:focus,
body.light-mode .input-group textarea:focus {
    background: #ffffff;
}

/* Floating Label Animation */
.input-group label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.input-group textarea + label {
    top: 1rem;
}

/* Floating labels magic */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -0.65rem;
    left: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: var(--bg-secondary);
    padding: 0 0.4rem;
    border-radius: 4px;
}

body.light-mode .input-group input:focus + label,
body.light-mode .input-group input:not(:placeholder-shown) + label,
body.light-mode .input-group textarea:focus + label,
body.light-mode .input-group textarea:not(:placeholder-shown) + label {
    background: #ffffff;
}

/* Select element styling */
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/* Arrow indicator for select */
.input-group::after {
    content: '▼';
    font-size: 0.65rem;
    color: var(--text-secondary);
    position: absolute;
    right: 1.2rem;
    top: 1.25rem;
    pointer-events: none;
}

.input-group select:focus + .select-label,
.input-group select:valid + .select-label {
    top: -0.65rem;
    left: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: var(--bg-secondary);
    padding: 0 0.4rem;
    border-radius: 4px;
}

body.light-mode .input-group select:focus + .select-label,
body.light-mode .input-group select:valid + .select-label {
    background: #ffffff;
}

.submit-btn {
    width: 100%;
}

/* -------------------------------------------------------------
   13. Footer
------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-meta {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* -------------------------------------------------------------
   14. Toast / Success Notifications
------------------------------------------------------------- */
.toast-card {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: rgba(18, 24, 38, 0.85);
    border: 1px solid rgba(5, 193, 156, 0.3);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-width: 380px;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .toast-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 165, 233, 0.3);
}

.toast-card.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-body {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
}

.toast-icon {
    background: rgba(5, 193, 156, 0.15);
    border: 1px solid rgba(5, 193, 156, 0.3);
    color: var(--accent-emerald);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-text {
    flex-grow: 1;
}

.toast-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

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

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 0 0.25rem;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* -------------------------------------------------------------
   15. Scroll-reveal Animations & Responsive Media
------------------------------------------------------------- */
/* Scroll reveal states */
.js-enabled .fade-in {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .why-grid, .contact-grid, .future-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .future-box {
        padding: 3rem;
    }
    
    .future-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .dot-pattern-fixed {
        width: 180px;
        height: 180px;
    }
    
    .navbar-container {
        margin-right: 200px; /* 180px dots + 20px spacing */
        margin-left: 1rem;
    }
    
    .navbar-wrapper.scrolled .navbar-container {
        max-width: calc(100% - 200px);
        margin-right: 200px;
        margin-left: 0;
        border-radius: 0 0 16px 0;
        border-right: 1px solid var(--nav-border);
        border-bottom: 1px solid var(--nav-border);
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu collapsed for minimalism */
    }
    
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: -2px;
    }
    
    .hero-tagline {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .services-tabs-container {
        padding: 2rem 1.5rem;
    }
    
    .service-panel-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .future-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .toast-card {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        max-width: none;
    }
}
