/* ============================================
   NAVYX — Website Stylesheet
   Apple-inspired aesthetic · Premium minimalism
   ============================================ */

:root {
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --bg-soft: #f5f5f7;
    --text: #1d1d1f;
    --text-soft: #6e6e73;
    --text-muted: #86868b;
    --accent: #0a84ff;
    --accent-deep: #0066cc;
    --accent-dark: #003d7a;
    --gradient: linear-gradient(120deg, #0a84ff 0%, #5e9eff 50%, #0066cc 100%);
    --gradient-hero: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
    --border: #d2d2d7;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.12);
    --max-width: 1200px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease); }
a:hover { opacity: 0.7; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background .3s var(--ease);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lang-switch {
    display: flex;
    background: var(--bg-soft);
    border-radius: 980px;
    padding: 3px;
}
.lang-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-soft);
    padding: 5px 12px;
    border-radius: 980px;
    letter-spacing: 0.04em;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-btn.active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.lang-btn:hover:not(.active) { color: var(--text); }

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    background: var(--text);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 980px;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-cta:hover { opacity: 0.85; transform: scale(1.03); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
}

/* ============ HERO ============ */
.hero {
    padding: 120px 24px 60px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}
.hero-title {
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--text-soft);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.4;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.hero-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}
.hero-image {
    margin: 60px auto 0;
    max-width: 360px;
    perspective: 1200px;
}
.hero-phone {
    width: 100%;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.6s var(--ease);
}

/* ============ BUTTONS ============ */
.btn-store {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff !important;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    opacity: 1;
}
.btn-store-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}
.btn-store-inner svg {
    flex-shrink: 0;
    display: block;
}
.btn-store-large {
    padding: 18px 32px;
    font-size: 17px;
    gap: 12px;
}
.btn-store-large > svg {
    flex-shrink: 0;
    display: block;
}
.btn-store-large > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    text-align: left;
}
.btn-store-large small {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
    display: block;
}

.btn-trial {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    box-shadow: 0 8px 24px rgba(10,132,255,0.35);
}
.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10,132,255,0.5);
    opacity: 1;
}

/* ============ SECTIONS COMMON ============ */
.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.022em;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.1;
}
.section-subtitle {
    font-size: clamp(17px, 1.7vw, 21px);
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 64px;
    font-weight: 400;
}

/* ============ FEATURES PILLS ============ */
.features {
    padding: 120px 0;
    background: var(--bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-pill {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-pill:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--accent);
    background: rgba(10,132,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-pill h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.feature-pill p {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .features { padding: 80px 0; }
}

/* ============ STATEMENT ============ */
.statement {
    padding: 140px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    text-align: center;
}
.statement-text {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.statement-sub {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ SHOWCASE ============ */
.showcase {
    padding: 120px 0;
    background: var(--bg);
    overflow: hidden;
}
.showcase-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px;
    scrollbar-width: none;
}
.showcase-scroll::-webkit-scrollbar { display: none; }
.showcase-track {
    display: flex;
    gap: 32px;
    padding: 0 max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
}
.showcase-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    transition: transform .4s var(--ease);
}
.showcase-item:hover { transform: translateY(-8px); }
.showcase-item img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    aspect-ratio: 9/19.5;
    object-fit: cover;
    object-position: center;
}
.showcase-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.showcase-item p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .showcase-item { flex: 0 0 240px; }
}

/* ============ PRICING ============ */
.pricing {
    padding: 120px 0;
    background: var(--bg-soft);
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 980px;
    margin: 0 auto;
}
.plan {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.plan-pro {
    background: linear-gradient(180deg, #001a3d 0%, #003d7a 100%);
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,61,122,0.3);
}
.plan-badge {
    position: absolute;
    top: -14px;
    right: 32px;
    background: linear-gradient(120deg, #ffd86b, #ffae00);
    color: #1d1d1f;
    padding: 8px 18px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 20px rgba(255,174,0,0.4);
}
.plan-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 12px;
}
.plan-tag-pro {
    color: #ffd86b;
}
.plan-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.plan-price {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1;
}
.plan-price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-soft);
}
.plan-pro .plan-price span { color: rgba(255,255,255,0.6); }
.plan-desc {
    color: var(--text-soft);
    font-size: 15px;
    margin-bottom: 32px;
}
.plan-pro .plan-desc { color: rgba(255,255,255,0.75); }
.plan-features {
    list-style: none;
    margin-bottom: 32px;
}
.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 15px;
    position: relative;
    padding-left: 28px;
}
.plan-pro .plan-features li { border-bottom-color: rgba(255,255,255,0.1); }
.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11L3.5 8l1-1 2 2 4.5-4.5 1 1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.plan-pro .plan-features li::before {
    background: #ffd86b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23001a3d' d='M6.5 11L3.5 8l1-1 2 2 4.5-4.5 1 1z'/%3E%3C/svg%3E");
}
.plan-features li.muted {
    color: var(--text-muted);
    font-style: italic;
}
.plan-features li.muted::before { background: var(--border); background-image: none; }
.plan-features li.highlight {
    font-weight: 600;
    color: #ffd86b;
}
.plan-cta {
    display: block;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.plan-cta-secondary {
    background: var(--text);
    color: #fff !important;
}
.plan-cta-primary {
    background: linear-gradient(120deg, #ffd86b, #ffae00);
    color: #1d1d1f !important;
    box-shadow: 0 8px 24px rgba(255,174,0,0.3);
}
.plan-cta:hover { transform: translateY(-2px); opacity: 1; }
.plan-cta-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.plan-fineprint {
    text-align: center;
    font-size: 12px;
    margin-top: 16px;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .plan { padding: 36px 28px; }
}

/* ============ FINAL CTA ============ */
.final-cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #001a3d 0%, #003d7a 50%, #0a84ff 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.final-title {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    position: relative;
}
.final-sub {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    position: relative;
}
.final-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}
.final-cta .btn-store {
    background: #fff;
    color: #001a3d !important;
}
.final-note {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    position: relative;
}

