/* ============================================================================
   KANJIDON WEBSITE - Design System (from Flutter design_tokens.dart)
   ============================================================================ */

/* Self-hosted Nunito Font (GDPR compliant - no Google connection) */
/* WOFF2 primary (66% smaller), TTF fallback for older browsers */
/* font-display: optional = zero FOUT, font loads within 100ms or fallback is used */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 500;
    font-display: optional;
    src: url('assets/fonts/nunito-500.woff2') format('woff2'),
         url('assets/fonts/nunito-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('assets/fonts/nunito-700.woff2') format('woff2'),
         url('assets/fonts/nunito-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: optional;
    src: url('assets/fonts/nunito-800.woff2') format('woff2'),
         url('assets/fonts/nunito-800.ttf') format('truetype');
}

/* CSS Variables - Mapped from DesignTokens */
:root {
    /* Core Colors (Regola 60-30-10) */
    --background: #FFFFFF;      /* Bianco puro */
    --secondary: #1C1C1E;       /* Nero Apple */
    --primary: #DE6A35;         /* Kaki brand */

    /* Neutrals */
    --muted: #ADA9A4;
    --subtle: #5C5C5C;

    /* Feedback */
    --success: #2BA366;
    --error: #E24255;

    /* Semantic */
    --premium: #9055C0;

    /* League Colors */
    --league-n5: #7BA866;       /* Verde bambù */
    --league-n4: #4A9BC9;       /* Azzurro fūrin */
    --league-n3: #D4A055;       /* Ambra kitsune */
    --league-n2: #9570C0;       /* Viola budō */
    --league-n1: #D65A50;       /* Rosso daruma */

    /* Spacing (griglia 8px) */
    --spacing-xs: 4px;
    --spacing-s: 8px;
    --spacing-m: 16px;
    --spacing-l: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;

    /* Border Radius */
    --radius-s: 8px;
    --radius-m: 16px;
    --radius-pill: 100px;

    /* Typography (rem for WCAG 200% scaling) */
    --font-s: 0.9375rem;   /* 15px - increased from 14px */
    --font-m: 1.125rem;    /* 18px */
    --font-l: 1.375rem;    /* 22px */
    --font-xl: 1.75rem;    /* 28px */
    --font-xxl: 2.25rem;   /* 36px */

    --font-weight-regular: 500;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;

    /* Line Height */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;

    /* Button Heights */
    --button-height-s: 36px;
    --button-height-m: 48px;
    --button-height-l: 56px;

    /* Transitions */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-m);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--secondary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(var(--font-xxl), 8vw, 56px);
    font-weight: var(--font-weight-heavy);
}

h2 {
    font-size: var(--font-xl);
}

h3 {
    font-size: var(--font-l);
}

p {
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity var(--duration-fast);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    font-weight: var(--font-weight-bold);
}

.btn-primary strong {
    color: white !important;
}

.btn-sm {
    height: var(--button-height-s);
    padding: 0 var(--spacing-m);
    font-size: var(--font-s);
}

.btn-lg {
    height: var(--button-height-l);
    padding: 0 var(--spacing-xl);
    font-size: var(--font-m);
}

/* ============================================================================
   HEADER
   ============================================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--background);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    color: var(--secondary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-s);
}

.logo-text {
    font-size: var(--font-l);
    font-weight: var(--font-weight-bold);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    padding-top: calc(64px + var(--spacing-xxl));
    padding-bottom: var(--spacing-xxl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated gradient glow behind hero */
.hero-glow {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(222, 106, 53, 0.25) 0%, rgba(222, 106, 53, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: var(--spacing-l);
}

.text-primary {
    color: var(--primary);
}

.hero-subtitle {
    font-size: var(--font-l);
    color: var(--subtle);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-cta {
    margin-bottom: var(--spacing-xl);
}

/* Laurel rating in stats row */
.stat-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.laurel-rating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 80px;
}

.laurel-img {
    width: 100px;
    height: auto;
}

.laurel-score {
    position: absolute;
    font-size: var(--font-xxl);
    font-weight: var(--font-weight-heavy);
    color: var(--secondary);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-xl);
    font-weight: var(--font-weight-heavy);
    color: var(--secondary);
}

