/* ===============================================
   CallShield Website — Futuristic Dark Neon Theme
   Matching the app's Jetpack Compose design system
   =============================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Neon Palette (from Theme.kt) */
    --neon-cyan: #00FBFF;
    --neon-purple: #9D00FF;
    --neon-blue: #009DFF;
    --neon-pink: #C11BC5;
    --neon-green: #00FF9D;
    --neon-orange: #FF9D00;
    --neon-yellow: #FFD600;
    --neon-red: #FF2A2A;

    /* Backgrounds */
    --dark-bg: #0A0A0A;
    --dark-surface: #1E1E1E;
    --dark-card: #1A1A1A;
    --dark-red: #440000;

    /* Typography */
    --font-primary: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --card-radius: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-cyan { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }
.text-pink { color: var(--neon-pink); }
.text-green { color: var(--neon-green); }
.text-yellow { color: var(--neon-yellow); }
.text-muted { color: rgba(255, 255, 255, 0.5); }

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 12px;
    border: 1px solid rgba(0, 251, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 251, 255, 0.06);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(0, 251, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-brand span {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
}

.nav-brand .brand-highlight {
    color: var(--neon-cyan);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--neon-cyan);
    color: var(--dark-bg) !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    color: var(--dark-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 251, 255, 0.3);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 251, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(102, 0, 0, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #000 0%, #440000 50%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 50px,
        rgba(0, 251, 255, 0.015) 50px,
        rgba(0, 251, 255, 0.015) 51px
    );
    animation: gridScroll 20s linear infinite;
    pointer-events: none;
}

@keyframes gridScroll {
    from { transform: translateY(0); }
    to { transform: translateY(51px); }
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-content .hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 .title-thin {
    font-weight: 300;
    color: var(--neon-cyan);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--neon-cyan);
    color: var(--dark-bg);
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 251, 255, 0.35);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 251, 255, 0.05);
    color: var(--neon-cyan);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 480px;
    border-radius: 24px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    padding: 40px 0;
    background: var(--dark-surface);
    border-top: 1px solid rgba(0, 251, 255, 0.08);
    border-bottom: 1px solid rgba(0, 251, 255, 0.08);
}

.stats-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

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

.stat-item .stat-value {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-cyan);
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ---------- About Section ---------- */
.about {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 80% 20%, rgba(157, 0, 255, 0.06) 0%, transparent 50%),
        var(--dark-bg);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 400px;
    border-radius: 20px;
    border: 1px solid rgba(0, 251, 255, 0.1);
    box-shadow: 0 0 60px rgba(0, 251, 255, 0.06);
}

.about-content {
    flex: 1;
}

.about-content p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.85;
}

/* ---------- Benefits ---------- */
.benefits {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 20% 80%, rgba(102, 0, 0, 0.2) 0%, transparent 50%),
        var(--dark-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 251, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ---------- Features ---------- */
.features {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 60% 40%, rgba(0, 251, 255, 0.04) 0%, transparent 50%),
        var(--dark-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    border: 1px solid;
}

.feature-card .feature-icon.cyan   { background: rgba(0,251,255,0.1); border-color: rgba(0,251,255,0.3); }
.feature-card .feature-icon.purple { background: rgba(157,0,255,0.1); border-color: rgba(157,0,255,0.3); }
.feature-card .feature-icon.yellow { background: rgba(255,214,0,0.1); border-color: rgba(255,214,0,0.3); }
.feature-card .feature-icon.green  { background: rgba(0,255,157,0.1); border-color: rgba(0,255,157,0.3); }
.feature-card .feature-icon.orange { background: rgba(255,157,0,0.1); border-color: rgba(255,157,0,0.3); }
.feature-card .feature-icon.blue   { background: rgba(0,157,255,0.1); border-color: rgba(0,157,255,0.3); }

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.feature-card .pro-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    background: rgba(0, 251, 255, 0.1);
    border: 1px solid rgba(0, 251, 255, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 12px;
}

/* ---------- Requirements ---------- */
.requirements {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 30% 70%, rgba(0, 255, 157, 0.04) 0%, transparent 50%),
        var(--dark-bg);
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.req-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: border-color 0.3s ease;
}

.req-card:hover {
    border-color: rgba(0, 251, 255, 0.15);
}

.req-card .req-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.req-card h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.req-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 251, 255, 0.08) 0%, rgba(102, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.9) 100%);
    border-top: 1px solid rgba(0, 251, 255, 0.1);
    border-bottom: 1px solid rgba(0, 251, 255, 0.1);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 320px;
}

.footer h4 {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* ---------- Page Header (for sub-pages) ---------- */
.page-header {
    padding: 140px 0 60px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(0, 251, 255, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #000 0%, #330000 50%, var(--dark-bg) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0, 251, 255, 0.08);
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Content Page ---------- */
.content-page {
    padding: 60px 0 100px;
    background: var(--dark-bg);
}

.content-page .content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-page h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--neon-cyan);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 251, 255, 0.1);
}

.content-page h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.content-page p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.content-page ul, .content-page ol {
    margin: 12px 0 20px 24px;
    color: rgba(255, 255, 255, 0.6);
}

.content-page li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.content-page strong {
    color: rgba(255, 255, 255, 0.85);
}

.content-page .info-box {
    background: rgba(0, 251, 255, 0.04);
    border: 1px solid rgba(0, 251, 255, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.content-page .info-box.warning {
    background: rgba(255, 214, 0, 0.04);
    border-color: rgba(255, 214, 0, 0.15);
}

.content-page .info-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.content-page .last-updated {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 48px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Blocking rules step cards */
.step-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 24px;
    margin: 20px 0;
    transition: border-color 0.3s ease;
}

.step-card:hover {
    border-color: rgba(0, 251, 255, 0.15);
}

.step-card .step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: rgba(0, 251, 255, 0.15);
    color: var(--neon-cyan);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.step-card h3 {
    margin-top: 0;
}

.content-page .banner-img {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin: 24px 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-buttons { justify-content: center; }
    .hero-image img { max-width: 360px; }

    .about .container { flex-direction: column; }
    .about-image { order: -1; }

    .benefits-grid,
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
    :root { --section-padding: 60px 0; }

    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 18px;
        border-bottom: 1px solid rgba(0, 251, 255, 0.1);
    }
    .nav-toggle { display: flex; }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }

    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 0.95rem; }

    .benefits-grid,
    .features-grid,
    .req-grid { grid-template-columns: 1fr; }

    .stats-bar .container { flex-direction: column; gap: 20px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .page-header { padding: 120px 0 40px; }
    .page-header h1 { font-size: 2rem; }

    .cta-section h2 { font-size: 1.6rem; }
}
