/* ============================================
   Cestovatelský deník — Landing Page Styles
   Design: Dark Glassmorphism
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0A1A;
    --bg-secondary: #1A1A2E;
    --bg-tertiary: #0F0F23;
    --accent-primary: #7B68EE;
    --accent-primary-light: #A78BFA;
    --accent-secondary: #FF8C42;
    --accent-success: #4CAF50;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --text-tertiary: rgba(255,255,255,0.5);
    --text-muted: rgba(255,255,255,0.3);
    --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    --glass-border: rgba(255,255,255,0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Ambient Background --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.ambient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123,104,238,0.3), transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.ambient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,140,66,0.2), transparent 70%);
    bottom: 20%;
    left: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.ambient-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76,175,80,0.15), transparent 70%);
    top: 50%;
    right: -100px;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-80px, 60px); }
    66% { transform: translate(40px, -40px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, -80px); }
    66% { transform: translate(-30px, 50px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, -60px); }
}

/* --- Glassmorphism Utility --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-light), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section Common --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-primary-light);
    background: rgba(123,104,238,0.12);
    border: 1px solid rgba(123,104,238,0.2);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-light));
    color: white;
    box-shadow: 0 4px 24px rgba(123,104,238,0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(123,104,238,0.45);
}

.btn--glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

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

.btn--appstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    background: white;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn--appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

.btn__appstore-small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    opacity: 0.7;
}

.btn__appstore-big {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav--scrolled {
    padding: 10px 0;
    background: rgba(10,10,26,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-light));
    color: white;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123,104,238,0.35);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-success);
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.2);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-primary-light);
}

.hero__stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--glass-border);
}

/* --- Device Mockup (iPhone 15 PNG) --- */
.hero__visual {
    display: flex;
    justify-content: center;
}

.device-mockup {
    position: relative;
    width: 300px;
}

.device-mockup--small {
    width: 240px;
}

.device-mockup__img {
    width: 100%;
    height: auto;
    display: block;
}

