@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Teko:wght@500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #0c0a09;
    --bg-2: #14110f;
    --panel: #1c1917;
    --panel-2: #292524;
    --line: #44403c;
    --text: #fafaf9;
    --muted: #b8b2aa;
    --gold: #f0b84c;
    --gold-2: #b57922;
    --red: #ce1126;
    --red-2: #8f0c1a;
    --green: #10b981;
    --stone-glow: rgba(68, 64, 60, 0.62);
    --red-glow: rgba(206, 17, 38, 0.24);
    --green-glow: rgba(16, 185, 129, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(206, 17, 38, 0.09), transparent 28rem),
        linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(12, 10, 9, 0.86) 38%, rgba(10, 9, 8, 0.9) 100%);
    color: var(--text);
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 18px;
    overflow-x: hidden;
}

body.legal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection {
    background: rgba(224, 180, 76, 0.32);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.54)),
        url("assets/ekkomod-background.webp") center / cover no-repeat;
    opacity: 0.72;
    filter: saturate(0.94) contrast(1.08);
}

main,
.site-footer {
    position: relative;
    z-index: 1;
}

a { color: inherit; }

.site-header {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
    padding: 14px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header[data-scrolled="true"] {
    min-height: 72px;
    background: rgba(12, 10, 9, 0.88);
    border-bottom-color: rgba(120, 113, 108, 0.34);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: max-content;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 22px var(--red-glow));
}

.brand strong,
h1,
h2,
h3 {
    font-family: 'Teko', Impact, sans-serif;
    letter-spacing: 0;
}

.brand strong {
    display: block;
    font-size: 26px;
    line-height: 0.85;
}

.brand small {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: clamp(14px, 2vw, 28px);
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 15px;
}

.main-nav a:hover { color: var(--gold); }

.header-actions,
.hero-actions,
.pricing-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

button,
.primary-btn,
.secondary-btn,
.ghost-btn {
    font: inherit;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.lang-btn,
.ghost-btn,
.secondary-btn {
    background: rgba(28, 25, 23, 0.62);
    color: var(--text);
    border: 1px solid rgba(120, 113, 108, 0.42);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lang-btn,
.ghost-btn {
    padding: 10px 12px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 8px;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--red), var(--red-2));
    color: #fff;
    box-shadow: 0 18px 38px var(--red-glow);
}

.primary-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.secondary-btn:hover,
.ghost-btn:hover,
.lang-btn:hover {
    border-color: rgba(16, 185, 129, 0.66);
    color: #fff;
    background: rgba(41, 37, 36, 0.82);
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 128px clamp(20px, 7vw, 90px) 76px;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    filter: saturate(0.92) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 38%, rgba(16, 185, 129, 0.08), transparent 18rem),
        radial-gradient(circle at 50% 46%, rgba(206, 17, 38, 0.1), transparent 24rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62) 70%, var(--bg)),
        linear-gradient(90deg, rgba(12, 10, 9, 0.48), rgba(12, 10, 9, 0.22), rgba(12, 10, 9, 0.48));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    animation: fade-in 680ms ease-out both;
}

