/* Web3 / SaaS SpaceX Aerospace Theme */
:root {
    --primary-color: #FF4500;
    --primary-hover: #ff5722;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --bg-color: #0b0e14;
    --bg-light: transparent;
    --border-color: #1e293b;
    --glow: 0 0 15px rgba(255, 69, 0, 0.6);
}

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

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

/* Background Effects */
.launch-tower {
    position: fixed;
    bottom: 0;
    left: 5%;
    width: 120px;
    height: 80vh;
    background: repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(30, 41, 59, 0.8) 38px, rgba(30, 41, 59, 0.8) 42px), 
                repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(30, 41, 59, 0.8) 38px, rgba(30, 41, 59, 0.8) 42px);
    border: 4px solid rgba(15, 23, 42, 0.8);
    z-index: -2;
    opacity: 0.3;
}
.launch-tower::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -100px;
    width: 100px;
    height: 15px;
    background: rgba(30, 41, 59, 0.8);
    transform: rotate(-15deg);
}

.smoke-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: -1;
    pointer-events: none;
}
.smoke {
    position: absolute;
    bottom: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(30px);
    animation: billow 8s infinite alternate ease-in-out;
}
.smoke-1 { left: 10%; animation-delay: 0s; }
.smoke-2 { left: 40%; width: 500px; height: 500px; animation-delay: -2s; }
.smoke-3 { left: 70%; animation-delay: -4s; }

@keyframes billow {
    0% { transform: scale(1) translateY(0) rotate(0deg); opacity: 0.5; }
    100% { transform: scale(1.5) translateY(-50px) rotate(10deg); opacity: 0.8; }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.text-center { text-align: center; }
.bg-light { 
    background-color: transparent; 
    border-top: 1px dashed rgba(30, 41, 59, 0.3); 
    border-bottom: 1px dashed rgba(30, 41, 59, 0.3); 
}

/* Typography */
h1 { font-size: 3.2rem; margin-bottom: 1.5rem; color: #ffffff; text-transform: uppercase; letter-spacing: 2px; font-weight: 800;}
h2 { font-size: 1.8rem; margin-bottom: 2.5rem; color: #ffffff; text-transform: uppercase; letter-spacing: 3px; font-family: monospace; }
h3 { font-size: 1.2rem; margin-bottom: 1rem; color: #e2e8f0; font-family: monospace; text-transform: uppercase;}
p { margin-bottom: 1rem; }
.page-title { margin-top: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }

.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #FF4500, #ff6b00);
    color: white;
    padding: 12px 28px;
    border-radius: 2px;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border: 1px solid transparent;
    box-shadow: var(--glow);
    text-transform: uppercase;
}
.btn:hover { 
    background: #ffffff; 
    color: #FF4500; 
    border-color: #FF4500; 
    box-shadow: 0 0 30px rgba(255, 69, 0, 1);
}
.btn-lg { padding: 18px 45px; font-size: 1.3rem; }
.btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center;  padding: 8px 20px; font-size: 0.95rem; }
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--glow);
}

/* Header */
.header {
    padding: 20px 0;
    background: rgba(11, 14, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.5rem; font-weight: bold; color: #ffffff; letter-spacing: 1px; font-family: monospace; }
.nav-menu {
    display: flex;
    gap: 25px;
}
.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    font-family: monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s, text-shadow 0.3s;
}
.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow);
}

/* Hero Section with SVG Rocket */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}
.hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 0 0 40px;
}
.hero-note { margin-top: 20px; font-size: 0.85rem; color: #64748b; font-family: monospace; }

/* SVG Rocket Styling */
.rocket-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 450px;
    animation: vibrate 0.1s linear infinite;
}
.rocket {
    width: 150px;
    height: auto;
    z-index: 2;
}
.flame-container {
    position: relative;
    width: 60px;
    height: 150px;
    margin-top: -20px;
    z-index: 1;
}
.flame {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 150px;
    background: linear-gradient(to bottom, #ffffff, #FF4500, transparent);
    border-radius: 50% 50% 20% 20%;
    filter: blur(8px);
    animation: burn 0.05s infinite alternate;
}
.flame-core {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100px;
    background: #ffffff;
    border-radius: 50% 50% 20% 20%;
    filter: blur(2px);
    animation: burn-core 0.05s infinite alternate;
}
@keyframes burn {
    0% { height: 140px; opacity: 0.8; transform: translateX(-50%) scaleX(1); }
    100% { height: 160px; opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}
@keyframes burn-core {
    0% { height: 90px; }
    100% { height: 110px; }
}
@keyframes vibrate {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, -2px); }
    100% { transform: translate(2px, 2px); }
}

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

