/* ============================================
   CupNation – Website Stylesheet
   ============================================ */

:root {
    --primary: #1565C0;
    --primary-light: #1E88E5;
    --primary-dark: #0D47A1;
    --accent: #FF6F00;
    --accent-light: #FFA726;
    --bg: #F5F7FA;
    --bg-dark: #0A1628;
    --bg-dark-card: #112240;
    --card: #FFFFFF;
    --text: #1A1A2E;
    --text-light: #546E7A;
    --text-on-dark: #E0E6ED;
    --text-on-primary: #FFFFFF;
    --border: #E0E6ED;
    --shadow: 0 4px 24px rgba(21, 101, 192, 0.10);
    --shadow-lg: 0 8px 40px rgba(21, 101, 192, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1E88E5 100%);
    --gradient-accent: linear-gradient(135deg, #FF6F00 0%, #FFA726 100%);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { font-size: 1.05rem; color: var(--text-light); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ---- Layout ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

.navbar-nav a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: 8px;
    transition: all var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
    background: rgba(21, 101, 192, 0.07);
}

.lang-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 0.3rem;
}

.lang-switch-btn {
    font-size: 1.25rem !important;
    padding: 0.4rem 0.7rem !important;
    border-radius: 8px !important;
    transition: all var(--transition);
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lang-switch-btn .flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.lang-switch-btn:hover {
    background: rgba(21, 101, 192, 0.07) !important;
    transform: scale(1.1);
}

.lang-switch-btn.active {
    background: rgba(21, 101, 192, 0.12) !important;
    border-radius: 8px;
    box-shadow: inset 0 0 0 2px var(--primary);
}

.lang-switch-btn:not(.active) {
    opacity: 0.5;
}

.lang-switch-btn:not(.active):hover {
    opacity: 1;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    margin: 5px 0;
    transition: all var(--transition);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient);
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--text-on-primary);
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-content h1 span {
    color: var(--accent-light);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-phone {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-phone .phone-mockup {
    width: 280px;
    height: 560px;
    background: #111;
    border-radius: 36px;
    border: 5px solid #333;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hero-phone .phone-mockup .phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 31px;
}

.hero-phone .phone-mockup .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 3;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 111, 0, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.3);
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(21, 101, 192, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--text);
    margin-bottom: 0.8rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Feature Cards ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(21, 101, 192, 0.12);
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.feature-card .icon.blue { background: rgba(21, 101, 192, 0.1); }
.feature-card .icon.orange { background: rgba(255, 111, 0, 0.1); }
.feature-card .icon.green { background: rgba(46, 125, 50, 0.1); }
.feature-card .icon.purple { background: rgba(106, 27, 154, 0.1); }
.feature-card .icon.red { background: rgba(198, 40, 40, 0.1); }
.feature-card .icon.teal { background: rgba(0, 121, 107, 0.1); }

.feature-card h3 {
    color: var(--text);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ---- Scoring Table ---- */
.scoring-section {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.scoring-section .section-header h2 { color: #fff; }
.scoring-section .section-header p { color: rgba(255, 255, 255, 0.6); }
.scoring-section .section-header .label { background: rgba(255, 255, 255, 0.1); color: var(--accent-light); }

.scoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.scoring-card {
    background: var(--bg-dark-card);
    border-radius: var(--radius-sm);
    padding: 1.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.scoring-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.scoring-card .points {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.scoring-card .desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Steps / How-To ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-card .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.step-card h4 {
    color: var(--text);
    margin: 0.8rem 0 0.5rem;
}

.step-card p {
    font-size: 0.92rem;
}

/* ---- Screenshot Gallery ---- */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item .screenshot-img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
}

.screenshot-item .screenshot-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
}

.screenshot-item .caption {
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    text-align: center;
}

/* ---- Guide Sections ---- */
.guide-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.guide-section.reverse {
    direction: rtl;
}

.guide-section.reverse > * {
    direction: ltr;
}

.guide-text h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.guide-text p {
    margin-bottom: 1rem;
}

.guide-text ul {
    list-style: none;
    padding: 0;
}

.guide-text ul li {
    padding: 0.4rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.97rem;
    color: var(--text-light);
}

.guide-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.guide-visual {
    display: flex;
    justify-content: center;
}

.phone-frame {
    background: #111;
    border-radius: 30px;
    border: 4px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guide-visual .phone-frame {
    width: 210px;
    height: 420px;
}

.guide-visual .phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-visual .phone-frame .placeholder-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2.5rem;
}

/* ---- Screenshots gallery ---- */
.screenshots-gallery {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshots-gallery .gallery-item {
    text-align: center;
    flex: 0 0 auto;
}

.screenshots-gallery .phone-frame {
    width: 150px;
    height: 300px;
    margin: 0 auto;
}

.screenshots-gallery .gallery-label {
    margin-top: 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---- Two-phone guide-visual ---- */
.guide-visual.two-phones {
    gap: 1.2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.guide-visual.two-phones .phone-frame {
    width: 180px;
    height: 360px;
}

/* ---- Pricing / Premium ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'Nejoblíbenější';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.pricing-card .price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card .feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}

.pricing-card .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ---- Beta Testing Section ---- */
.beta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.beta-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.beta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.beta-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}
.beta-text {
    flex: 1;
}
.beta-label {
    background: rgba(99,102,241,0.25) !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(99,102,241,0.4);
}
.beta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0.75rem 0 1rem;
    line-height: 1.2;
}
.beta-text h2 span {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.beta-intro {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 520px;
}
.beta-steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
}
.beta-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
}
.beta-step-num {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
    box-shadow: 0 4px 12px rgba(99,102,241,0.45);
}
.beta-step strong {
    display: block;
    color: #e0e7ff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.beta-step p {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}
.beta-step a {
    color: #a5b4fc;
}
.beta-phone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.beta-phone .phone-mockup {
    width: 210px;
    height: 420px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
@media (max-width: 900px) {
    .beta-content { flex-direction: column; align-items: center; gap: 2.5rem; }
    .beta-phone { order: -1; }
    .beta-phone .phone-mockup { width: 160px; height: 320px; }
    .beta-text h2 { font-size: 1.9rem; }
    .beta-intro { max-width: 100%; }
}

/* ---- CTA Banner ---- */
.cta-section {
    background: var(--gradient);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- About / Author ---- */
.about-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2);
}

.about-info h3 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.about-info .role {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-info p {
    margin-bottom: 1rem;
}

.about-links {
    display: flex;
    gap: 1rem;
}

.about-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: rgba(21, 101, 192, 0.07);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.about-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- Tech Stack ---- */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.tech-badge {
    background: var(--card);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content p { margin: 0 auto 2rem; }
    .hero-badges { justify-content: center; }
    .btn-group { justify-content: center; }

    .hero-phone .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .guide-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guide-section.reverse {
        direction: ltr;
    }

    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-links { justify-content: center; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    section { padding: 3rem 0; }

    .navbar-nav { display: none; }
    .navbar-toggle { display: block; }

    .navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav.open .lang-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }

    .navbar-nav.open .lang-switch-btn {
        text-align: center;
    }

    .hero { min-height: auto; padding: 100px 0 3rem; }

    .hero-phone .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .features-grid { grid-template-columns: 1fr; }
    .scoring-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .screenshot-gallery { grid-template-columns: 1fr 1fr; }
    .guide-visual .phone-frame { width: 170px; height: 340px; }
    .guide-visual.two-phones .phone-frame { width: 150px; height: 300px; }
    .screenshots-gallery .phone-frame { width: 130px; height: 260px; }
}

/* ---- Lightbox ---- */
.phone-frame img,
.screenshot-img { cursor: zoom-in; }
.phone-frame img:hover,
.screenshot-img:hover { opacity: 0.85; transition: opacity 0.2s; }

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
#lightbox.active { display: flex; }
#lightbox-img {
    max-width: min(420px, 88vw);
    max-height: 88vh;
    border-radius: 20px;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}
#lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
}
#lightbox-close:hover { opacity: 1; }
