:root {
    --primary-color: #000000;
    --primary-light: #a8c6b9;
    --primary-dark: #3e6355;
    --bg-color: #f4f7f6;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'TikTok Sans', sans-serif;
    background: radial-gradient(circle at top right, #fdfdfd, #f4f7f6);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Phone Mockups */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.phone-mockup {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.phone-1 {
    z-index: 2;
    margin-right: -140px;
    /* Pull second phone under first */
    margin-top: 30px;
    /* Slight vertical stagger */
}

.phone-2 {
    z-index: 1;
}


/* Content */
.hero-content {
    max-width: 500px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hero-content .description:last-of-type {
    margin-bottom: 2.5rem;
}

/* Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3rem;
}

.btn {
    padding: 16px 16px 6px 48px;
    font-size: 19px;
    line-height: 1.2;
    border-radius: 10px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #000;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    width: 175px;
    background: #000;
    color: #fff;
    font-family: 'TikTok Sans', sans-serif;
    transition: var(--transition);
}

.btn:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-google:before {
    content: "";
    background-image: url(https://4.bp.blogspot.com/-52U3eP2JDM4/WSkIT1vbUxI/AAAAAAAArQA/iF1BeARv2To-2FGQU7V6UbNPivuv_lccACLcB/s30/nexus2cee_ic_launcher_play_store_new-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 28px;
    height: 28px;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -14px;
}

.btn-google:after {
    content: "GET IT ON";
    position: absolute;
    top: 6px;
    left: 48px;
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.btn-ios:before {
    content: "";
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/f/fa/Apple_logo_black.svg);
    filter: invert(1);
    background-size: contain;
    background-repeat: no-repeat;
    width: 26px;
    height: 26px;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -16px;
}

.btn-ios:after {
    content: "DOWNLOAD ON THE";
    position: absolute;
    top: 6px;
    left: 48px;
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.btn.disabled {
    opacity: 0.7;
    cursor: default;
    background: #333;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* The store matching the visitor's device gets a subtle ring + lift. */
.btn-primary-store {
    outline: 3px solid var(--accent, #ffb300);
    outline-offset: 2px;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
    background: #fdfdfd;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f4f7f6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

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

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-visual {
        height: 500px;
        order: 2;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-visual .phone-mockup {
        height: 450px;
    }

    .download-buttons {
        align-items: center;
    }
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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