/* style.css */

:root {
    --primary-color: #0033CC;
    --primary-hover: #0044FF;
    --alert-red: #FF0033;
    --bg-color: #0A0A0A;
    --text-color: #E0E0E0;
    --text-muted: #888888;
    --card-bg: #111111;
    --border-color: #333333;
    --font-military: Impact, 'Arial Black', sans-serif;
    --font-tech: ui-monospace, SFMono-Regular, Consolas, 'Courier New', monospace;
}

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

body {
    font-family: var(--font-military);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 1.2rem;
    letter-spacing: 1px;
    overflow-x: hidden;
    position: relative;
}

/* Cave Background with Holographic Glow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(0, 51, 204, 0.05) 0%, rgba(10, 10, 10, 1) 70%),
                url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(0,51,204,0.03)" stroke-width="1"/></svg>');
    z-index: -2;
    pointer-events: none;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 0.5em;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
}

h1 {
    font-size: 4rem;
    text-shadow: 0 0 10px rgba(0, 51, 204, 0.8);
    line-height: 1.1;
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 2px;
}
.section-title-wrap {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 2px; /* Tactical blocky shape */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-military);
    font-size: 1.5rem;
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0,51,204,0.4);
    letter-spacing: 1px;
}

.btn-primary {
    background-color: rgba(0, 51, 204, 0.2);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.8rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 51, 204, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    font-family: var(--font-military);
}

nav a {
    color: var(--text-color);
    margin: 0 15px;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: var(--font-tech);
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    background-color: var(--alert-red);
    color: white;
    font-family: var(--font-tech);
    overflow: hidden;
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #ff4444;
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 15s linear infinite;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
}
@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: transparent;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text {
    flex: 1.2;
}
.hero-text p {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #a0a0a0;
}
.hero-svg {
    flex: 0.8;
    text-align: right;
    position: relative;
}
.water-reflection {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0,51,204,0.4), transparent);
    border-radius: 50%;
    filter: blur(10px);
    transform: scaleY(0.5);
    animation: water-ripple 4s infinite alternate;
}
@keyframes water-ripple {
    0% { opacity: 0.4; transform: scaleY(0.5) scaleX(1); }
    100% { opacity: 1; transform: scaleY(0.5) scaleX(1.1); }
}

/* SVG Animations */
.blinking-text {
    animation: blink 1s infinite;
}
.blinking-text-2 {
    animation: blink 2.5s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Sections Base */
section {
    padding: 80px 0;
}

/* Layout Grids (Fallbacks) */
.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 */
.card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Tactical shape */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0,51,204,0.3);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}
.card h3 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}
.card p {
    font-family: var(--font-tech);
    font-size: 1rem;
}

/* Tactical Briefcase Pricing Cards */
.price-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border: 2px solid var(--border-color);
    border-top: 6px solid var(--primary-color);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px #000, 0 5px 15px rgba(0,0,0,0.8);
    transition: transform 0.5s, box-shadow 0.3s, opacity 0.5s;
    transform-style: preserve-3d;
}
/* Fingerprint scanner effect */
.price-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--alert-red);
    box-shadow: 0 0 15px 4px rgba(255, 0, 51, 0.6);
    animation: scan 4s infinite linear;
    pointer-events: none;
}
@keyframes scan {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

.price-card.popular {
    border-top-color: var(--alert-red);
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--alert-red);
    color: white;
    padding: 2px 16px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.price {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
    font-family: var(--font-military);
}

.price span {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    font-family: var(--font-tech);
    font-size: 1.1rem;
}

.price-card li {
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
    color: #ccc;
}

.price-card li::before {
    content: ">";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 3D Carousel Setup (Injected via JS for desktop) */
.pricing .container {
    perspective: 1500px;
}
.carousel-mode {
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    position: relative;
    height: 600px;
}
.carousel-mode .price-card {
    position: absolute;
    width: 320px;
    left: calc(50% - 160px);
}

/* Testimonials Marquee */
.testimonials .container {
    overflow: hidden;
}
.testimonials .grid-3 {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: marquee-review 15s linear infinite;
}
.testimonials .grid-3:hover {
    animation-play-state: paused;
}
.review-card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    font-family: var(--font-tech);
    width: 400px;
    margin: 0;
    font-style: italic;
}
.review-card h4 {
    margin-top: 20px;
    font-style: normal;
    color: var(--primary-color);
    font-size: 1rem;
    font-family: var(--font-tech);
    text-transform: none;
}
@keyframes marquee-review {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--alert-red);
    margin-bottom: 15px;
    font-family: var(--font-tech);
    transition: transform 0.2s;
}
.faq-item:hover {
    transform: translateX(10px);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    outline: none;

    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-military);
    text-transform: none;
    letter-spacing: 1px;
}
.faq-item p {
    font-size: 1rem;
    color: #aaa;
}

/* Footer */
footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    font-family: var(--font-tech);
}
.footer-links {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.footer-links a {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
}
.footer-links a:hover {
    color: var(--alert-red);
    text-shadow: 0 0 5px var(--alert-red);
}

.copyright {
    color: #444;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Simple Pages (About, Terms, etc.) */
.page-content {
    max-width: 800px;
    margin: 60px auto;
    background: var(--card-bg);
    padding: 50px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0,51,204,0.1);
    border-radius: 4px;
}
.page-content h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}
.page-content h2 {
    font-size: 2rem;
    text-align: left;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: none;
    color: var(--alert-red);
}
.page-content p {
    margin-bottom: 15px;
    color: #ccc;
    font-family: var(--font-tech);
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #ccc;
    font-family: var(--font-tech);
}
.page-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container { flex-direction: column; }
    .hero-svg { margin-top: 40px; text-align: center; }
    h1 { font-size: 2.5rem; }
    
    header nav { display: none; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .carousel-mode { height: auto; display: block; }
    .carousel-mode .price-card { position: relative; width: 100%; left: 0; margin-bottom: 20px; transform: none !important; }
    
    .testimonials .grid-3 { animation: none; flex-direction: column; width: 100%; }
    .review-card { width: 100%; margin-bottom: 20px; }
}

/* Accessibility */
:focus-visible {
    outline: 3px dashed var(--primary-color);
    outline-offset: 4px;
}
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--alert-red);
    color: white;
    padding: 12px;
    z-index: 10000;
    transition: top 0.2s;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

@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;
    }
}
