/* Base Reset & Variables */
:root {
    --primary: #39FF14; /* Neon Green */
    --primary-hover: #32E612;
    --accent: #FF073A; /* Speed Red */
    --bg-color: #050505; /* Carbon Black */
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --card-bg: #111216; /* Deep dark for cards */
    --border-color: #2A2A2A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Wind Tunnel Background Elements */
#wind-tunnel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.airflow {
    position: absolute;
    height: 2px;
    right: -300px;
    opacity: 0.8;
    animation: fly linear infinite;
    box-shadow: 0 0 10px currentColor;
}
@keyframes fly {
    from { transform: translateX(300px); }
    to { transform: translateX(-120vw); }
}

a {
    text-decoration: none;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 2px 2px 0 var(--accent), -2px -2px 0 var(--primary);
    letter-spacing: 2px;
}

/* Speed Shapes & Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    transform: skewX(-15deg);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-15deg);
    transition: 0.5s;
}
.btn:hover::before { left: 200%; }

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 7, 58, 0.6);
    transform: skewX(-15deg) scale(1.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 10px rgba(57, 255, 20, 0.2);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.25rem;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* Layout (Unchanged structure) */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.align-center {
    align-items: center;
}

/* Speed Shape Cards (Parallelogram) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--accent);
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: skewX(-5deg);
    position: relative;
    overflow: hidden;
}
.card::after {
    content: ""; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="4" height="4" xmlns="http://www.w3.org/2000/svg"><rect width="4" height="4" fill="none"/><path d="M0 4L4 0" stroke="%23333" stroke-width="1"/></svg>');
    opacity: 0.3; pointer-events: none; z-index: 0;
}
.card > * {
    transform: skewX(5deg);
    position: relative; z-index: 1;
}
.card:hover {
    transform: skewX(-5deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(57, 255, 20, 0.15);
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-shadow: 2px 2px 0 var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}
.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.main-nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Hero Section */
.hero {
    padding: 150px 0;
    background: radial-gradient(circle at center, rgba(17,17,17,0.8) 0%, rgba(5,5,5,0.9) 100%);
    overflow: visible;
}
.hero-car {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 4px 0px 0px rgba(255,7,58,0.8), -4px 0px 0px rgba(57,255,20,0.8);
    letter-spacing: 2px;
    animation: speedBlur 2s infinite alternate;
}
@keyframes speedBlur {
    0% { text-shadow: 4px 0px 0px rgba(255,7,58,0.8), -4px 0px 0px rgba(57,255,20,0.8); transform: skewX(-10deg); }
    100% { text-shadow: 8px 0px 10px rgba(255,7,58,0.9), -8px 0px 10px rgba(57,255,20,0.9); transform: skewX(-12deg); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 40px;
    font-style: italic;
    background: rgba(0,0,0,0.8);
    padding: 15px 25px;
    border-left: 5px solid var(--primary);
    box-shadow: 5px 5px 0 rgba(255,7,58,0.3);
}

/* Features */
.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary);
    display: inline-block;
}

/* Streaming & AI - Ticker Board */
.support-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-style: italic;
}
.visual-content {
    background: #000;
    border: 2px solid #222;
    border-radius: 10px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(255, 7, 58, 0.2);
}
.visual-content::before {
    content: 'SPEED RPM x1000';
    position: absolute;
    top: 10px; left: 20px;
    color: var(--accent);
    font-weight: 900; font-style: italic;
    font-size: 0.9rem;
    text-shadow: 0 0 10px var(--accent);
}
.tags-cloud {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    animation: dashboardTicker 5s linear infinite;
    width: max-content;
}
.tag {
    background: #111;
    color: var(--primary);
    padding: 10px 30px;
    border: 1px solid var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
    font-style: italic;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
    transform: skewX(-15deg);
}
@keyframes dashboardTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Requires duplicating tags for seamless but works stylistically */
}

/* Pricing 3D Carousel (Overriding Grid-3) */
.grid-3.pricing-grid {
    display: flex; /* Overriding grid purely for CSS 3D Carousel */
    perspective: 1200px;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.pricing-card {
    width: 350px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.grid-3.pricing-grid .pricing-card:nth-child(1) {
    transform: skewX(-5deg) rotateY(25deg) translateZ(-100px) translateX(60px);
    opacity: 0.8;
    z-index: 1;
}
.grid-3.pricing-grid .pricing-card:nth-child(2) {
    transform: skewX(-5deg) translateZ(50px);
    z-index: 3;
    border-color: var(--primary);
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.2);
    background: linear-gradient(145deg, #1a1a24, #0d0d12);
}
.grid-3.pricing-grid .pricing-card:nth-child(3) {
    transform: skewX(-5deg) rotateY(-25deg) translateZ(-100px) translateX(-60px);
    opacity: 0.8;
    z-index: 1;
}
.grid-3.pricing-grid .pricing-card:hover {
    opacity: 1;
    transform: skewX(-5deg) translateZ(100px);
    z-index: 10;
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.5);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 8px 25px;
    font-size: 1rem;
    font-weight: 900;
    font-style: italic;
    transform: skewX(15deg) translateX(10px) translateY(-5px);
    box-shadow: 0 0 15px var(--accent);
    text-transform: uppercase;
}
.price {
    font-size: 4rem;
    font-weight: 900;
    margin: 20px 0;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    font-style: italic;
}
.price span {
    font-size: 1.5rem;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-main);
    padding-left: 24px;
    position: relative;
    font-weight: 600;
}
.pricing-features li::before {
    content: "►";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 5px var(--accent);
}

/* Testimonials & FAQ */
.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.review-author {
    font-weight: 900;
    color: var(--primary);
    text-align: right;
    text-transform: uppercase;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.faq-item {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    padding: 24px;
    transform: skewX(-5deg);
    transition: 0.3s;
}
.faq-item:hover {
    background: #111;
    border-left: 4px solid var(--accent);
    box-shadow: 0 0 15px rgba(255,7,58,0.2);
}
.faq-item h4 {
    margin-bottom: 10px;
    color: var(--primary);
}
.faq-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #000;
    color: #555;
    padding: 40px 0;
    border-top: 2px solid #222;
    position: relative;
    z-index: 2;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: #888;
    margin: 0 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}
.copyright {
    font-size: 0.875rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-3.pricing-grid {
        flex-direction: column;
        gap: 40px;
    }
    .grid-3.pricing-grid .pricing-card {
        width: 100%;
        transform: skewX(-5deg) !important;
    }
    .hero-car { display: none; }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 100px 0 80px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .btn {
        padding: 16px 24px; 
    }
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

/* Phase 2 A11y & SEO Enhancements */
html {
    scroll-padding-top: 100px;
}
section, [id] {
    scroll-margin-top: 100px;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 8px;
    z-index: 10000;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}
.btn {
    min-height: 44px; /* Ensure touch target */
}
details.faq-item {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}
details.faq-item summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
    list-style: none; /* Hide default arrow in some browsers */
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item[open] summary {
    margin-bottom: 10px;
}
details.faq-item p {
    color: #ccc;
    line-height: 1.6;
    margin-top: 8px;
}
