/* Mythara Games - Premium Stylesheet */

:root {
    --bg: #0b0a12;
    --bg-soft: #12101f;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f4f2ff;
    --muted: #a9a4c8;
    --dim: #6f6a8f;
    --violet: #8b7cf6;
    --violet-2: #6d5ef0;
    --pink: #f283b6;
    --peach: #ffb487;
    --aqua: #6fe7dd;
    --green: #7ddb9e;
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
    --font-display: "Sora", sans-serif;
    --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); margin: 0 auto; }

::selection { background: var(--violet); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--violet), var(--pink)); border-radius: 8px; }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(11, 10, 18, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    padding: 12px 0;
    box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.7);
}

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

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #fff, var(--violet) 60%, var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-dot { -webkit-text-fill-color: var(--pink); }
.brand-suffix { -webkit-text-fill-color: var(--muted); font-weight: 600; font-size: 0.95rem; }

.main-nav { display: flex; align-items: center; gap: 30px; }

.nav-link {
    position: relative;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--violet), var(--pink));
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px; height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: min(320px, 82%);
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        background: rgba(18, 16, 31, 0.97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 40px 36px;
        transition: right 0.4s ease;
        box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
    }
    .main-nav.open { right: 0; }
    .nav-link { font-size: 1.15rem; }
    .nav-cta { display: none; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--violet-2), var(--violet));
    color: #fff;
    box-shadow: 0 18px 40px -18px rgba(109, 94, 240, 0.9);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(109, 94, 240, 1); }

.btn-ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

.btn-ghost:hover { background: var(--surface-strong); border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* Eyebrow */
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pink);
    padding: 8px 16px;
    border: 1px solid rgba(242, 131, 182, 0.28);
    border-radius: 999px;
    background: rgba(242, 131, 182, 0.07);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
    background: radial-gradient(1100px 620px at 82% -6%, rgba(109, 94, 240, 0.22), transparent 62%),
                radial-gradient(900px 520px at 8% 108%, rgba(242, 131, 182, 0.13), transparent 60%);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.orb-a { width: 420px; height: 420px; background: radial-gradient(circle, var(--violet), transparent 68%); top: -90px; right: -60px; animation: driftA 16s ease-in-out infinite alternate; }
.orb-b { width: 320px; height: 320px; background: radial-gradient(circle, var(--pink), transparent 68%); bottom: -70px; left: -40px; animation: driftB 18s ease-in-out infinite alternate; }
.orb-c { width: 220px; height: 220px; background: radial-gradient(circle, var(--aqua), transparent 66%); top: 42%; left: 46%; opacity: 0.28; animation: driftC 20s ease-in-out infinite alternate; }

@keyframes driftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes driftB { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, -50px) scale(1.12); } }
@keyframes driftC { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative; z-index: 2; }

.hero-title {
    font-size: clamp(2.5rem, 5.4vw, 4.3rem);
    margin: 22px 0 20px;
    background: linear-gradient(115deg, #fff 10%, var(--violet) 55%, var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }

.stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.1rem;
    display: block;
    background: linear-gradient(120deg, var(--violet), var(--peach));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label { color: var(--dim); font-size: 0.9rem; display: block; max-width: 150px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 420px; }

.visual-card {
    position: relative;
    z-index: 3;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 34px;
    width: 88%;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: cardFloat 7s ease-in-out infinite;
}

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

.visual-accent {
    width: 64px; height: 64px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    margin-bottom: 22px;
}

.visual-card h3 { font-size: 1.7rem; }
.visual-tag { color: var(--peach); font-weight: 600; font-size: 0.9rem; margin: 8px 0 10px; }
.visual-desc { color: var(--muted); margin-bottom: 20px; }

.visual-bar {
    height: 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.visual-bar-fill { display: block; height: 100%; width: 72%; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--green)); }

.visual-row { display: flex; justify-content: space-between; color: var(--dim); font-size: 0.85rem; }

.visual-card-back {
    position: absolute;
    z-index: 2;
    width: 62%;
    top: 120px; right: 0;
    opacity: 0.55;
    border-radius: var(--radius-md);
    animation: cardFloat 8s ease-in-out 1.2s infinite;
    padding: 26px;
}

@media (max-width: 960px) {
    .hero { padding: 130px 0 70px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 360px; }
    .visual-card { width: 92%; }
}

/* MARQUEE */
.marquee {
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }

.marquee-track span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.marquee-track span::before { content: "◆"; margin-right: 18px; color: var(--violet); font-size: 0.7rem; }

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

/* Game cards */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

@media (max-width: 1024px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .game-grid { grid-template-columns: 1fr; } }

.game-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(139, 124, 246, 0.45); }

