:root {
    --bg: #070912;
    --bg-soft: #101421;
    --bg-panel: #151a2b;
    --text: #f6f8ff;
    --muted: #aab3c7;
    --neon: #28f5d0;
    --neon-alt: #ff3df2;
    --accent: #f7c948;
    --border: rgba(255, 255, 255, 0.11);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 8%, rgba(40, 245, 208, 0.14), transparent 28rem),
        radial-gradient(circle at 84% 18%, rgba(255, 61, 242, 0.11), transparent 26rem),
        linear-gradient(180deg, #070912 0%, #090d18 42%, #080a12 100%);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

img {
    max-width: 100%;
}

.site-navbar {
    padding: 1rem 0;
    background: rgba(7, 9, 18, 0.28);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
    transition: background 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

.site-navbar.scrolled {
    padding: 0.65rem 0;
    background: rgba(7, 9, 18, 0.92);
    border-color: var(--border);
}

.navbar-brand,
.footer-brand {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--text);
}

.navbar-brand span,
.footer-brand span {
    color: var(--neon);
    text-shadow: 0 0 22px rgba(40, 245, 208, 0.8);
}

.site-navbar .nav-link {
    color: rgba(246, 248, 255, 0.78);
    font-weight: 700;
    margin-left: 0.75rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--neon);
}

.nav-cta {
    border: 1px solid rgba(40, 245, 208, 0.5);
    border-radius: 999px;
    padding-inline: 1rem !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
}

