/* ===========================
   RadarDE — Design System
   ========================= */

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

/* --- CSS Variables --- */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #d63851;
    --accent-glow: rgba(233, 69, 96, 0.3);
    --secondary: #0f3460;
    --gold: #f5c518;
    --bg: #0a0a14;
    --bg-card: #12121e;
    --bg-section: #0e0e1a;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --text-heading: #ffffff;
    --border: rgba(255,255,255,0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 30px rgba(233,69,96,0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
}

/* --- Marquee Bar --- */
.marquee-bar {
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 40s linear infinite;
}

.marquee-track span {
    padding: 0 40px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-heading);
}

.logo svg { color: var(--accent); }

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-heading);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 50%, var(--secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: hero-glow 6s ease-in-out infinite;
}

@keyframes hero-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-trust .stars { color: var(--gold); font-size: 16px; }

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

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 480px;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: calc(var(--radius) + 10px);
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    z-index: -1;
    filter: blur(30px);
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 60px 0;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Section Titles --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge {
    display: inline-block;
    background: rgba(233, 69, 96, 0.12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(233,69,96,0.2);
}

.product-card .card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
}

.product-card .card-img {
    height: 220px;
    overflow: hidden;
    background: var(--primary-light);
}

.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 24px;
}

.product-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.product-card .card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
}

.product-card .card-price small {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.product-card .btn-card {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.product-card .btn-card:hover {
    background: var(--accent-hover);
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(233,69,96,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(233,69,96,0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.testimonial-info .name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-heading);
}

.testimonial-info .role {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- CTA Banner --- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    position: relative;
}

.cta-section .btn { position: relative; }

/* --- Footer --- */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

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

.footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover { color: var(--accent); }

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 13px;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 13px;
}
.footer-legal a:hover { color: var(--accent); }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-inner p {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
}

.cookie-inner p a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* --- About Page --- */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-muted);
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section .prose {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.legal-content .last-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 36px 0 12px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 { font-size: 40px; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .btn-nav { display: none; }
    .burger { display: flex; }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
    }

    .hero-text h1 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .page-hero h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}
