:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f1016;
    /* Slightly warmer dark for orange */
    --bg-tertiary: #181920;
    --bg-card: rgba(24, 25, 32, 0.6);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;

    /* Yonke Men Orange Theme */
    --accent-primary: #F97316;
    /* Orange 500 */
    --accent-secondary: #EA580C;
    /* Orange 600 */
    --accent-glow: rgba(249, 115, 22, 0.3);

    --gradient-1: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --gradient-2: linear-gradient(135deg, #181920 0%, #0a0a0f 100%);
    --gradient-text: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #FDBA74 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-logo .accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: var(--bg-primary) !important;
    font-weight: 600;
}

.nav-cta:hover {
    box-shadow: 0 10px 30px var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

/* ===== Preview Window ===== */
.hero-preview {
    perspective: 1000px;
}

.preview-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.preview-window:hover {
    transform: rotateY(0) rotateX(0);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.preview-title {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.preview-content {
    display: flex;
    min-height: 300px;
}

.preview-sidebar {
    width: 160px;
    padding: 1rem;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.sidebar-item.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-primary);
}

.preview-main {
    flex: 1;
    padding: 1.25rem;
}

.stat-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

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

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.3s ease,
        box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* ===== Download Section ===== */
.download {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.download-container {
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    position: relative;
    padding: 3rem;
    background: var(--gradient-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    margin: 0 auto 1.5rem;
}

.download-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.download-content>p {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto 2rem;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: var(--bg-primary);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-download:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px var(--accent-glow);
}

.download-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 70px;
        /* Navbar height */
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-preview {
        display: block;
        /* Show it now */
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .preview-window {
        transform: rotateY(0) rotateX(0);
        /* Reset tilt on mobile for simplicity */
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .preview-content {
        flex-direction: column;
    }

    .preview-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem;
    }

    .sidebar-item {
        white-space: nowrap;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .stat-cards {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .btn {
        width: 100%;
    }

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

    .download-info {
        flex-direction: column;
        gap: 1rem;
    }


    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .orb-1,
    .orb-2 {
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .version-badge {
        font-size: 0.75rem;
        white-space: normal;
        /* Allow badge text to wrap if needed */
        text-align: center;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.gallery-preview-wrapper {
    max-width: 900px;
    margin: 0 auto;
    perspective: 1000px;
}

.gallery-image-container {
    padding: 0;
    background: #000;
    /* Ensure black background for screenshots */
}

.gallery-image-container img {
    width: 100%;
    height: auto;
    display: block;
}