.eyebrow,
.plan-label {
    margin: 0 0 12px;
    color: var(--green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 14px;
}

h1 {
    margin: 0;
    font-size: clamp(56px, 8vw, 104px);
    line-height: 0.9;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 16px 54px rgba(0, 0, 0, 0.72), 0 0 42px var(--red-glow);
}

.hero-copy {
    max-width: 760px;
    margin: 28px auto;
    color: #d6d3d1;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.35;
    font-weight: 600;
}

.hero-actions {
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(620px, 100%);
    margin: 52px auto 0;
}

.hero-stats div,
.feature-card,
.check-list,
.pricing-card {
    background:
        linear-gradient(180deg, rgba(41, 37, 36, 0.78), rgba(28, 25, 23, 0.74)),
        rgba(28, 25, 23, 0.74);
    border: 1px solid rgba(120, 113, 108, 0.28);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.hero-stats div {
    padding: 16px;
    border-radius: 8px;
}

.hero-stats dt {
    color: var(--green);
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    line-height: 0.9;
}

.hero-stats dd {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.section {
    padding: clamp(72px, 9vw, 126px) clamp(20px, 6vw, 90px);
    position: relative;
}

.section-heading {
    width: min(860px, 100%);
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    max-width: 760px;
    margin-inline: auto;
}

h2 {
    margin: 0;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 0.92;
    text-transform: uppercase;
}

.section-heading p:not(.eyebrow),
.split-section > div > p:not(.eyebrow),
.pricing-card p {
    color: var(--muted);
    line-height: 1.5;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.42);
    box-shadow: 0 24px 88px rgba(0, 0, 0, 0.38), 0 0 36px var(--green-glow);
}

.feature-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    filter: saturate(0.86) contrast(1.08);
}

.feature-card h3,
.feature-card p {
    padding-inline: 18px;
}

.feature-card h3 {
    margin: 18px 0 6px;
    font-size: clamp(28px, 2.4vw, 34px);
    line-height: 0.98;
    text-transform: uppercase;
}

.feature-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.45;
}

.split-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(12, 10, 9, 0.96), rgba(20, 17, 15, 0.96)),
        radial-gradient(circle at 18% 20%, rgba(206, 17, 38, 0.16), transparent 34%);
    border-block: 1px solid rgba(120, 113, 108, 0.18);
}

.check-list {
    padding: 22px;
    border-radius: 8px;
}

.check-list p {
    margin: 0;
    padding: 16px 0 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    font-weight: 800;
}

.check-list p:last-child { border-bottom: 0; }

.check-list p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 24px var(--green-glow);
}

.pricing-section {
    background:
        radial-gradient(circle at 76% 20%, rgba(16, 185, 129, 0.12), transparent 28rem),
        linear-gradient(180deg, var(--bg), #11100f);
}

.pricing-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 8px;
    border-color: rgba(206, 17, 38, 0.28);
}

.pricing-card h3 {
    margin: 0;
    font-size: 54px;
    text-transform: uppercase;
}

.price-block {
    text-align: right;
}

.price {
    display: block;
    color: var(--green);
    font-family: 'Teko', sans-serif;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.92;
}

.price-block small {
    color: var(--muted);
}

.pricing-actions {
    grid-column: 1 / -1;
    width: min(100%, 900px);
    margin-inline: auto;
    justify-self: center;
    justify-content: center;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 26px clamp(20px, 6vw, 90px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    background: #080706;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--gold); }

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-page {
    flex: 1;
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 130px 0 70px;
}

.legal-page h1 {
    margin: 0 0 18px;
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.95;
}

.legal-page h2 {
    margin: 34px 0 10px;
    font-size: 22px;
    color: var(--gold);
}

.legal-page p,
.legal-page li {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    line-height: 1.75;
}

.legal-page a {
    color: var(--gold);
}

.legal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.legal-return {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(239, 68, 68, 0.72);
    background: rgba(127, 29, 29, 0.86);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
}

.legal-return:hover {
    background: rgba(185, 28, 28, 0.96);
}

.legal-lang-btn {
    min-height: 42px;
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--gold);
    font-weight: 900;
}

.legal-content[hidden] {
    display: none;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0c0a09;
}

::-webkit-scrollbar-thumb {
    background: #44403c;
    border: 2px solid #0c0a09;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        background: rgba(12, 10, 9, 0.94);
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .hero { min-height: auto; }
    .split-section,
    .pricing-card {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .price-block { text-align: left; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    h1 {
        font-size: clamp(44px, 15vw, 64px);
        white-space: normal;
    }
    .header-actions { width: 100%; }
    .header-actions > * { flex: 1; text-align: center; }
    .hero-actions > *,
    .pricing-actions > * { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .site-footer,
    .legal-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