.stat-label {
    font-size: var(--font-s);
    color: var(--subtle);
}

.hero-image {
    display: flex;
    justify-content: center;
}

/* Floating animation */
.floating {
    animation: float 4s ease-in-out infinite;
}

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

/* Hero phone - images already have device frame */
.hero-phone {
    max-width: 320px;
}

.hero-phone img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}


/* ============================================================================
   SECTIONS
   ============================================================================ */

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

/* ============================================================================
   RATING SECTION - Big Laurel with Scroll Animation
   ============================================================================ */

.rating-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--background);
}

.rating-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rating-laurel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 160px;
}

.rating-laurel-img {
    width: 200px;
    height: auto;
}

.rating-score {
    position: absolute;
    font-size: 56px;
    font-weight: var(--font-weight-heavy);
    color: var(--secondary);
}

.rating-text {
    margin-top: var(--spacing-m);
    font-size: var(--font-l);
    font-weight: var(--font-weight-bold);
    color: var(--subtle);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Features */
.features {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-l);
}

.feature-card {
    padding: var(--spacing-l);
    border-radius: var(--radius-m);
    border: 1.5px solid transparent;
    transition: border-color var(--duration-normal);
}

.feature-card:hover {
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-m);
    margin-bottom: var(--spacing-m);
    background-color: var(--primary);
    color: white;
}

.feature-card h3 {
    margin-bottom: var(--spacing-s);
    color: var(--secondary);
}

.feature-card p {
    color: var(--subtle);
    font-size: var(--font-s);
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-xxl) 0;
}

.steps-with-phones {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.step-row-reverse {
    direction: rtl;
}

.step-row-reverse > * {
    direction: ltr;
}

.step-phone {
    display: flex;
    justify-content: center;
}

.step-phone img {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transition: transform var(--duration-normal);
}

.step-phone img:hover {
    transform: scale(1.02);
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-row-reverse .step-content {
    align-items: flex-end;
    text-align: right;
}

.step-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    font-size: var(--font-l);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-pill);
    margin-bottom: var(--spacing-m);
}

.step-content h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-s);
}

.step-content p {
    color: var(--subtle);
    font-size: var(--font-m);
    max-width: 400px;
    line-height: var(--line-height-relaxed);
}

/* ============================================================================
   COLLECTION SHOWCASE - Cards & Packs with Animations
   ============================================================================ */

.collection-showcase {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, white 0%, var(--background) 100%);
    overflow: hidden;
}

/* Floating Cards Display */
.cards-display {
    position: relative;
    height: 400px;
    margin: var(--spacing-xl) auto;
    max-width: 800px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    width: 140px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-m);
}

/* Card positions - wide fan layout */
.floating-card.card-1 {
    left: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    animation: float-1 6s ease-in-out infinite;
    z-index: 1;
}

.floating-card.card-2 {
    left: 22%;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    animation: float-2 5s ease-in-out infinite 0.5s;
    z-index: 2;
}

.floating-card.card-3 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: float-3 7s ease-in-out infinite 1s;
    z-index: 5;
}

.floating-card.card-4 {
    right: 22%;
    top: 50%;
    transform: translateY(-50%) rotate(6deg);
    animation: float-4 5.5s ease-in-out infinite 0.3s;
    z-index: 2;
}

.floating-card.card-5 {
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(12deg);
    animation: float-5 6.5s ease-in-out infinite 0.8s;
    z-index: 1;
}

