/* One A Trucks Website - Premium Cyberpunk Design */
/* Based on GLCHB v3 patterns with cyan/purple aggressive aesthetic */

/* === DESIGN TOKENS === */
:root {
    /* Dark cyberpunk backgrounds */
    --bg-base: #0A0E14;
    --bg-surface: #0D1118;
    --bg-elevated: #141A24;
    --bg-card: #0F1419;
    
    /* Borders with cyan glow */
    --border: rgba(0,229,255,0.08);
    --border-hover: rgba(0,229,255,0.15);
    --border-cyan: rgba(0,229,255,0.25);
    --border-purple: rgba(156,39,176,0.2);
    
    /* Text hierarchy */
    --text-1: #F1F5F9;
    --text-2: #94A3B8;
    --text-3: #64748B;
    
    /* Cyberpunk color palette */
    --cyan: #00E5FF;
    --cyan-light: #40E9FF;
    --cyan-dim: rgba(0,229,255,0.08);
    --cyan-glow: rgba(0,229,255,0.15);
    
    --purple: #9C27B0;
    --purple-light: #BA68C8;
    --purple-dim: rgba(156,39,176,0.08);
    
    /* Supporting colors */
    --blue: #60A5FA;
    --green: #34D399;
    --red: #F87171;
    --orange: #FB923C;
    
    /* Border radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
}

/* === RESET & GLOBALS === */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-base);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar with cyan accent */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; opacity: 0.6; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-light); opacity: 0.8; }

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* === TYPOGRAPHY === */
h1 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: clamp(2.5rem, 5vw, 4.25rem); 
    font-weight: 800; 
    line-height: 1.05; 
    letter-spacing: -0.03em; 
}

h2 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: clamp(1.75rem, 3.5vw, 2.75rem); 
    font-weight: 700; 
    line-height: 1.12; 
    letter-spacing: -0.02em; 
}

h3 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: clamp(1.15rem, 2vw, 1.4rem); 
    font-weight: 700; 
    line-height: 1.3; 
}

a { 
    color: var(--cyan); 
    text-decoration: none; 
    transition: all 0.15s ease; 
}

a:hover { 
    color: var(--cyan-light);
    text-shadow: 0 0 8px rgba(0,229,255,0.4);
}

/* === LAYOUT === */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

section { 
    padding: 6rem 2rem; 
    position: relative; 
}

section .container { 
    padding: 0; 
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    background: var(--cyan-dim);
    padding: 8px 16px;
    border-radius: var(--r-xl);
    border: 1px solid var(--border-cyan);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(0,229,255,0.1);
}

.section-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-2);
    max-width: 600px;
    margin: 1.5rem 0 0;
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible { 
    opacity: 1; 
    transform: none; 
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--r-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    color: #000;
    padding: 16px 36px;
    font-size: 0.95rem;
    box-shadow: 0 0 25px rgba(0,229,255,0.3), 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0,229,255,0.5), 0 8px 25px rgba(0,0,0,0.3);
    color: #000;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #fff;
    padding: 16px 36px;
    font-size: 0.95rem;
    box-shadow: 0 0 25px rgba(156,39,176,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(156,39,176,0.4);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-1);
    border: 2px solid var(--border-cyan);
    padding: 16px 36px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.btn-ghost:hover { 
    border-color: var(--cyan); 
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0,229,255,0.2);
    background: rgba(0,229,255,0.05);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(0,229,255,0.08) 0%, rgba(156,39,176,0.06) 50%, rgba(10,14,20,0.95) 100%),
        url('assets/hero-truck-smoke.png') center/cover no-repeat,
        radial-gradient(ellipse at 25% 40%, rgba(0,229,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 60%, rgba(156,39,176,0.06) 0%, transparent 50%),
        var(--bg-base);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0,229,255,0.03) 0%, transparent 30%, rgba(156,39,176,0.02) 70%, transparent 100%);
    pointer-events: none;
}

