* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --success: #10b981;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    gap: 1rem;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-left,
.nav-right {
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav-content .logo {
    position: relative;
    left: 0;
    transform: none;
    margin: 0;
}

.nav-content .hamburger {
    margin-left: 0;
}

.nav-content .nav-links {
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-img,
.logo-lottie {
    height: 48px;
    width: auto;
}

.logo-lottie {
    display: block;
}

lottie-player.logo-lottie {
    height: 48px;
    width: auto;
}

.logo-fallback {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.language-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.language-trigger:hover,
.language-trigger:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.language-trigger i {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.language-trigger-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
}

.language-trigger-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
}

.language-trigger-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.language-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.language-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.language-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.language-modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-white);
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.language-modal.is-visible .language-modal-panel {
    transform: translateY(0);
}

.language-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.language-modal-title-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.language-modal-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.language-modal-subtitle {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.language-modal-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.language-modal-close:hover,
.language-modal-close:focus-visible {
    background: var(--bg-gray);
    color: var(--text-primary);
    outline: none;
}

.language-modal-body {
    padding: 1.25rem;
    max-height: 60vh;
    overflow-y: auto;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--border);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    background: var(--bg-white);
    font: inherit;
    text-align: left;
    width: 100%;
    color: inherit;
    border-width: 1.5px;
}

.language-option:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.language-option.selected {
    border-color: var(--primary);
    background: rgba(30, 64, 175, 0.06);
}

.language-option-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.language-option-native {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.language-option-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.language-option-check {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s;
}

.language-option.selected .language-option-check {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #001f3f 0%, #013a63 50%, #014f86 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    text-align: left;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 720px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
}

.app-preview-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.app-preview {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.2s;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.08);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    color: var(--primary);
    transition: color 0.2s;
}

.feature-card:hover .feature-icon svg {
    color: var(--primary-dark);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonials {
    padding: 4rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    background: var(--bg-gray);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Chores Showcase */
.chores-showcase {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.slideshow-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-white);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.3) 60%, transparent);
    padding: 1.25rem 2rem;
    color: white;
    text-align: center;
    backdrop-filter: blur(8px);
}

.slide-icon {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.slide-caption h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.slide-caption p {
    font-size: 0.9rem;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slideshow-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.slideshow-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slideshow-prev {
    left: 1.5rem;
}

.slideshow-next {
    right: 1.5rem;
}

.slideshow-btn i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.slideshow-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.2);
}

