/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg-dark: #020B14;
    --primary: #00FFFF;
    --primary-dim: rgba(0, 255, 255, 0.2);
    --secondary: #0055FF;
    --text-main: #E0F2FE;
    --text-muted: #8AA4C8;
    --card-bg: rgba(2, 16, 36, 0.7);
    --border-glow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

/* Background Data Stream Animation */
.bg-data-stream {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: 
        linear-gradient(transparent 95%, rgba(0, 85, 255, 0.3) 100%),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 255, 255, 0.05) 41px, rgba(0, 255, 255, 0.05) 42px);
    background-size: 100% 400%, 100% 100%;
    animation: dataStream 10s linear infinite;
    pointer-events: none;
}
@keyframes dataStream {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 400%, 0 0; }
}

a { text-decoration: none; color: var(--primary); transition: 0.3s; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background: rgba(2, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--secondary);
    position: sticky; top: 0; z-index: 100;
}
header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary); text-shadow: var(--border-glow); }
.logo span { color: var(--text-main); }
nav a { margin: 0 15px; color: var(--text-main); font-weight: 500; text-transform: uppercase; letter-spacing: 1px;}
nav a:hover { color: var(--primary); text-shadow: 0 0 8px var(--primary); }

/* Buttons */
.btn-primary, .btn-outline, .btn-hero {
    display: inline-block; padding: 12px 24px; border-radius: 4px;
    font-weight: bold; text-align: center; cursor: pointer; text-transform: uppercase;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: #000; border: none; box-shadow: 0 0 15px var(--secondary);
}
.btn-primary:hover { box-shadow: 0 0 25px var(--primary); transform: scale(1.05); }
.btn-outline {
    background: transparent; color: var(--primary);
    border: 1px solid var(--primary); box-shadow: inset 0 0 10px var(--primary-dim);
}
.btn-outline:hover { background: var(--primary-dim); box-shadow: inset 0 0 20px var(--primary-dim), 0 0 15px var(--primary); }

/* Vertical Marquee Data Dashboard */
.data-dashboard {
    background: rgba(0, 85, 255, 0.1); border-bottom: 1px solid var(--primary-dim);
    height: 30px; overflow: hidden; position: relative;
    font-size: 14px; color: var(--primary); font-family: monospace; text-align: center;
}
.marquee-vertical {
    display: flex; flex-direction: column;
    animation: marqueeVert 8s linear infinite;
}
.marquee-vertical span { height: 30px; line-height: 30px; }
@keyframes marqueeVert {
    0% { transform: translateY(0); }
    100% { transform: translateY(-120px); } /* 4 items * 30px */
}

/* Hero Section */
.hero { padding: 80px 0; }
.hero-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;}
.hero-text { flex: 1; min-width: 300px; padding-right: 40px; }
.hero-visual { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.hero h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2; }
.neon-text { color: var(--primary); text-shadow: 0 0 10px var(--primary), 0 0 20px var(--secondary); }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.sail-anim { transform-origin: 100px 110px; animation: sway 4s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }

/* Sections */
.section { padding: 80px 0; }
.neon-heading { text-align: center; font-size: 32px; margin-bottom: 50px; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px var(--secondary); }

/* Cyber Cards */
.cyber-card {
    background: var(--card-bg); border: 1px solid var(--secondary);
    border-radius: 8px; padding: 30px; box-shadow: inset 0 0 20px rgba(0, 85, 255, 0.2);
    backdrop-filter: blur(5px); transition: 0.3s; position: relative; overflow: hidden;
}
.cyber-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transform: skewX(-20deg); transition: 0.5s;
}
.cyber-card:hover::before { left: 150%; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { text-align: center; }
.card-icon { font-size: 40px; margin-bottom: 20px; text-shadow: var(--border-glow); }
.card h3 { color: var(--primary); margin-bottom: 15px; }

/* 3D Carousel Pricing */
.carousel-container { perspective: 1000px; height: 500px; display: flex; justify-content: center; align-items: center; }
.carousel-3d { width: 320px; height: 450px; position: relative; transform-style: preserve-3d; transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-item {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    transform: rotateY(var(--rotation)) translateZ(350px);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.pricing-card h3 { font-size: 24px; color: var(--primary); margin-bottom: 10px; z-index: 2; }
.price { font-size: 40px; color: var(--text-main); font-weight: bold; margin-bottom: 20px; z-index: 2; text-shadow: 0 0 10px var(--primary); }
.pricing-card ul { z-index: 2; margin-bottom: 30px; width: 100%; }
.pricing-card li { border-bottom: 1px solid rgba(0, 255, 255, 0.1); padding: 10px 0; color: var(--text-muted); }
.pricing-card .btn-primary, .pricing-card .btn-outline { width: 80%; z-index: 2; }
.badge { position: absolute; top: -10px; background: var(--primary); color: #000; padding: 5px 15px; font-weight: bold; border-radius: 2px; box-shadow: 0 0 10px var(--primary); z-index: 3;}

/* Card Wave Animation */
.card-wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100px; z-index: 1; animation: waveMove 6s linear infinite; }
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Horizontal Marquee Reviews */
.marquee-horizontal-wrapper { overflow: hidden; white-space: nowrap; width: 100%; padding: 20px 0;}
.marquee-horizontal { display: inline-flex; animation: marqueeHoriz 20s linear infinite; gap: 30px; }
.review-card { min-width: 300px; white-space: normal; }
@keyframes marqueeHoriz { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.cyber-details {
    background: var(--card-bg); border: 1px solid var(--secondary);
    margin-bottom: 15px; border-radius: 4px; padding: 15px 20px;
    cursor: pointer; transition: 0.3s;
}
.cyber-details:hover { border-color: var(--primary); box-shadow: 0 0 10px var(--primary-dim); }
.cyber-details summary {
    font-size: 18px; color: var(--primary); outline: none; font-weight: bold;
    list-style: none; /* Hide default arrow */
    position: relative;
}
.cyber-details summary::-webkit-details-marker { display: none; }
.cyber-details summary::after {
    content: '+'; position: absolute; right: 0; color: var(--primary);
}
.cyber-details[open] summary::after { content: '-'; }
.cyber-details p { margin-top: 15px; color: var(--text-muted); padding-top: 15px; border-top: 1px dashed var(--secondary); }

/* Footer */
footer { background: #01060a; border-top: 1px solid var(--secondary); padding: 40px 0; text-align: center; }
.footer-links a { color: var(--text-muted); margin: 0 15px; text-transform: uppercase; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.pbn-links a { color: var(--text-muted); text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    header .container { flex-direction: column; height: auto; padding: 15px; }
    nav { margin: 15px 0; }
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-text { padding-right: 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .carousel-container { height: 1200px; align-items: flex-start; }
    .carousel-3d { transform: none !important; width: 100%; height: auto; display: flex; flex-direction: column; gap: 30px; }
    .carousel-item { position: relative; transform: none !important; width: 100%; height: auto; }
}

/* --- A11y & Performance Updates --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
    font-weight: bold;
    text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px dashed var(--primary); outline-offset: 4px; }
section, h1, h2, h3, h4, h5, h6, .article { scroll-margin-top: 80px; }
a[class*="btn-"], button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
@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;
    }
}