.device-mockup__glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 50% 30%, rgba(123,104,238,0.12), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* --- Mock App Content --- */
.mock-app {
    padding: 48px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-app__header {
    margin-bottom: 4px;
}

.mock-app__greeting {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.mock-app__subtitle {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.mock-app__stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.mock-stat-card--accent {
    border-color: rgba(123,104,238,0.2);
}

.mock-stat-card__number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-primary-light);
}

.mock-stat-card__label {
    display: block;
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.mock-app__map {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 8px;
    flex: 1;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-globe__svg {
    width: 100%;
    height: auto;
}

@keyframes mockPulse {
    0%, 100% { r: 3; opacity: 1; }
    50% { r: 5; opacity: 0.6; }
}

.mock-pulse {
    animation: mockPulse 2s ease-in-out infinite;
}

.mock-app__continent {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.mock-continent-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mock-continent-row span:last-child {
    color: var(--text-tertiary);
}

.mock-progress {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.mock-progress__bar {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-primary-light));
    transition: width 1.5s ease-out;
}

.mock-progress__bar--orange {
    background: linear-gradient(90deg, var(--accent-secondary), #FFB74D);
}

/* --- Features --- */
.features {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-card--large {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(123,104,238,0.1);
    border: 1px solid rgba(123,104,238,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card__icon {
    font-size: 22px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card__visual {
    flex: 1;
    position: relative;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    background: rgba(123,104,238,0.05);
    border: 1px solid rgba(123,104,238,0.1);
    min-height: 200px;
    overflow: hidden;
}

.feature-card__visual .feature-card__screenshot {
    border-radius: 0;
    transition: transform 0.4s ease;
}

.feature-card--large:hover .feature-card__visual .feature-card__screenshot {
    transform: scale(1.03);
}

/* Map Dots Animation */
.map-dots {
    position: absolute;
    inset: 0;
}

.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotAppear 3s ease-in-out infinite;
}

.map-dot--visited {
    background: var(--accent-success);
    box-shadow: 0 0 8px rgba(76,175,80,0.5);
}

.map-dot--wishlist {
    background: var(--accent-secondary);
    box-shadow: 0 0 8px rgba(255,140,66,0.5);
    animation-delay: 1s;
}

.map-dot--current {
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(123,104,238,0.6);
    width: 10px;
    height: 10px;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotAppear {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px rgba(123,104,238,0.6); }
    50% { opacity: 0.7; transform: scale(1.4); box-shadow: 0 0 20px rgba(123,104,238,0.8); }
}

/* --- Feature Card with Screenshot --- */
.feature-card--has-screen {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

.feature-card__screen {
    flex: 1;
    margin: 16px -12px -12px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    position: relative;
}

.feature-card__screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(10,10,26,0.6), transparent);
    pointer-events: none;
}

.feature-card__screenshot {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* --- Feature Card with Mockup (iPhone frame) --- */
.feature-card--has-mockup {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

.feature-card__mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 16px;
    padding: 0 8px;
}

.feature-card__mockup-img {
    width: 70%;
    max-width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
    transform: translateY(12px);
    transition: transform 0.4s ease;
}

.feature-card--has-mockup:hover .feature-card__mockup-img {
    transform: translateY(4px);
}

/* --- Achievements --- */
.achievements {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.achievements__showcase {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.achievements__hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.achievements__phone {
    display: flex;
    justify-content: center;
}

/* (device mockup sizes are handled by .device-mockup and .device-mockup--small) */

.achievements__tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tier-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.tier-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.tier-card__badge {
    margin-bottom: 16px;
}

.tier-card__badge--bronze svg { filter: drop-shadow(0 0 8px rgba(205,127,50,0.4)); }
.tier-card__badge--silver svg { filter: drop-shadow(0 0 8px rgba(192,192,192,0.4)); }
.tier-card__badge--gold svg { filter: drop-shadow(0 0 8px rgba(255,215,0,0.4)); }
.tier-card__badge--diamond svg { filter: drop-shadow(0 0 12px rgba(185,242,255,0.5)); }

.tier-card__name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tier-card__desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

.achievements__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-pill {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: default;
}

.category-pill:hover {
    border-color: rgba(123,104,238,0.3);
    background: rgba(123,104,238,0.08);
}

.achievements__examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateX(4px);
}

.achievement-card__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.achievement-card__info {
    flex: 1;
    min-width: 0;
}

.achievement-card__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.achievement-card__req {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.achievement-card__tier {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.achievement-card__tier--bronze { background: #CD7F32; box-shadow: 0 0 8px rgba(205,127,50,0.4); }
.achievement-card__tier--silver { background: #C0C0C0; box-shadow: 0 0 8px rgba(192,192,192,0.4); }
.achievement-card__tier--gold { background: #FFD700; box-shadow: 0 0 8px rgba(255,215,0,0.4); }
.achievement-card__tier--diamond { background: #B9F2FF; box-shadow: 0 0 8px rgba(185,242,255,0.5); }

/* --- Stats --- */
.stats {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.stats__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats__content .section-tag,
.stats__content .section-title,
.stats__content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.stats__features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.stats__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.stats__feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.stats__feature strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.stats__feature span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.stats-card {
    padding: 28px;
}

.stats-card__header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.stats-card__item {
    margin-bottom: 16px;
}

.stats-card__item-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stats-card__item-count {
    color: var(--text-tertiary);
    font-size: 13px;
}

.stats-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.stats-bar__fill {
    height: 100%;
    border-radius: 3px;
    background: var(--bar-color, var(--accent-primary));
    width: 0;
    transition: width 1.5s ease-out;
}

.stats-bar__fill.animated {
    width: var(--target-width);
}

.stats-card__flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.flag-emoji {
    font-size: 24px;
    transition: transform 0.2s;
    cursor: default;
}

.flag-emoji:hover {
    transform: scale(1.3);
}

.flag-emoji--more {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--text-tertiary);
    font-weight: 600;
}

/* --- Year in Review --- */
.rewind {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.rewind__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.rewind-card {
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.rewind-card--screenshot {
    padding: 0;
    aspect-ratio: 9/16;
    max-height: 400px;
}

.rewind-card--mockup {
    padding: 24px 12px;
    align-items: center;
    justify-content: center;
}

.rewind-card--screenshot .rewind-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-2xl);
}

.rewind-card--mockup .rewind-card__img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
}

.rewind-card--mockup:hover .rewind-card__img {
    transform: translateY(-8px) scale(1.03);
}

.rewind-card--screenshot:hover {
    transform: translateY(-8px) scale(1.02);
}

.rewind-card--mockup:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}

.rewind-card--1 {
    background: linear-gradient(160deg, #1a0a3e, #0a0a2e 40%, #0a1a2e);
    border: 1px solid rgba(123,104,238,0.25);
}

.rewind-card--2 {
    background: linear-gradient(160deg, #1a1a0a, #0a1a1a 40%, #0a0a2e);
    border: 1px solid rgba(255,140,66,0.25);
}

.rewind-card--3 {
    background: linear-gradient(160deg, #0a1a0a, #0a1a2e 40%, #1a0a2e);
    border: 1px solid rgba(76,175,80,0.25);
}

.rewind-card__progress {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.rewind-card__progress-dot {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
}

.rewind-card__progress-dot--active {
    background: white;
}

.rewind-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rewind-card__year {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary-light);
    letter-spacing: 2px;
}

.rewind-card__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 8px;
}

.rewind-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.rewind-card__stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.rewind-stat__number {
    display: block;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.rewind-card--1 .rewind-stat__number { color: var(--accent-primary-light); }
.rewind-card--2 .rewind-stat__number { color: var(--accent-secondary); }

.rewind-stat__label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.rewind-card__extreme {
    margin-bottom: 16px;
}

.rewind-card__direction {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.rewind-card__country {
    font-size: 20px;
    font-weight: 700;
}

.rewind-card__personality {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rewind-card__personality-icon {
    font-size: 36px;
}

.rewind-card__personality-name {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-success), #81C784);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rewind-card__personality-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* --- Pricing --- */
.pricing {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.pricing-card--premium {
    border-color: rgba(123,104,238,0.3);
    background: linear-gradient(135deg, rgba(123,104,238,0.08), rgba(123,104,238,0.02));
    transform: scale(1.05);
}

.pricing-card--premium:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: rgba(123,104,238,0.5);
    box-shadow: 0 12px 40px rgba(123,104,238,0.15);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-light));
    color: white;
    white-space: nowrap;
}

.pricing-card__header {
    margin-bottom: 28px;
}

.pricing-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card__amount {
    font-size: 36px;
    font-weight: 900;
}

.pricing-card__period {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-left: 4px;
}

.pricing-card__features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.pricing-card__feature--disabled {
    color: var(--text-muted);
}

/* --- Download CTA --- */
.download {
    position: relative;
    z-index: 1;
    padding: 80px 0 120px;
}

.download__card {
    position: relative;
    padding: 80px 40px;
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(123,104,238,0.1), rgba(123,104,238,0.02));
    border: 1px solid rgba(123,104,238,0.2);
}

.download__card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.download__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.download__orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(123,104,238,0.2);
    top: -100px;
    left: -50px;
}

.download__orb--2 {
    width: 250px;
    height: 250px;
    background: rgba(255,140,66,0.15);
    bottom: -80px;
    right: -30px;
}

.download__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.download__subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.download .btn--appstore {
    position: relative;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer__logo {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-block;
    vertical-align: middle;
}

.footer__desc {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color 0.2s;
}

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

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

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

    .feature-card--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .stats__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats__content .section-tag,
    .stats__content .section-title,
    .stats__content .section-subtitle {
        text-align: center;
    }

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

    .pricing-card--premium {
        transform: none;
    }

    .pricing-card--premium:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10,10,26,0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px 24px;
    }

    .nav__links.active {
        display: flex;
    }

    .nav__link {
        padding: 12px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav__link::after {
        display: none;
    }

    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .nav__burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 48px;
        min-height: auto;
    }

    .device-mockup {
        width: 240px;
    }

    .device-mockup--small {
        width: 200px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .achievements,
    .features,
    .stats,
    .rewind,
    .pricing {
        padding: 64px 0;
    }

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

    .feature-card--large {
        grid-column: span 1;
    }

    .feature-card {
        padding: 24px;
    }

    .achievements__hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats__visual .device-mockup {
        width: 260px;
        margin: 0 auto;
    }

    .achievements__tiers {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .achievements__showcase {
        gap: 32px;
    }

    .tier-card {
        padding: 24px 16px;
    }

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

    .feature-card__mini-screen {
        max-height: 150px;
    }

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

    .rewind-card--screenshot {
        aspect-ratio: auto;
        max-height: none;
    }

    .rewind-card--mockup {
        padding: 20px;
    }

    .rewind-card--mockup .rewind-card__img {
        max-width: 200px;
    }

    .hero__stats {
        flex-direction: row;
        gap: 0;
        justify-content: center;
        width: 100%;
    }

    .hero__stat {
        flex: 1;
        text-align: center;
    }

    .hero__stat-divider {
        width: 1px;
        height: 36px;
        flex-shrink: 0;
    }

    .stats__content .section-subtitle {
        max-width: 100%;
    }

    .stats__features-list {
        margin-top: 24px;
        gap: 16px;
    }

    .stats-card {
        padding: 20px;
    }

    .download {
        padding: 48px 0 80px;
    }

    .download__card {
        padding: 48px 24px;
        border-radius: 24px;
    }

    .footer__content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero__stats {
        gap: 0;
    }

    .hero__stat-number {
        font-size: 22px;
    }

    .hero__stat-label {
        font-size: 11px;
    }

    .achievements,
    .features,
    .stats,
    .rewind,
    .pricing {
        padding: 48px 0;
    }

    .achievements__tiers {
        gap: 10px;
    }

    .tier-card {
        padding: 20px 12px;
    }

    .tier-card__badge svg {
        width: 48px;
        height: 48px;
    }

    .tier-card__name {
        font-size: 14px;
    }

    .tier-card__desc {
        font-size: 12px;
    }

    .category-pill {
        padding: 8px 14px;
        font-size: 13px;
    }

    .achievement-card {
        padding: 14px 16px;
    }

    .rewind-card {
        padding: 20px;
    }

    .rewind-card__title {
        font-size: 24px;
    }

    .rewind-stat__number {
        font-size: 32px;
    }

    .rewind-card__country {
        font-size: 18px;
    }

    .rewind-card__personality-name {
        font-size: 24px;
    }

    .pricing__grid {
        max-width: 100%;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card__amount {
        font-size: 30px;
    }

    .download__card {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .download__title {
        font-size: 24px;
    }

    .download__subtitle {
        font-size: 15px;
    }

    .footer {
        padding: 32px 0;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer__link {
        font-size: 13px;
    }
}

/* --- Selection Color --- */
::selection {
    background: rgba(123,104,238,0.3);
    color: white;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Language Switcher --- */
.lang-switcher {
    position: relative;
    z-index: 1001;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.lang-switcher__btn:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
}

.lang-switcher__flag {
    font-size: 16px;
    line-height: 1;
}

.lang-switcher__code {
    letter-spacing: 0.5px;
}

.lang-switcher__arrow {
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.lang-switcher.active .lang-switcher__arrow {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(15,15,35,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.2s ease;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.lang-switcher.active .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-switcher__dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-switcher__dropdown::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(123,104,238,0.12);
    color: var(--accent-primary-light);
}

.lang-option__flag {
    font-size: 18px;
    line-height: 1;
}