.home-hero {
    background: linear-gradient(90deg, rgba(7, 9, 18, 0.95), rgba(7, 9, 18, 0.72) 48%, rgba(7, 9, 18, 0.36)), url("../img/hero.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 18, 0.25), rgba(7, 9, 18, 0.92)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px);
    pointer-events: none;
}

.hero-section h1,
.page-hero h1 {
    max-width: 850px;
    font-size: clamp(2.6rem, 5vw, 5.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
}

.hero-copy,
.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.1rem;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--neon);
    box-shadow: 0 0 18px rgba(40, 245, 208, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 0.8rem 1.35rem;
}

.btn-sm {
    padding: 0.52rem 0.9rem;
}

.btn-neon {
    color: #03100e;
    border: 1px solid var(--neon);
    background: var(--neon);
    box-shadow: 0 0 26px rgba(40, 245, 208, 0.38);
}

.btn-neon:hover {
    color: #020807;
    background: #7dfce5;
    border-color: #7dfce5;
    transform: translateY(-2px);
}

.btn-outline-neon {
    color: var(--text);
    border: 1px solid rgba(40, 245, 208, 0.52);
    background: rgba(40, 245, 208, 0.05);
}

.btn-outline-neon:hover {
    color: #06100f;
    background: var(--neon);
    border-color: var(--neon);
    transform: translateY(-2px);
}

.section-padding {
    padding: 6rem 0;
}

.section-heading {
    max-width: 740px;
    margin: 0 auto 3rem;
}

.section-heading h2,
.about-section h2,
.why-section h2,
.form-panel h2,
.contact-panel h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.about-section p,
.why-section p,
.service-card p,
.why-item p,
.testimonial-card p,
.site-footer p,
.article-card p,
.policy-content p,
.contact-note p {
    color: var(--muted);
}

.feature-image {
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.text-link {
    color: var(--neon);
    font-weight: 800;
    border-bottom: 1px solid rgba(40, 245, 208, 0.5);
}

.text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.services-section,
.testimonials-section {
    background: rgba(255, 255, 255, 0.02);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card,
.why-item,
.article-card,
.form-panel,
.contact-panel,
.policy-content,
.testimonial-card {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(21, 26, 43, 0.94), rgba(10, 13, 24, 0.94));
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.service-card {
    min-height: 100%;
    padding: 1.6rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.article-card:hover,
.why-item:hover {
    transform: translateY(-6px);
    border-color: rgba(40, 245, 208, 0.58);
    box-shadow: 0 24px 80px rgba(40, 245, 208, 0.12);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #07100f;
    background: var(--neon);
    border-radius: 8px;
    font-weight: 900;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 22px rgba(40, 245, 208, 0.45);
}

.service-card h3,
.why-item h3,
.testimonial-card h3,
.contact-item span {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.why-item {
    padding: 1.45rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-item span {
    display: inline-block;
    color: var(--neon-alt);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.stats-band {
    padding: 4rem 0;
    background:
        linear-gradient(90deg, rgba(40, 245, 208, 0.16), rgba(255, 61, 242, 0.11)),
        #0d1220;
    border-block: 1px solid rgba(255, 255, 255, 0.09);
}

.stat-item {
    padding: 1rem;
}

.stat-item span {
    display: block;
    color: var(--neon);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 0 22px rgba(40, 245, 208, 0.55);
}

.stat-item p {
    margin: 0.75rem 0 0;
    color: var(--text);
    font-weight: 800;
}

.testimonial-carousel {
    max-width: 850px;
    margin-inline: auto;
}

.testimonial-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.testimonial-card p {
    font-size: 1.25rem;
}

.testimonial-card span {
    color: var(--neon);
}

.page-hero {
    padding: 10rem 0 5.5rem;
    background:
        linear-gradient(135deg, rgba(7, 9, 18, 0.95), rgba(12, 16, 31, 0.9)),
        linear-gradient(90deg, rgba(40, 245, 208, 0.14), rgba(255, 61, 242, 0.09));
    border-bottom: 1px solid var(--border);
}

.article-card {
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-card .card-body {
    padding: 1.45rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #07100f;
    background: var(--neon);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.tag.medium {
    background: var(--accent);
}

.tag.hard {
    color: var(--text);
    background: var(--neon-alt);
}

.tag.easy {
    background: var(--neon);
}

.article-card h2 {
    font-size: 1.28rem;
    line-height: 1.28;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.article-card .btn {
    margin-top: 0.5rem;
}

.card-meta {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.form-panel,
.contact-panel,
.policy-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    color: var(--text);
    font-weight: 800;
}

.form-control {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.form-control:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--neon);
    box-shadow: 0 0 0 0.25rem rgba(40, 245, 208, 0.16);
}

.form-status {
    display: none;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(40, 245, 208, 0.38);
    border-radius: 8px;
    color: var(--neon);
    background: rgba(40, 245, 208, 0.08);
    font-weight: 800;
}

.form-status.show {
    display: block;
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-item span {
    display: block;
    color: var(--neon);
}

.contact-item a:hover {
    color: var(--neon);
}

.contact-item p {
    margin: 0;
    color: var(--text);
}

.contact-note {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.policy-content {
    max-width: 920px;
    margin-inline: auto;
}

.policy-content h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 2rem 0 0.7rem;
    color: var(--text);
}

.site-footer {
    padding: 4.5rem 0 1.5rem;
    background: #050711;
    border-top: 1px solid var(--border);
}

.site-footer h3 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    color: var(--muted);
    margin-bottom: 0.65rem;
}

.site-footer a {
    color: var(--muted);
}

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

.footer-brand {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner {
    position: fixed;
    z-index: 1100;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 920px;
    margin-inline: auto;
    padding: 1rem;
    color: var(--text);
    background: rgba(10, 14, 25, 0.96);
    border: 1px solid rgba(40, 245, 208, 0.42);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

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

.cookie-banner p {
    margin: 0;
    color: var(--muted);
}

.cookie-banner a {
    color: var(--neon);
    font-weight: 800;
}

.cookie-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .site-navbar {
        background: rgba(7, 9, 18, 0.94);
    }

    .site-navbar .nav-link {
        margin-left: 0;
        padding: 0.85rem 0;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 0.5rem;
        padding-inline: 1rem !important;
    }

    .home-hero {
        background-position: center;
    }

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

@media (max-width: 767.98px) {
    .hero-section h1,
    .page-hero h1 {
        font-size: 2.55rem;
    }

    .hero-copy,
    .page-hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .page-hero {
        padding: 8rem 0 4rem;
    }

    .hero-actions,
    .cookie-banner,
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner {
        text-align: center;
    }

    .btn {
        width: 100%;
    }

    .testimonial-card {
        min-height: 320px;
    }
}