/* Floating animations */
@keyframes float-1 {
    0%, 100% { transform: translateY(-50%) rotate(-12deg); }
    50% { transform: translateY(calc(-50% - 15px)) rotate(-10deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(-50%) rotate(-6deg); }
    50% { transform: translateY(calc(-50% - 20px)) rotate(-4deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, calc(-50% - 25px)) rotate(2deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(-50%) rotate(6deg); }
    50% { transform: translateY(calc(-50% - 20px)) rotate(4deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translateY(-50%) rotate(12deg); }
    50% { transform: translateY(calc(-50% - 15px)) rotate(10deg); }
}

/* Hover effects - lift and scale */
.floating-card:hover {
    transform: translateY(-60%) rotate(0deg) scale(1.2) !important;
    z-index: 10 !important;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}

.floating-card.card-3:hover {
    transform: translate(-50%, -60%) rotate(0deg) scale(1.2) !important;
}

/* Packs Display */
.packs-display {
    text-align: center;
    margin-top: var(--spacing-xxl);
}

.packs-label {
    color: var(--subtle);
    font-size: var(--font-m);
    margin-bottom: var(--spacing-l);
}

.packs-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-l);
    flex-wrap: wrap;
}

.pack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-s);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.pack-item img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pack-item span {
    font-size: var(--font-s);
    font-weight: var(--font-weight-bold);
    color: var(--subtle);
    transition: color 0.3s ease;
}

.pack-item:hover {
    transform: translateY(-10px);
}

.pack-item:hover img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform: scale(1.1) rotate(-3deg);
}

.pack-item:hover span {
    color: var(--primary);
}

/* Staggered reveal for packs */
.packs-row .pack-item:nth-child(1) { transition-delay: 0.1s; }
.packs-row .pack-item:nth-child(2) { transition-delay: 0.2s; }
.packs-row .pack-item:nth-child(3) { transition-delay: 0.3s; }
.packs-row .pack-item:nth-child(4) { transition-delay: 0.4s; }
.packs-row .pack-item:nth-child(5) { transition-delay: 0.5s; }

/* Download */
.download {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary);
    color: white;
}

.download-content {
    text-align: center;
}

.download .section-title {
    color: white;
}

.download-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-l);
    flex-wrap: wrap;
}

.store-badge img {
    height: 72px;
    width: auto;
    transition: transform var(--duration-fast);
}

.store-badge:hover img {
    transform: scale(1.05);
}

/* FAQ */
.faq {
    padding: var(--spacing-xxl) 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--muted);
}

.faq-item summary {
    padding: var(--spacing-m) 0;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: var(--font-l);
    color: var(--primary);
    transition: transform var(--duration-fast);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding-bottom: var(--spacing-m);
    color: var(--subtle);
    font-size: var(--font-s);
}

/* Footer */
.footer {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-s);
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-s);
}

.footer-brand p {
    color: var(--subtle);
    font-size: var(--font-s);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xxl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-s);
}

.footer-col h4 {
    font-size: var(--font-s);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--subtle);
    font-size: var(--font-s);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: var(--spacing-l);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: var(--spacing-l);
}

.footer-legal {
    font-size: var(--font-s);
    color: var(--subtle);
    line-height: 1.6;
}

.footer-legal p {
    margin: 0;
}

.footer-copy {
    color: var(--muted);
    font-size: var(--font-s);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-l);
}

.nav-links a {
    color: var(--secondary);
    font-size: var(--font-s);
    font-weight: var(--font-weight-regular);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Section subtitle */
.section-subtitle {
    text-align: center;
    color: var(--subtle);
    max-width: 600px;
    margin: -var(--spacing-l) auto var(--spacing-xxl);
    text-wrap: balance;
    padding: 0 var(--spacing-m);
}

/* Legal page styles */
.legal-page {
    padding-top: calc(64px + var(--spacing-xl));
    padding-bottom: var(--spacing-xxl);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-m);
}

.legal-content h2 {
    font-size: var(--font-l);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-m);
    color: var(--secondary);
}

.legal-content h3 {
    font-size: var(--font-m);
    margin-top: var(--spacing-l);
    margin-bottom: var(--spacing-s);
}

.legal-content p {
    margin-bottom: var(--spacing-m);
    color: var(--subtle);
}

.legal-content ul, .legal-content ol {
    margin-bottom: var(--spacing-m);
    padding-left: var(--spacing-l);
    color: var(--subtle);
}

.legal-content li {
    margin-bottom: var(--spacing-xs);
}

.legal-content .last-updated {
    font-size: var(--font-s);
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
}

.legal-meta {
    font-size: var(--font-s);
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-m);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-content section {
    margin-bottom: var(--spacing-l);
}