.game-art {
    height: 190px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    position: relative;
}

.game-art-1 { background: linear-gradient(135deg, #4a2d7a, #14306b 55%, #0b0a12); }
.game-art-2 { background: linear-gradient(135deg, #0f5a66, #14457a 60%, #0b0a12); }
.game-art-3 { background: linear-gradient(135deg, #5a2a63, #8a4d2a 55%, #0b0a12); }
.game-art-4 { background: linear-gradient(135deg, #8a3a2a, #5a1f4a 60%, #0b0a12); }
.game-art-5 { background: linear-gradient(135deg, #2a8a72, #3a4d8a 60%, #0b0a12); }
.game-art-6 { background: linear-gradient(135deg, #1f5a7a, #1a3a6a 60%, #0b0a12); }

.game-badge {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(11, 10, 18, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.game-body { padding: 26px; }
.game-name { font-size: 1.35rem; margin-bottom: 8px; }
.game-desc { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }

.game-meta { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 0.85rem; margin-bottom: 0; }

.game-meta .link { color: var(--aqua); font-weight: 600; margin-left: auto; }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.filter {
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter:hover { border-color: rgba(139, 124, 246, 0.5); color: var(--text); }
.filter.active { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; border-color: transparent; }

.filter-empty { display: none; text-align: center; color: var(--dim); padding: 44px 0; font-size: 1.05rem; }
.filter-empty.show { display: block; }

/* Hiding filtered cards */
.game-card.hidden { display: none; }

/* PROMO */
.promo { position: relative; padding: 120px 0; overflow: hidden; background: var(--bg-soft); }

.promo-blob {
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 94, 240, 0.24), transparent 66%);
    top: -180px; right: -120px;
    filter: blur(30px);
}

.promo-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; position: relative; z-index: 2; }

.promo-copy .section-title { margin-bottom: 22px; }
.promo-text { color: var(--muted); margin-bottom: 26px; }

.check-list { display: grid; gap: 14px; margin-bottom: 34px; }

.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }

.check-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #062a14;
    background: linear-gradient(135deg, var(--green), #9ce6b6);
}

/* promo browser visual */
.promo-browser {
    border-radius: var(--radius-md);
    background: rgba(10, 9, 17, 0.9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.promo-browser-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.promo-browser-top span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.promo-browser-top span:nth-child(2) { background: #febc2e; }
.promo-browser-top span:nth-child(3) { background: #28c840; }

.promo-browser-top em { color: var(--dim); font-style: normal; font-size: 0.8rem; margin-left: 10px; font-family: monospace; }

.promo-browser-body { padding: 30px; min-height: 260px; }

.promo-hud {
    height: 120px;
    border-radius: var(--radius-sm);
    background: radial-gradient(120% 120% at 20% 0%, rgba(109, 94, 240, 0.35), rgba(11, 10, 18, 0.4)),
                linear-gradient(160deg, #231f42, #120f24 70%);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.promo-hud::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 46%, transparent 62%);
    animation: shimmerScan 3.4s ease-in-out infinite;
}

@keyframes shimmerScan { from { transform: translateX(-60%); } to { transform: translateX(60%); } }

.promo-score strong { font-family: var(--font-display); font-size: 2rem; color: var(--text); }
.promo-score span { color: var(--dim); font-size: 0.9rem; }
.promo-line { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); width: 68%; margin-top: 14px; }
.promo-line.short { width: 44%; }

@media (max-width: 960px) {
    .promo-inner { grid-template-columns: 1fr; gap: 46px; }
    .promo { padding: 90px 0; }
}

/* WHY section */
.why { background: radial-gradient(900px 500px at 90% 0%, rgba(242, 131, 182, 0.1), transparent 60%); }

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

@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.why-card:hover { transform: translateY(-6px); border-color: rgba(139, 124, 246, 0.4); }

.why-icon {
    width: 54px; height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    margin-bottom: 22px;
    box-shadow: 0 10px 30px -10px rgba(109, 94, 240, 0.8);
}

.why-card h3 { font-size: 1.14rem; margin-bottom: 12px; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* AWS section */
.aws { position: relative; overflow: hidden; }

.aws-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 153, 0, 0.09), transparent 62%); bottom: -300px; left: -200px; filter: blur(30px); pointer-events: none; }

.aws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }

@media (max-width: 1024px) { .aws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .aws-grid { grid-template-columns: 1fr; } }

.aws-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.aws-card:hover { transform: translateY(-6px); border-color: rgba(255, 153, 0, 0.45); background: rgba(255, 153, 0, 0.05); }

.aws-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.aws-card h3::before {
    content: "◆";
    color: #ff9900;
    font-size: 0.8rem;
}

.aws-card p { color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta { padding: 120px 0 130px; position: relative; }

.cta-inner {
    text-align: center;
    background: linear-gradient(150deg, rgba(109, 94, 240, 0.16), rgba(242, 131, 182, 0.1));
    border: 1px solid rgba(139, 124, 246, 0.3);
    border-radius: 44px;
    padding: 84px 40px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 94, 240, 0.4), transparent 66%);
    top: -140px; left: -80px;
    filter: blur(20px);
}

.cta-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.cta-text { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* Page hero (inner pages) */
.page-hero {
    padding: 170px 0 70px;
    position: relative;
    background: radial-gradient(900px 460px at 20% 0%, rgba(109, 94, 240, 0.18), transparent 60%);
}

.page-title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin: 20px 0 14px; }
.page-sub { color: var(--muted); font-size: 1.13rem; max-width: 640px; }

/* Story blocks (about) */
.about-story .story-block { margin-bottom: 66px; }
.about-story .section-title { margin-bottom: 16px; }
.story-text { color: var(--muted); font-size: 1.08rem; max-width: 720px; }

/* Timeline */
.timeline-section { background: var(--bg-soft); }

.timeline { display: grid; gap: 22px; max-width: 720px; margin: 0 auto; }

.timeline-item { display: flex; gap: 22px; position: relative; }

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 10px; top: 26px; bottom: -26px;
    width: 2px;
    background: linear-gradient(180deg, var(--violet), transparent);
}

.timeline-dot {
    flex-shrink: 0;
    width: 21px; height: 21px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-2), var(--pink));
    box-shadow: 0 0 0 5px rgba(109, 94, 240, 0.16);
    margin-top: 4px;
}

.timeline-card {
    flex: 1;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-card:hover { border-color: rgba(139, 124, 246, 0.4); transform: translateX(4px); }

.timeline-card h3 { color: var(--violet); font-size: 1.05rem; margin-bottom: 8px; letter-spacing: 0.02em; }
.timeline-card p { color: var(--muted); font-size: 0.98rem; }

/* TIERS */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

@media (max-width: 960px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tier:hover { border-color: rgba(139, 124, 246, 0.4); }

.tier-featured {
    background: linear-gradient(160deg, rgba(109, 94, 240, 0.22), rgba(242, 131, 182, 0.12));
    border-color: rgba(139, 124, 246, 0.6);
    box-shadow: var(--shadow);
}

.tier-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--violet), var(--pink));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.tier-name { font-size: 1.3rem; }
.tier-price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; margin: 10px 0 12px; }
.tier-period { font-size: 1rem; color: var(--dim); font-weight: 600; }
.tier-desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 24px; min-height: 44px; }

.tier .check-list { margin-bottom: 30px; flex: 1; }

/* APPLY / FORMS */
.apply { position: relative; overflow: hidden; }
.apply-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 94, 240, 0.18), transparent 66%); top: -140px; right: -120px; filter: blur(30px); }

.apply-form {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; color: var(--text); }

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(109, 94, 240, 0.18);
}

.form-textarea { resize: none; }

select.form-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%), linear-gradient(135deg, var(--violet) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.form-status { display: none; text-align: center; color: var(--green); margin-top: 18px; font-weight: 600; }
.form-status.show { display: block; }

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 34px;
    background: linear-gradient(180deg, transparent, rgba(109, 94, 240, 0.05));
}

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

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { font-size: 1.35rem; display: inline-block; margin-bottom: 16px; }
.footer-note { color: var(--dim); font-size: 0.96rem; max-width: 280px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.footer-col a { color: var(--dim); font-size: 0.95rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--violet); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--dim);
    font-size: 0.88rem;
}

/* FLOAT helper */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}





/* Sections base */
.section { padding: 110px 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }

.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-top: 14px; }

.section-sub { color: var(--muted); max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }





