/* ===== Reset & Base ===== */
html {
    scroll-behavior: smooth;
}

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

:root {
    --bg: #090914;
    --color-primary: #7b6ef6;
    --color-primary-hover: #6a5de6;
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    --text-nav: #7a8198;
    --border-color: #1f2937;
    --font-family: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000000;
    border: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #000000;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: #3b4557;
}

/* ===== Header ===== */
.header {
    position: relative;
    z-index: 1000;
    background-color: var(--bg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: var(--text-nav);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.header-download {
    padding: 9px 20px;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger active state (X) */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 60px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title .text-primary {
    color: var(--color-primary);
}

.hero-title .android-icon {
    fill: var(--color-primary);
    vertical-align: middle;
    margin-left: 4px;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 520px;
    width: 100%;
    border-radius: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

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

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        width: 100%;
    }

    .header-download {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

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

    .hero {
        padding: 50px 0 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

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