/* =====================================================
   FuseLidar.com - Main Stylesheet
   Multi-Sensor Data Fusion Theme
   ===================================================== */

/* CSS Variables - Purple/Magenta Theme */
:root {
    /* Primary Colors - Fusion Theme */
    --primary: #9333EA;        /* Purple - main brand color */
    --primary-dark: #7928CA;   /* Darker purple */
    --primary-light: #A855F7;  /* Lighter purple */
    
    /* Accent Colors */
    --accent: #EC4899;         /* Magenta - energy/integration */
    --accent-dark: #DB2777;    /* Darker magenta */
    --accent-light: #F472B6;   /* Lighter magenta */
    
    /* Success/Info Colors */
    --success: #10B981;        /* Teal - portfolio consistency */
    --info: #06B6D4;           /* Cyan */
    --warning: #F59E0B;        /* Amber */
    --danger: #EF4444;         /* Red */
    
    /* Background Colors - Dark Theme */
    --bg-primary: #0A0F1C;     /* Main dark background */
    --bg-secondary: #111827;   /* Slightly lighter */
    --bg-card: #1F2937;        /* Card backgrounds */
    --bg-hover: #374151;       /* Hover states */
    
    /* Text Colors */
    --text-primary: #F9FAFB;   /* Main text */
    --text-secondary: #D1D5DB; /* Secondary text */
    --text-muted: #9CA3AF;     /* Muted text */
    
    /* Border Colors */
    --border-color: #374151;
    --border-light: #4B5563;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9333EA 0%, #EC4899 100%);
    --gradient-hover: linear-gradient(135deg, #7928CA 0%, #DB2777 100%);
    --gradient-text: linear-gradient(90deg, #A855F7, #F472B6);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* =====================================================
   Global Styles
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* New: smooth scroll is opt-in after we finish first paint */
html { scroll-behavior: auto; }
html.smooth-scroll { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =====================================================
   Typography
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   Navigation Header
   ===================================================== */

.nav-header {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-nav-cta:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content-single {
    text-align: center;
}

.hero-text-center {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #D1D5DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =====================================================
   Buttons
   ===================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-generate, .btn-calculate {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 2rem;
    margin-top: 1rem;
}

.btn-submit {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 2rem;
    width: 100%;
    font-size: 1.1rem;
}

/* =====================================================
   Hero Visualization
   ===================================================== */

.hero-visual-full {
    margin: 3rem 0;
}

.fusion-visualization {
    position: relative;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-core {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.core-center {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.sensor-input {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sensor-input.lidar-input { top: 20%; left: 10%; }
.sensor-input.camera-input { top: 20%; right: 10%; }
.sensor-input.radar-input { bottom: 20%; left: 10%; }
.sensor-input.imu-input { bottom: 20%; right: 10%; }

.sensor-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
}

.data-stream {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    animation: dataFlow 2s infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.sensor-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.fusion-status {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-metrics {
    display: flex;
    gap: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.metric-value {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* =====================================================
   Hero Stats
   ===================================================== */

.hero-stats-center {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =====================================================
   Sections
   ===================================================== */

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* =====================================================
   Value Proposition
   ===================================================== */

.value-prop {
    background: var(--bg-secondary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* =====================================================
   Technology Accordion
   ===================================================== */

.tech-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-hover);
}

.accordion-item.active .accordion-header {
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border-color);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.tech-detail {
    padding: 1.5rem;
}

.tech-detail h4 {
    color: var(--primary);
    margin: 1rem 0;
}

.tech-detail ul {
    list-style: none;
    padding-left: 0;
}

.tech-detail li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.tech-detail li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* =====================================================
   Calculator Section
   ===================================================== */

.calculator-section {
    background: var(--bg-secondary);
}

.calculator-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.calculator-widget h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.calc-inputs {
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
}

.input-group select {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.calc-results {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.result-recommendation {
    background: rgba(147, 51, 234, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.calculator-disclaimer {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--warning);
}

.calculator-disclaimer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =====================================================
   Visualizer Container
   ===================================================== */

.visualizer-container {
    margin-top: 1.5rem;
}

.sensor-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sensor-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.sensor-toggle:hover {
    background: var(--primary);
}

.sensor-toggle input {
    margin: 0;
}

.visualizer-display {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.visualizer-display canvas {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
}

.confidence-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.confidence-meter {
    flex: 1;
    height: 20px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.confidence-value {
    font-weight: 700;
    color: var(--primary);
}

/* =====================================================
   Applications Grid
   ===================================================== */

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.app-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.app-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.app-features {
    list-style: none;
    margin-top: 1rem;
}

.app-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.app-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* =====================================================
   Resources Tabs
   ===================================================== */

.resource-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.resource-list {
    list-style: none;
}

.resource-list li {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.resource-list li:hover {
    border-color: var(--primary);
}

.resource-list h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.resource-meta {
    display: inline-block;
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* =====================================================
   CTA Section
   ===================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.cta-feature svg {
    color: var(--success);
}

.btn-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =====================================================
   Network Box
   ===================================================== */

.network-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 2px solid var(--primary);
    max-width: 1000px;
    margin: 0 auto;
}

.network-domains {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.domain-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.domain-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.domain-card.current {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.1);
}

.domain-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.domain-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.domain-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.domain-link {
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.domain-status {
    color: var(--success);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.network-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h4,
.footer-links h4,
.footer-legal h4,
.footer-network h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links ul,
.footer-legal ul,
.footer-network ul {
    list-style: none;
}

.footer-links a,
.footer-legal a,
.footer-network a {
    color: var(--text-secondary);
    display: block;
    padding: 0.25rem 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-network a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =====================================================
   Breadcrumb Navigation
   ===================================================== */

.breadcrumb {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 500;
}

/* =====================================================
   Page Header
   ===================================================== */

.page-hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* =====================================================
   Legal Content (Privacy, Disclaimer)
   ===================================================== */

.page-content {
    padding: 3rem 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.toc {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.toc h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
}

.toc li {
    padding: 0.25rem 0;
}

.toc a {
    color: var(--text-secondary);
}

.toc a:hover {
    color: var(--primary);
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

/* =====================================================
   Alert Boxes
   ===================================================== */

.alert-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.alert-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--warning);
}

.alert-box.danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
}

.alert-box p {
    margin: 0;
    color: var(--text-primary);
}

/* =====================================================
   Contact Page
   ===================================================== */

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-section {
    margin-bottom: 3rem;
}

.contact-info {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.info-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* =====================================================
   Contact Form
   ===================================================== */

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: none;
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-submit {
    margin-top: 2rem;
}

/* =====================================================
   Quick Facts Box
   ===================================================== */

.quick-facts {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.quick-facts h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.quick-facts ul {
    list-style: none;
}

.quick-facts li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.quick-facts li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* =====================================================
   FAQ Section
   ===================================================== */

.contact-additional {
    margin-top: 3rem;
}

.faq-grid {
    display: block;
}

.faq-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* =====================================================
   Animations
   ===================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.point-cloud-fusion .point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.point-cloud-fusion .point:nth-child(odd) {
    animation-delay: 0.5s;
}

/* =====================================================
   Utility Classes
   ===================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* =====================================================
   Loading Animation
   ===================================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   Scrollbar Styling
   ===================================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =====================================================
   Selection Styling
   ===================================================== */

::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}