.legal-content h4 {
    font-size: var(--font-s);
    font-weight: var(--font-weight-bold);
    margin-top: var(--spacing-m);
    margin-bottom: var(--spacing-s);
    color: var(--secondary);
}

/* Legal Tables */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-m) 0;
    font-size: var(--font-s);
}

.legal-table th,
.legal-table td {
    padding: var(--spacing-s) var(--spacing-m);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-table th {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: var(--font-weight-bold);
    color: var(--secondary);
}

.legal-table td {
    color: var(--subtle);
}

.legal-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Legal Contact Box */
.legal-contact {
    background-color: rgba(222, 106, 53, 0.05);
    border: 1.5px solid rgba(222, 106, 53, 0.15);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    margin-top: var(--spacing-xl);
}

.legal-contact h2 {
    margin-top: 0;
    color: var(--primary);
}

.legal-contact p {
    margin-bottom: var(--spacing-s);
}

/* Legal Footer Note */
.legal-footer-note {
    font-size: var(--font-s);
    color: var(--muted);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-l);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-style: italic;
}

/* Legal Conclusion */
.legal-conclusion {
    background-color: rgba(43, 163, 102, 0.05);
    border: 1.5px solid rgba(43, 163, 102, 0.15);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    margin-top: var(--spacing-xl);
}

.legal-conclusion h2 {
    margin-top: 0;
    color: var(--success);
}

/* Delete Page Styles */
.delete-method {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    margin: var(--spacing-l) 0;
}

.delete-method h2 {
    margin-top: 0;
}

.warning-box {
    background-color: rgba(226, 66, 85, 0.08);
    border: 1.5px solid rgba(226, 66, 85, 0.25);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    margin: var(--spacing-l) 0;
}

.warning-box h3 {
    color: var(--error);
    margin-top: 0;
    margin-bottom: var(--spacing-m);
}

.warning-box ul {
    margin-bottom: 0;
}

/* Support Page Styles */
.support-contact-box {
    background-color: rgba(222, 106, 53, 0.05);
    border: 1.5px solid rgba(222, 106, 53, 0.15);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    text-align: center;
}

.support-contact-box h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: var(--spacing-s);
}

.support-contact-box a {
    font-size: var(--font-l);
    font-weight: var(--font-weight-bold);
}

.support-page .faq-item {
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    border-radius: var(--radius-m);
    margin-bottom: var(--spacing-s);
    padding: 0 var(--spacing-m);
}

.support-page .faq-item summary {
    padding: var(--spacing-m);
}

.support-page .faq-answer {
    padding: 0 var(--spacing-m) var(--spacing-m);
}

.support-page .faq-answer p,
.support-page .faq-answer ul,
.support-page .faq-answer ol {
    margin-bottom: var(--spacing-s);
}

.support-page .faq-answer p:last-child,
.support-page .faq-answer ul:last-child,
.support-page .faq-answer ol:last-child {
    margin-bottom: 0;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-s);
    margin-top: var(--spacing-m);
}

.quick-link {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-s) var(--spacing-m);
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-s);
    font-size: var(--font-s);
    color: var(--secondary);
    transition: all var(--duration-fast);
}

.quick-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    opacity: 1;
}

/* ============================================================================
   LANGUAGE SELECTOR
   ============================================================================ */

.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    padding: var(--spacing-s) var(--spacing-m);
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-s);
    font-family: inherit;
    font-size: var(--font-s);
    color: var(--secondary);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.language-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

.language-btn .flag-icon {
    font-size: 18px;
    line-height: 1;
}

.language-btn svg {
    transition: transform var(--duration-fast);
}

.language-selector:hover .language-btn svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-s);
    padding: var(--spacing-xs);
    margin-bottom: var(--spacing-s);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast);
}

/* Scrollbar styling */
.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--muted);
    border-radius: 3px;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    padding: var(--spacing-s) var(--spacing-m);
    color: var(--secondary);
    font-size: var(--font-s);
    border-radius: var(--radius-s);
    transition: background-color var(--duration-fast);
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.04);
    opacity: 1;
}

.language-option.active {
    background-color: rgba(222, 106, 53, 0.1);
    color: var(--primary);
    font-weight: var(--font-weight-bold);
}