/* Cards (Console Panel Style) */
.card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 4px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5), 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: rgba(30, 41, 59, 0.5);
    transition: background 0.3s;
}
.card:hover::before {
    background: var(--primary-color);
    box-shadow: var(--glow);
}
.card:hover { 
    transform: translateY(-5px); 
    border-color: #475569; 
    box-shadow: inset 0 0 20px rgba(255, 69, 0, 0.05), 0 10px 25px rgba(0,0,0,0.5);
}

/* Sections Common */
section { padding: 90px 0; position: relative; z-index: 2; }
.page-content { max-width: 800px; padding: 60px 20px; margin: 0 auto; }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: #ffffff; }
.page-content ul { list-style-type: square; margin-left: 20px; margin-bottom: 1rem; color: var(--text-light); }
.page-content p { color: var(--text-light); line-height: 1.8; }

/* Features */
.feature-card .icon { font-size: 3rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.feature-card p { color: var(--text-light); font-size: 0.95rem;}
.data-readout {
    margin-top: 20px;
    font-family: monospace;
    font-size: 1.5rem;
    color: #10b981; 
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    display: inline-block;
}
.text-green { color: #10b981; text-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.unit { color: #64748b; font-family: monospace; }

/* Streaming & AI */
.section-desc { color: var(--text-light); font-size: 1.1rem; margin-bottom: 40px; font-family: monospace; text-transform: uppercase;}
.support-card { text-align: left; }
.support-card h3 { color: var(--primary-color); }

/* Pricing - 3D Control Console */
.pricing {
    perspective: 1200px;
}
.pricing-card { 
    transform: rotateX(8deg);
    background: rgba(11, 14, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-top: 4px solid #334155;
    transform-origin: bottom;
}
.pricing-card:hover {
    transform: rotateX(0deg) scale(1.02);
}
.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.15), inset 0 0 20px rgba(255, 69, 0, 0.05);
    transform: rotateX(8deg) scale(1.05);
    z-index: 2;
}
.pricing-card.popular:hover { transform: rotateX(0deg) scale(1.08) translateY(-5px); }
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: var(--glow);
}
.price { font-size: 3rem; font-weight: bold; margin-bottom: 20px; color: #ffffff; font-family: monospace;}
.price span { font-size: 1rem; color: var(--text-light); font-weight: normal; }
.plan-features { margin-bottom: 30px; text-align: left; }
.plan-features li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(30, 41, 59, 0.6);
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: #cbd5e1;
}
.plan-features li::before {
    content: ">>";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-family: monospace;
    font-weight: bold;
}
.plan-features li:last-child { border-bottom: none; }
.pricing-card .btn { width: 100%; }

/* Testimonials Marquee */
.testimonials { overflow: hidden; padding-bottom: 50px; }
.marquee-grid { width: 100%; }
.stars { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px;}
.review-card p { font-style: normal; color: #94a3b8; font-family: monospace; }
.reviewer { margin-top: 15px; font-weight: bold; font-size: 0.85rem; color: #10b981; font-family: monospace;}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { 
    margin-bottom: 20px; 
    border: 1px solid rgba(30, 41, 59, 0.5); 
    padding: 20px; 
    background: rgba(15, 23, 42, 0.4); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
}
.faq-item h4 { font-size: 1.1rem; margin-bottom: 10px; color: #e2e8f0; font-family: monospace;}
.faq-item p { color: var(--text-light); margin: 0; }

/* Footer */
.footer {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #475569;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
}
.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-links a { 
    transition: color 0.3s; 
    font-family: monospace; 
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.footer-links a:hover { color: var(--primary-color); text-shadow: var(--glow);}
.copyright { font-size: 0.85rem; font-family: monospace;}

/* Responsive Media Queries */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 80px 0 60px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 50px; }
    .rocket-wrapper { height: 300px; }
    .rocket { width: 100px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card, .pricing-card.popular { transform: none !important; }
    .footer-links { flex-direction: column; gap: 15px; text-align: center; }
    .btn { padding: 14px 28px; width: 100%; text-align: center; display: block; box-sizing: border-box;}
    .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center;  width: auto; padding: 10px 20px; display: inline-block; }
    .header-inner { flex-wrap: wrap; }
    .nav-menu { order: 3; width: 100%; margin-top: 15px; justify-content: center; flex-wrap: wrap; gap: 15px; font-size: 0.85rem; }
}


/* SEO & A11y Updates */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

h2, h3, section, main {
    scroll-margin-top: 80px;
}

details.faq-item {
    cursor: pointer;
}
details.faq-item summary {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e2e8f0;
    font-family: monospace;
    font-weight: bold;
}
details.faq-item summary::-webkit-details-marker {
    color: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