/* ============ BETA TESTERS ============ */
.beta {
    padding: 120px 0;
    background: var(--bg-soft);
    text-align: center;
}
.beta-badge {
    display: inline-block;
    background: rgba(10,132,255,0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 980px;
    margin-bottom: 24px;
    border: 1px solid rgba(10,132,255,0.2);
}
.beta-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.beta-sub {
    font-size: clamp(17px, 1.7vw, 21px);
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}
.beta-cta {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    box-shadow: 0 8px 24px rgba(10,132,255,0.35);
}
.beta-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10,132,255,0.5);
    opacity: 1;
}
.beta-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ CONTACT ============ */
.contact {
    padding: 120px 0;
    background: var(--bg);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}
.contact-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    color: var(--text);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    opacity: 1;
}
.contact-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.contact-card p {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
    word-break: break-all;
}
.contact-card span {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
    background: #1d1d1f;
    color: #a1a1a6;
    padding: 60px 0 30px;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h5 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-col a {
    display: block;
    color: #a1a1a6;
    padding: 6px 0;
    font-size: 13px;
}
.footer-col a:hover { color: #fff; opacity: 1; }
.footer-logo {
    height: 26px;
    width: auto;
    margin-bottom: 16px;
}
.footer-tagline {
    color: #86868b;
    font-size: 13px;
    max-width: 260px;
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #2c2c2e;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-legal p { margin-bottom: 4px; }
.footer-legal em { color: #6e6e73; }
.footer-copy { color: #6e6e73; }

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

/* ============ LEGAL PAGES (privacy.html, terms.html, cookie.html) ============ */
.legal-page {
    background: var(--bg);
}
.legal-main {
    padding: 120px 24px 80px;
    min-height: 80vh;
}
.legal-container {
    max-width: 820px;
    margin: 0 auto;
}
.legal-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.legal-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }

.legal-content h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.legal-meta {
    font-size: 14px;
    color: var(--text-muted);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.legal-content section {
    margin-bottom: 44px;
}
.legal-content h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 48px 0 16px;
    color: var(--text);
}
.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}
.legal-content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
    margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
.legal-content li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover { opacity: 0.7; }
.legal-content strong { color: var(--text); }
.legal-content em {
    background: var(--bg-soft);
    padding: 1px 6px;
    border-radius: 4px;
    font-style: normal;
    font-size: 0.95em;
}

@media (max-width: 600px) {
    .legal-main { padding: 100px 18px 60px; }
    .legal-content p, .legal-content li { font-size: 15px; }
}

/* ============ MODALS ============ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}
.modal.active {
    display: flex;
    animation: fadeIn .3s var(--ease);
}
.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    padding: 48px;
    position: relative;
    animation: slideUp .4s var(--ease);
}
.modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.modal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
    letter-spacing: -0.01em;
}
.modal-content p, .modal-content li {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 8px;
}
.modal-content ul {
    padding-left: 22px;
    margin-bottom: 12px;
}
.modal-content a {
    color: var(--accent);
    text-decoration: underline;
}
.modal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease);
}
.modal-close:hover { background: var(--border); }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .modal-content { padding: 32px 24px; }
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(29,29,31,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
    z-index: 90;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover {
    background: #1d1d1f;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .scroll-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 880px;
    margin: 0 auto;
    background: rgba(29,29,31,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 24px 28px;
    border-radius: var(--radius);
    z-index: 150;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(140%);
    transition: transform .5s var(--ease);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1;
    min-width: 280px;
}
.cookie-text strong { font-size: 15px; }
.cookie-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
    line-height: 1.4;
}
.cookie-text a { color: #5e9eff; text-decoration: underline; }
.cookie-actions {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    padding: 10px 22px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.cookie-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.cookie-btn-primary {
    background: #fff;
    color: #1d1d1f;
}
.cookie-btn:hover { transform: scale(1.05); }

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    .cookie-actions { width: 100%; }
    .cookie-actions .cookie-btn { flex: 1; }
}