.hero .container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-eyebrow .dot { 
    width: 6px; 
    height: 6px; 
    background: var(--green); 
    border-radius: 50%; 
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes pulse { 
    0%,100% { opacity: 1; transform: scale(1); } 
    50% { opacity: 0.4; transform: scale(0.8); } 
}

.hero h1 { 
    margin-bottom: 1.25rem; 
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--text-1), var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub { 
    color: var(--text-2); 
    font-size: 1.1rem; 
    line-height: 1.7; 
    margin-bottom: 2rem; 
    max-width: 480px; 
}

.hero-actions { 
    display: flex; 
    gap: 1rem; 
    margin-bottom: 3rem; 
    flex-wrap: wrap;
}

.hero-stats { 
    display: flex; 
    gap: 2.5rem; 
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-num { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.75rem; 
    font-weight: 800; 
    color: var(--text-1);
    display: flex;
    align-items: baseline;
}

.hero-stat-num .unit { 
    font-size: 0.9rem; 
    color: var(--cyan); 
    margin-left: 2px; 
}

.hero-stat-label { 
    font-size: 0.75rem; 
    color: var(--text-3); 
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero right — floating dashboard */
.hero-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: absolute;
    background: rgba(15,20,25,0.9);
    border: 1px solid var(--border-cyan);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0,229,255,0.1), 0 0 0 1px rgba(0,229,255,0.05);
}

.hero-card:nth-child(1) { 
    top: 0; 
    left: 10%; 
    width: 320px; 
    animation-delay: 0s; 
    border-color: var(--border-cyan);
}

.hero-card:nth-child(2) { 
    top: 140px; 
    right: 0; 
    width: 260px; 
    animation-delay: 1s; 
    border-color: var(--border-purple);
    box-shadow: 0 8px 32px rgba(156,39,176,0.1);
}

.hero-card:nth-child(3) { 
    bottom: 20px; 
    left: 5%; 
    width: 280px; 
    animation-delay: 2s;
    border-color: var(--border-cyan);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

.hc-label { 
    font-size: 0.7rem; 
    font-weight: 600; 
    color: var(--text-3); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 0.5rem; 
}

.hc-value { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hc-status { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    padding: 4px 10px; 
    border-radius: 20px; 
    margin-top: 0.5rem; 
}

.hc-cyan { 
    background: var(--cyan-dim); 
    color: var(--cyan);
    border: 1px solid var(--border-cyan);
}

.hc-purple { 
    background: var(--purple-dim); 
    color: var(--purple);
    border: 1px solid var(--border-purple);
}

.hc-green { 
    background: rgba(52,211,153,0.1); 
    color: var(--green);
    border: 1px solid rgba(52,211,153,0.2);
}

.hc-bar { 
    height: 6px; 
    background: var(--bg-elevated); 
    border-radius: 3px; 
    margin-top: 0.75rem; 
    overflow: hidden; 
}

.hc-bar-fill { 
    height: 100%; 
    border-radius: 3px; 
    background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
    box-shadow: 0 0 8px rgba(0,229,255,0.3);
}

.hc-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0.4rem 0; 
    font-size: 0.8rem; 
}

.hc-row span:first-child { 
    color: var(--text-2); 
}

.hc-mono { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.8rem; 
    color: var(--cyan);
    text-shadow: 0 0 4px rgba(0,229,255,0.2);
}

/* === BENTO GRID SERVICES === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 3rem;
}

.bento-card {
    background: rgba(15,20,25,0.8);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bento-card:hover::before {
    transform: scaleX(1);
}

.bento-card:hover { 
    border-color: var(--border-cyan); 
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,229,255,0.15);
}

.bento-card.wide { 
    grid-column: span 2; 
}

.bento-card.tall { 
    grid-row: span 2; 
}

.bento-icon { 
    font-size: 2.5rem; 
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(0,229,255,0.3));
}

.bento-card h3 { 
    margin-bottom: 0.75rem;
    color: var(--text-1);
}

.bento-card p { 
    font-size: 0.9rem; 
    color: var(--text-2); 
    line-height: 1.6; 
}

.bento-tag { 
    display: inline-block; 
    font-size: 0.65rem; 
    font-weight: 700; 
    padding: 4px 12px; 
    border-radius: 20px; 
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-tag-cyan { 
    background: var(--cyan-dim); 
    color: var(--cyan); 
    border: 1px solid var(--border-cyan);
    box-shadow: 0 0 8px rgba(0,229,255,0.2);
}

.bento-tag-purple { 
    background: var(--purple-dim); 
    color: var(--purple); 
    border: 1px solid var(--border-purple);
    box-shadow: 0 0 8px rgba(156,39,176,0.2);
}

.bento-tag-green { 
    background: rgba(52,211,153,0.1); 
    color: var(--green); 
    border: 1px solid rgba(52,211,153,0.2);
}

/* === STATS STRIP === */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(15,20,25,0.8);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
    box-shadow: 0 12px 40px rgba(0,229,255,0.1);
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* === COVERAGE MAP === */
.coverage-visual {
    background: rgba(15,20,25,0.8);
    border: 1px solid var(--border-cyan);
    border-radius: var(--r-lg);
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.coverage-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0,229,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(156,39,176,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.coverage-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(0,229,255,0.05);
    border: 1px solid var(--border-cyan);
    border-radius: var(--r-md);
    transition: all 0.2s ease;
}

.coverage-point:hover {
    background: rgba(0,229,255,0.08);
    transform: translateY(-2px);
}

.coverage-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(0,229,255,0.4));
}

/* === QUOTE FORM === */
.quote-section {
    background: 
        linear-gradient(135deg, rgba(0,229,255,0.03) 0%, rgba(156,39,176,0.02) 100%),
        rgba(15,20,25,0.95);
    border: 1px solid var(--border-cyan);
    border-radius: var(--r-xl);
    padding: 4rem;
    margin: 4rem 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20,26,35,0.8);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-1);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.1), 0 0 8px rgba(0,229,255,0.2);
    background: rgba(20,26,35,0.95);
}

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

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

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    background: var(--bg-surface);
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--text-1);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-2);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: all 0.15s ease;
}

.footer-col a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-2);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-3);
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card.wide {
        grid-column: span 1;
    }
    
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    section { 
        padding: 4rem 1.25rem; 
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-strip {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row { 
        grid-template-columns: 1fr; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
    
    .quote-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .hero-card {
        position: static !important;
        width: auto !important;
        margin-bottom: 1rem;
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .quote-section {
        padding: 1.5rem 1rem;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-card {
        animation: none !important;
    }
}

/* === PRINT STYLES === */
@media print {
    body::before,
    .hero::after,
    .coverage-visual::before,
    .quote-section::before,
    footer::before {
        display: none !important;
    }
    
    .hero-card {
        animation: none !important;
        position: static !important;
    }
}