/* Modern Premium CSS Reset & Styles for AutoScroll Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #FCF9F5; /* Cozy Warm Champagne Ivory background */
    --bg-card: rgba(255, 255, 255, 0.94); /* Smooth White Glass Card */
    --primary: #B86B73; /* Luxurious Rose Gold */
    --primary-glow: rgba(184, 107, 115, 0.15);
    --primary-hover: #C57E86; /* Warm Copper Peach */
    --text-main: #3E292B; /* Dark Espresso Cocoa - high contrast, soft on eyes */
    --text-muted: #826E6F; /* Soft Bronze Grey */
    --border-color: rgba(197, 160, 89, 0.18); /* Cozy Champagne Gold highlight border */
    --glass-border: rgba(184, 107, 115, 0.25); /* Sparkling Rose Gold highlight border */
    --font-outfit: 'Outfit', 'Inter', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-inter);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at 50% -20%, rgba(184, 107, 115, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(229, 193, 88, 0.12) 0%, transparent 40%);
    line-height: 1.6;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(184, 107, 115, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Glassmorphic Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(252, 249, 245, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 10px var(--primary-glow);
}

.logo span {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.btn-nav-download {
    background: linear-gradient(135deg, var(--primary), #9B4F56);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-family: var(--font-outfit);
    font-weight: 600;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(184, 107, 115, 0.2);
}

.btn-nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 107, 115, 0.4);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Main Container Panels */
.tab-content {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   HERO / HOME PAGE
   ========================================== */
.hero-section {
    padding: 10rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(184, 107, 115, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.hero-title {
    font-family: var(--font-outfit);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #B86B73 30%, #D4AF37 100%); /* Gorgeous Golden with Rose Vibe */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8C3D45);
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 25px rgba(184, 107, 115, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(184, 107, 115, 0.45);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-secondary {
    background: rgba(197, 160, 89, 0.05);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(197, 160, 89, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: #D4AF37;
    transform: translateY(-2px);
}

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

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, transparent 70%);
    z-index: -1;
    top: 10%;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(184, 107, 115, 0.15);
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(184, 107, 115, 0.25);
}

/* Features Grid */
.features-section {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-outfit);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.06), 0 0 20px rgba(184, 107, 115, 0.15);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C5A059; /* Dynamic Champagne Gold Color */
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.08);
}

.feature-card h3 {
    font-family: var(--font-outfit);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   HELP & HOW-TO PAGE
   ========================================== */
.help-section {
    padding: 10rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.03);
}

.step-card:hover {
    border-color: var(--glass-border);
    transform: scale(1.01);
}

.step-num {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #8C3D45);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 20px rgba(184, 107, 115, 0.3);
}

.step-info h3 {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.step-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-interactive {
    background: rgba(197, 160, 89, 0.04);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.step-interactive h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.brand-btn {
    background: rgba(197, 160, 89, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
}

.brand-btn:hover, .brand-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.brand-details {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 3px solid #D4AF37; /* Beautiful Champagne Gold Indicator Line */
    font-size: 0.95rem;
    display: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.05);
}

.brand-details.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

/* ==========================================
   DOWNLOAD PAGE
   ========================================== */
.download-section {
    padding: 10rem 2rem 6rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.06);
}

.download-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
}

.download-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #8C3D45);
    box-shadow: 0 0 30px rgba(184, 107, 115, 0.3);
}

.download-logo svg {
    width: 48px;
    height: 48px;
    fill: white;
}

.download-version {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.download-box h3 {
    font-family: var(--font-outfit);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.download-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.download-btn-wrapper {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.btn-download-action {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #8C3D45);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(184, 107, 115, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
}

.btn-download-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(184, 107, 115, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(197, 160, 89, 0.08);
    border-radius: 30px;
    margin-top: 1.5rem;
    overflow: hidden;
    display: none;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transition: width 0.1s linear;
}

.download-success-msg {
    margin-top: 1rem;
    color: #C0787A;
    font-weight: 600;
    display: none;
}

.changelog-box {
    margin-top: 4rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.02);
}

.changelog-box h4 {
    font-family: var(--font-outfit);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.changelog-list {
    list-style: none;
}

.changelog-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.changelog-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    background: rgba(252, 249, 245, 0.8);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE LAYOUTS
   ========================================== */
@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 8rem;
    }
    
    .hero-info {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   DYNAMIC QR CODE STYLING
   ========================================== */
.qr-code-wrapper {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#qrcode {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    display: inline-block;
    transition: var(--transition);
}

#qrcode:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.2);
}

#qrcode img {
    display: block;
}

.qr-tip {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* ==========================================
   CLOUDFLARE TURNSTILE WIDGET
   ========================================== */
.cf-turnstile {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