.slideshow-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: var(--bg-white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Hero section - side-by-side layout on desktop */
    .hero-wrapper {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
        justify-content: space-between;
    }

    .hero-content {
        flex: 1;
        max-width: 600px;
    }

    .hero-image {
        flex: 0 0 auto;
        max-width: 700px;
    }
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover img {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.screenshot-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.app-slideshow-container {
    position: relative;
    max-width: 600px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.app-slideshow-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.app-slide img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.app-slide:hover img {
    transform: scale(1.02);
}

.app-slide-caption {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.app-slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-slideshow-btn:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.app-slideshow-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.app-slideshow-prev {
    left: -1rem;
}

.app-slideshow-next {
    right: -1rem;
}

.app-slideshow-btn i {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.app-slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.app-slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.app-slideshow-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.app-slideshow-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
    }

    .slideshow-btn {
        width: 40px;
        height: 40px;
    }

    .slideshow-prev {
        left: 0.5rem;
    }

    .slideshow-next {
        right: 0.5rem;
    }

    .app-slideshow-container {
        max-width: 100%;
    }

    .app-slideshow-btn {
        width: 38px;
        height: 38px;
    }

    .app-slideshow-prev {
        left: 0.25rem;
    }

    .app-slideshow-next {
        right: 0.25rem;
    }

    .app-slide {
        padding: 1rem;
    }

    .app-slide img {
        max-width: 280px;
    }
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #001f3f 0%, #013a63 50%, #014f86 100%);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    transition: transform 0.2s;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px;
    width: auto;
}

.download-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.footer-company {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo-link {
    display: inline-block;
    transition: opacity 0.2s;
}

.company-logo-link:hover {
    opacity: 0.8;
}

.company-logo {
    max-height: 36px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .nav-content {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .nav-left,
    .nav-right {
        flex: 0 0 auto;
        min-width: 40px;
    }

    .nav-center {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .nav-left {
        justify-content: flex-start;
    }

    .nav-center {
        justify-content: center;
    }

    .nav-right {
        justify-content: flex-end;
    }

    .language-trigger {
        min-width: auto;
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        border-radius: 8px;
    }

    .language-trigger-text {
        display: none;
    }

    .language-trigger i {
        width: 24px;
        height: 24px;
    }

    .logo {
        flex: 1;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
    }

    .logo-img,
    .logo-lottie,
    .logo-fallback,
    lottie-player.logo-lottie {
        height: 48px !important;
    }

    .hero .container {
        align-items: center;
        text-align: center;
    }

    .hero-wrapper {
        align-items: center;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        max-width: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem;
        gap: 0.5rem;
        z-index: 100;
    }

    .nav-links.mobile-open a {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        transition: background 0.2s;
    }

    .nav-links.mobile-open a:hover {
        background: var(--bg-gray);
    }

    .hamburger {
        display: flex;
        margin-left: 0;
        order: 3;
        z-index: 101;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 8px;
    }

    .nav-content {
        padding: 0.5rem 0;
    }

    .logo-img,
    .logo-lottie,
    .logo-fallback,
    lottie-player.logo-lottie {
        height: 48px !important;
    }
}

/* Changelog Page Styles */
.changelog-section {
    padding: 4rem 0;
    background: var(--bg-white);
    min-height: 80vh;
}

.changelog-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.changelog-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.changelog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.changelog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--text-secondary);
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.changelog-search {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.changelog-item {
    background: var(--bg-gray);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    max-width: 100%;
}

.changelog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.changelog-item-recent {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, rgba(30, 64, 175, 0.02), var(--bg-gray));
}

.changelog-item-recent:first-child {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.latest-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--primary);
    color: white;
    letter-spacing: 0.5px;
}

.changelog-version-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.changelog-version {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-major {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.type-minor {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.type-patch {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.changelog-title-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.changelog-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.changelog-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.changelog-features li {
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary);
    font-weight: 500;
}

.changelog-full {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-top: 1.5rem;
}

.changelog-full h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.25rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.changelog-full h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}


.changelog-full h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    padding-left: 0.5rem;
    border-left: 3px solid var(--primary);
}

.changelog-full h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
}

.changelog-full ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.changelog-full ul li {
    margin: 1rem 0;
    color: var(--text-secondary);
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    line-height: 1.7;
}

.changelog-full ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.changelog-full p {
    margin: 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Category Styles */
.changelog-category {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 0.75rem;
    background: var(--bg-white);
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.changelog-category:first-child {
    margin-top: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-icon {
    font-size: 1.25rem;
}

.category-title {
    flex: 1;
}

.changelog-section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.changelog-section-heading:first-child {
    margin-top: 0;
}

/* Category-specific colors */
.category-new {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.category-fixes {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.category-improvements {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.category-changed {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.category-deprecated {
    border-left-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}

.category-removed {
    border-left-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.changelog-category ul {
    margin: 0.5rem 0;
}

.changelog-category ul li {
    margin: 0.5rem 0;
}

.changelog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.changelog-error {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.nav-active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Responsive Changelog */
@media (max-width: 768px) {
    .changelog-title {
        font-size: 2rem;
    }

    .changelog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .changelog-search {
        max-width: 100%;
    }

    .changelog-version {
        font-size: 1.5rem;
    }

    .changelog-item {
        padding: 1.5rem;
    }

    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .changelog-features {
        grid-template-columns: 1fr;
    }

    .changelog-category {
        padding: 1rem;
    }

    .category-header {
        font-size: 1rem;
    }

    .changelog-full h3 {
        font-size: 1.25rem;
    }

    .changelog-full h4 {
        font-size: 1.125rem;
    }
}

