/* ==========================================
   MediaSqueezer Official Website
   Colors & fonts extracted from GlassTheme.xaml
   ========================================== */

/* ── CSS Variables (from source code) ── */
:root {
    /* Primary Colors — GlassTheme.xaml line 10-12 */
    --primary: #3b66f5;
    --primary-hover: #2d4ecf;
    --primary-pressed: #2541b2;

    /* Background */
    --gradient-start: #ffffff;
    --gradient-end: #ffffff;

    /* Text Colors — GlassTheme.xaml line 21-23 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-on-primary: #ffffff;

    /* Surface */
    --glass-surface: #ffffff;
    --glass-border: #e5e7eb;
    --glass-highlight: #ffffff;

    /* Semantic Colors — GlassTheme.xaml line 31-38 */
    --warning: #C59B45;
    --danger: #B85C5C;
    --secondary: #6B7A8F;

    /* Font — GlassTheme.xaml line 67 */
    --font: 'Noto Sans JP', 'Malgun Gothic', 'Meiryo UI', 'Segoe UI', sans-serif;

    /* Animation — GlassTheme.xaml toggle switch 120ms */
    --duration: 120ms;
    --duration-slow: 300ms;
    --ease: cubic-bezier(0.33, 1, 0.68, 1);

    /* Spacing */
    --container-max: 1200px;
    --section-pad: 120px;
    --card-radius: 16px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--gradient-start);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--duration-slow) var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(59, 102, 245, 0.2);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 24px;
    transition: all var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--text-primary);
    background: #f0f1f5;
}

.nav-cta {
    background: var(--primary);
    color: var(--text-on-primary) !important;
    padding: 8px 20px;
}

.nav-cta:hover {
    background: var(--primary-hover);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-orbs {
    display: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #67e8f9;
    top: -200px;
    left: -100px;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #d8b4fe;
    top: 200px;
    right: -150px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #3b66f5;
    bottom: 100px;
    left: 30%;
    opacity: 0.2;
    animation: orbFloat 18s ease-in-out infinite 5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(28px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--text-on-primary);
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-on-primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59, 102, 245, 0.35);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.btn-glass:hover {
    background: #f0f1f5;
    border-color: #d1d5db;
    color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-large {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
}

.btn-xlarge {
    padding: 18px 40px;
    border-radius: 14px;
    font-size: 17px;
}

/* ── Hero Stats ── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
}

/* ── Screenshot Frame ── */
.screenshot-frame {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.10),
        0 32px 80px rgba(59, 102, 245, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.5s var(--ease);
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease);
}

.screenshot-frame:hover img {
    transform: scale(1.02);
}

/* ── Hero Screenshot ── */
.hero-screenshot {
    margin-top: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    perspective: 1200px;
}

.hero-screenshot .screenshot-frame {
    transform: rotateX(3deg);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.10),
        0 24px 64px rgba(0, 0, 0, 0.12),
        0 48px 100px rgba(59, 102, 245, 0.10);
}

.hero-screenshot .screenshot-frame:hover {
    transform: rotateX(0deg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 32px 80px rgba(59, 102, 245, 0.14);
}

/* ── Section Shared ── */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-badge {
    display: inline-block;
    background: rgba(59, 102, 245, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 24px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: none;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Features Section ── */
.features {
    padding: var(--section-pad) 0;
}

.features>.container {
    position: relative;
    z-index: 1;
}

/* ── Feature Showcase (alternating left/right) ── */
.feature-showcase {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.feature-showcase.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-showcase.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.feature-showcase.reverse .showcase-screenshot {
    order: 2;
}

.feature-showcase.reverse .showcase-info {
    order: 1;
}

.showcase-screenshot .screenshot-frame {
    border-radius: var(--card-radius);
}

.showcase-screenshot .screenshot-frame:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.10),
        0 24px 64px rgba(59, 102, 245, 0.12);
    transform: translateY(-4px);
}

.showcase-info {
    padding: 8px 0;
}

.showcase-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: -0.04em;
}

.showcase-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.showcase-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.showcase-tags li {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(59, 102, 245, 0.06);
    color: var(--primary);
    border: 1px solid rgba(59, 102, 245, 0.12);
    transition: all var(--duration) var(--ease);
}

.showcase-tags li:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.showcase-tags.compact li {
    font-size: 11px;
    padding: 4px 10px;
}

/* ── Extra feature cards (no screenshot) ── */
.extra-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.extra-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--card-radius);
    padding: 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.5s var(--ease);
}

