/* ==========================================================================
   QRELABS - Drone & IoT Forensics
   Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Theme Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Dark Cyber Forensics Theme */
    --bg-primary: #0a0e14;
    --bg-secondary: #111820;
    --bg-tertiary: #1a2332;
    --bg-elevated: #1f2937;
    
    --accent: #00ffc8;
    --accent-dim: #00b894;
    --accent-glow: rgba(0, 255, 200, 0.3);
    --accent-subtle: rgba(0, 255, 200, 0.1);
    
    --text-primary: #e8edf4;
    --text-secondary: #a0aec0;
    --text-muted: #6b7a90;
    
    --error: #ff6b6b;
    --success: #00ffc8;
    --warning: #ffd93d;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-accent: rgba(0, 255, 200, 0.2);
    
    /* Typography */
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    
    /* Sizing */
    --header-height: 72px;
    --container-max: 1200px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 12px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
    max-width: 65ch;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

.text-accent {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: 80px 0;
}

@media (min-width: 768px) {
    section {
        padding: 120px 0;
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Navigation */
.nav-menu {
    display: none;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--accent);
}

.header-cta {
    display: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu expanded */
.nav-menu.is-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .header-cta {
        display: inline-flex;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Grid overlay effect */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 200, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 200, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Scanline effect */
.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero-text {
    max-width: 600px;
}

.hero-headline {
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero visual - Drone SVG */
.hero-visual {
    display: flex;
    justify-content: center;
}

.drone-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Propeller animation */
.propeller {
    transform-origin: center;
    animation: spin 0.3s linear infinite;
}

.prop-2 {
    animation-direction: reverse;
}

.prop-3 {
    animation-direction: reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulse rings animation */
.pulse-ring {
    opacity: 0;
    animation: pulse 3s ease-out infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 1s; }
.pulse-3 { animation-delay: 2s; }

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* --------------------------------------------------------------------------
   Trust Indicators
   -------------------------------------------------------------------------- */
.trust-indicators {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    list-style: none;
}

@media (min-width: 768px) {
    .trust-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.trust-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--border-color-accent);
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Solutions Section
   -------------------------------------------------------------------------- */
.solutions {
    background: var(--bg-primary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    position: relative;
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.solution-card:hover {
    border-color: var(--border-color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.solution-card--primary {
    border-color: var(--border-color-accent);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.solution-card--primary::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--accent);
}

.solution-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-primary);
    background: var(--accent);
    border-radius: 2px;
}

.solution-badge--secondary {
    background: var(--text-muted);
    color: var(--text-primary);
}

.solution-title {
    margin-bottom: 12px;
}

.solution-description {
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
}

.solution-link:hover {
    gap: 10px;
}

/* --------------------------------------------------------------------------
   Drone Forensics Section
   -------------------------------------------------------------------------- */
.drone-forensics {
    background: var(--bg-secondary);
}

.drone-forensics-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .drone-forensics-content {
        grid-template-columns: 2fr 1fr;
        gap: 64px;
    }
}

.drone-forensics-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 640px) {
    .drone-forensics-main {
        grid-template-columns: 1fr 1fr;
    }
}

.forensics-block h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.forensics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.forensics-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.list-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* Sidebar visual */
.drone-forensics-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-visual svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* Ecosystems strip */
.ecosystems-strip {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.ecosystems-title {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ecosystems-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.ecosystem-item {
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.ecosystem-item:hover {
    opacity: 1;
}

.ecosystem-logo {
    width: 80px;
    height: 40px;
}

/* --------------------------------------------------------------------------
   Custom/FPV Section
   -------------------------------------------------------------------------- */
.custom-fpv {
    background: var(--bg-primary);
}

.custom-fpv-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.custom-fpv-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 auto;
}

.custom-fpv-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .custom-fpv-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.feature-item p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 auto;
}

/* Pipeline */
.pipeline {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pipeline-title {
    text-align: center;
    margin-bottom: 40px;
}

.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .pipeline-steps {
        flex-direction: row;
        align-items: flex-start;
    }
}

.pipeline-step {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--accent);
    border-radius: 50%;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--accent);
}

.pipeline-step h4 {
    margin-bottom: 8px;
}

.pipeline-step p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 auto;
}

.pipeline-connector {
    display: none;
    flex-shrink: 0;
    width: 40px;
    padding-top: 72px;
}

@media (min-width: 768px) {
    .pipeline-connector {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Smartwatch Section
   -------------------------------------------------------------------------- */
.smartwatch {
    background: var(--bg-secondary);
}

.smartwatch-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .smartwatch-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 64px;
    }
}

.smartwatch-text .section-title {
    text-align: left;
}

.smartwatch-text .section-title::after {
    left: 0;
    transform: none;
}

.smartwatch-description {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.smartwatch-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smartwatch-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Watch SVG */
.smartwatch-visual {
    display: flex;
    justify-content: center;
}

.watch-svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.pulse-line {
    animation: pulseStroke 2s ease-in-out infinite;
}

@keyframes pulseStroke {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.4; }
}

.data-stream {
    animation: dataFlow 2s ease-in-out infinite;
}

@keyframes dataFlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Workflow / Timeline Section
   -------------------------------------------------------------------------- */
.workflow {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    padding-left: 56px;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        padding-bottom: 64px;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: calc(50% + 32px);
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: calc(50% + 32px);
    }
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
}

.timeline-content h3 {
    margin-bottom: 12px;
    color: var(--accent);
}

.timeline-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-content li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.timeline-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content li {
        padding-left: 0;
        padding-right: 16px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content li::before {
        left: auto;
        right: 0;
        content: '‹';
    }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-main .section-title {
    text-align: left;
}

.about-main .section-title::after {
    left: 0;
    transform: none;
}

.about-mission {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-description {
    margin-bottom: 16px;
}

.about-values h3 {
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    padding: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.value-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--accent);
}

.value-item h4 {
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 64px;
    }
}

/* Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group--full {
        grid-column: 1 / -1;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a90' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    font-size: 0.8125rem;
    color: var(--error);
    min-height: 1.2em;
}

.form-actions {
    grid-column: 1 / -1;
    padding-top: 8px;
}

/* Form submission message */
.form-message {
    grid-column: 1 / -1;
    display: none;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 8px;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.form-message.sending {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Submit button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    to { transform: rotate(360deg); }
}

/* Contact info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.contact-card h3 {
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-detail address {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-color-accent);
    border-radius: 8px;
}

.note-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.contact-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-nav {
    display: contents;
}

.footer-nav-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-nav-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-column a {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-nav-column a:hover {
    color: var(--accent);
}

.footer-social h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright,
.disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 900;
}

.back-to-top:not([hidden]) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal:not([hidden]) .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-content h3 {
    margin-bottom: 16px;
    color: var(--accent);
}

.modal-content p {
    margin: 0 auto 16px;
    color: var(--text-secondary);
}

.modal-fallback {
    font-size: 0.875rem;
}

.modal-btn {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Reveal Animation
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.solutions-grid .reveal:nth-child(1) { transition-delay: 0s; }
.solutions-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.solutions-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.trust-list .reveal:nth-child(1) { transition-delay: 0s; }
.trust-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.trust-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.trust-list .reveal:nth-child(4) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .header,
    .hero-scroll-indicator,
    .back-to-top,
    .modal {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

