:root {
    --bg-dark: #0a0503;
    --bg-card: #14100c;
    --bg-elevated: #1c1410;
    --accent: #e11d2e;
    --accent-hover: #ff2d3f;
    --accent-soft: rgba(225, 29, 46, 0.14);
    --gold: #c9a227;
    --gold-soft: rgba(201, 162, 39, 0.2);
    --text-light: #faf6f0;
    --text-muted: #b8a090;
    --border: rgba(255, 120, 60, 0.16);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 16px;
    --radius-lg: 24px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Roboto', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background: var(--bg-dark);
    line-height: 1.65;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(225, 29, 46, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 162, 39, 0.08), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 5, 3, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-main a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff !important;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-light);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 5, 3, 0.94) 42%, rgba(10, 5, 3, 0.55) 68%, rgba(10, 5, 3, 0.25) 100%),
        url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?w=1600&q=80') center/cover no-repeat;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-soft);
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 32px rgba(225, 29, 46, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-stats div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold);
}

.hero-stats div span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid var(--gold-soft);
    border-radius: calc(var(--radius-lg) + 8px);
    z-index: -1;
}

/* Trust strip */
.trust-strip {
    padding: 2rem 0;
    background: var(--bg-card);
    border-block: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-item i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.trust-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 5.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Categories */
.categories {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card));
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid var(--border);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 5, 3, 0.92) 20%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.category-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(28px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(225, 29, 46, 0.12);
    border-color: rgba(225, 29, 46, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.feature-icon i {
    font-size: 1.4rem;
    color: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Quality band */
.quality-band {
    background: var(--bg-card);
    border-block: 1px solid var(--border);
}

.quality-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quality-list {
    list-style: none;
    margin-top: 1.5rem;
}

.quality-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.quality-list i {
    color: var(--gold);
    margin-top: 0.2rem;
}

/* Download */
.download {
    text-align: center;
    background: linear-gradient(135deg, #1a0f0a, var(--bg-dark));
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.download-buttons img {
    height: 52px;
    transition: transform 0.3s ease;
}

.download-buttons a:hover img {
    transform: scale(1.06) translateY(-4px);
}

/* Footer */
.site-footer {
    background: #060302;
    border-top: 1px solid var(--border);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 44px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col a,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.2rem;
    width: 18px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Legal pages */
.page-hero {
    padding: 8rem 0 3rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--text-muted);
}

.legal-content {
    padding: 3rem 0 5rem;
}

.legal-content .container {
    max-width: 820px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
    color: var(--gold);
}

.legal-content h3 {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.legal-content ul {
    margin: 0 0 1rem 1.25rem;
}

.legal-content .updated {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-grid,
    .quality-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .category-grid,
    .trust-grid,
    .feature-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-main {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 5, 3, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .nav-main.open {
        transform: translateY(0);
        opacity: 1;
    }

    .category-grid,
    .trust-grid,
    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}