.language-option .flag-icon {
    font-size: 16px;
    line-height: 1;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-glow {
        width: 400px;
        height: 400px;
        top: 5%;
        right: -20%;
    }

    .hero-phone {
        max-width: 280px;
    }

    /* Showcase responsive */
    .showcase-phones {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* How It Works responsive */
    .step-row,
    .step-row-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-l);
        direction: ltr;
    }

    .step-phone {
        order: -1;
    }

    .step-phone img {
        max-width: 240px;
    }

    /* Collection Showcase responsive */
    .cards-display {
        height: 280px;
    }

    .floating-card {
        width: 80px;
    }

    .floating-card.card-1 { left: 2%; }
    .floating-card.card-2 { left: 20%; }
    .floating-card.card-4 { right: 20%; }
    .floating-card.card-5 { right: 2%; }

    .pack-item img {
        width: 60px;
    }

    .packs-row {
        gap: var(--spacing-m);
    }

    .step-content,
    .step-row-reverse .step-content {
        align-items: center;
        text-align: center;
    }

    .step-content p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    :root {
        --font-xxl: 2rem;      /* 32px */
        --font-xl: 1.5rem;     /* 24px */
        --font-l: 1.25rem;     /* 20px */
    }

    .header-content {
        padding: 0 var(--spacing-s);
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: calc(64px + var(--spacing-xl));
        padding-bottom: var(--spacing-xl);
    }

    .hero-subtitle {
        font-size: var(--font-m);
        text-wrap: balance;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-m);
        justify-items: center;
        max-width: 280px;
        margin: 0 auto;
    }

    .stat {
        min-width: 100px;
    }

    .section-subtitle {
        font-size: var(--font-s);
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .store-badge img {
        height: 60px;
    }

    .laurel-rating {
        width: 80px;
        height: 64px;
    }

    .laurel-img {
        width: 80px;
    }

    .laurel-score {
        font-size: var(--font-xl);
    }

    /* Rating Section Mobile */
    .rating-laurel {
        width: 150px;
        height: 120px;
    }

    .rating-laurel-img {
        width: 150px;
    }

    .rating-score {
        font-size: 40px;
    }

    .rating-text {
        font-size: var(--font-m);
    }

    .hero-phone {
        max-width: 240px;
    }

    .step-phone img {
        max-width: 200px;
    }

    .hero-glow {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-l);
        align-items: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-m);
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    /* Legal pages mobile */
    .legal-table {
        font-size: 12px;
    }

    .legal-table th,
    .legal-table td {
        padding: var(--spacing-xs) var(--spacing-s);
    }

    .delete-method,
    .warning-box,
    .support-contact-box,
    .legal-contact,
    .legal-conclusion {
        padding: var(--spacing-m);
    }

    .quick-links {
        justify-content: center;
    }

    /* Language selector mobile */
    .language-selector {
        width: 100%;
    }

    .language-btn {
        width: 100%;
        justify-content: center;
    }

    .language-dropdown {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - var(--spacing-m));
        max-width: 200px;
    }
}

/* ============================================================================
   ACCESSIBILITY - Reduced Motion
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .floating {
        animation: none;
    }

    .hero-glow {
        animation: none;
    }

    .showcase-phone,
    .showcase-phone-left .phone-mockup-mini,
    .showcase-phone-right .phone-mockup-mini {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   PRIVACY BANNER (Informational - No Cookie Consent Required)
   ============================================================================ */

.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    color: white;
    padding: var(--spacing-m);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.privacy-banner.visible {
    transform: translateY(0);
}

.privacy-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-l);
    flex-wrap: wrap;
    text-align: center;
}

.privacy-banner-content p {
    margin: 0;
    font-size: var(--font-s);
}

.privacy-banner-content a {
    color: var(--primary);
    text-decoration: underline;
}

.privacy-banner-close {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: var(--spacing-s) var(--spacing-l);
    border-radius: var(--radius-s);
    font-family: inherit;
    font-size: var(--font-s);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: opacity 0.2s;
}

.privacy-banner-close:hover {
    opacity: 0.9;
}