.extra-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.extra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(59, 102, 245, 0.1);
    border-color: rgba(59, 102, 245, 0.2);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ── Formats Section ── */
.formats {
    padding: var(--section-pad) 0;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.format-category {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--card-radius);
    padding: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease);
}

.format-category.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.format-category:hover {
    background: #f8f9fb;
    border-color: rgba(59, 102, 245, 0.15);
}

.format-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.format-category h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.format-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.format-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: #f0f1f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    letter-spacing: 0.02em;
    transition: all var(--duration) var(--ease);
}

.format-tag:hover {
    background: var(--primary);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* ── Tech Stack ── */
.tech-stack {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--card-radius);
    padding: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease);
}

.tech-stack.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tech-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tech-logo {
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 102, 245, 0.2);
    transition: all var(--duration) var(--ease);
}

.tech-item:hover .tech-logo {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 102, 245, 0.3);
}

.tech-item span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── FAQ Section ── */
.faq {
    padding: var(--section-pad) 0;
}


.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--card-radius);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease);
    margin-bottom: 12px;
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: rgba(59, 102, 245, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--duration) var(--ease);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    color: var(--text-secondary);
    transition: transform var(--duration-slow) var(--ease);
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Download Section ── */
.download {
    padding: var(--section-pad) 0;
}

.download-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 80px 48px;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease);
}

.download-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.download-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.download-actions {
    margin-bottom: 16px;
}

.download-version {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.download-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 102, 245, 0.08);
}

.ring-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: ringPulse 8s ease-in-out infinite;
}

.ring-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: ringPulse 10s ease-in-out infinite 2s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulseCenter 6s ease-in-out infinite 1s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes ringPulseCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }
}

/* ── Guide CTA Card ── */
.guide-cta-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease);
}

.guide-cta-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.guide-cta-content {
    position: relative;
    z-index: 2;
}

.guide-cta-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 12px 0 16px;
}

.guide-cta-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ── */
.site-footer {
    padding: 48px 0 32px;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ── Animate In ── */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ── Responsive ── */
@media (max-width: 1024px) {

    .hero-content {
        max-width: 90%;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-showcase.reverse .showcase-screenshot {
        order: 0;
    }

    .feature-showcase.reverse .showcase-info {
        order: 0;
    }

    .showcase-number {
        font-size: 40px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.35;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 14px;
        margin-bottom: 20px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        background: #ffffff;
        border-radius: 12px;
        padding: 14px 8px;
        border: 1px solid #e5e7eb;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
        margin-top: 2px;
    }

    .hero-screenshot {
        margin-top: 40px;
    }

    .hero-screenshot .screenshot-frame {
        transform: none;
    }

    .feature-showcase {
        margin-bottom: 48px;
    }

    .showcase-info {
        text-align: center;
    }

    .showcase-number {
        font-size: 36px;
    }

    .showcase-title {
        font-size: 19px;
    }

    .showcase-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-desc {
        font-size: 14px;
    }

    .download-card {
        padding: 40px 20px;
    }

    .download-title {
        font-size: 22px;
    }

    .download-desc {
        font-size: 14px;
    }

    .download-version {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-large,
    .btn-xlarge {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .guide-cta-card {
        padding: 40px 20px;
    }

    .guide-cta-title {
        font-size: 22px;
    }

    .guide-cta-desc {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-pad: 48px;
    }

    .hero {
        padding-top: 96px;
    }

    .hero-title {
        font-size: 19px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-stats {
        max-width: 280px;
        gap: 10px;
    }

    .stat-item {
        padding: 10px 6px;
    }

    .stat-number {
        font-size: 20px;
    }

    .showcase-number {
        font-size: 32px;
        margin-bottom: -12px;
    }

    .showcase-title {
        font-size: 17px;
    }

    .section-title {
        font-size: 20px;
    }

    .feature-showcase {
        margin-bottom: 36px;
    }

    .download-title {
        font-size: 20px;
    }

    .btn-large,
    .btn-xlarge {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
}