/* Nav */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) var(--space-6);
}

.nav__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.nav__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

/* Hero */
.hero {
    background: var(--surface-brand);
    color: white;
    padding: calc(var(--space-20) + 40px) var(--space-6) var(--space-16);
    overflow: hidden;
}

.hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.hero__content {
    flex: 1;
    min-width: 0;
}

.hero__headline {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: var(--space-5);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: var(--space-8);
}

.hero__badges {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.hero__phone {
    flex-shrink: 0;
}

/* Phone Frame */
.phone-frame {
    width: 280px;
    background: #111;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame__screen {
    width: 100%;
    display: block;
    border-radius: 26px;
}

/* Store Badges */
.badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-5);
    color: white;
    text-decoration: none;
    transition: background var(--transition-base), border-color var(--transition-base);
    min-height: 48px;
}

.badge:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
}

.badge__icon {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.badge__icon svg {
    width: 100%;
    height: 100%;
}

.badge__text {
    text-align: left;
}

.badge__label {
    font-size: var(--text-2xs);
    opacity: 0.7;
    display: block;
    line-height: 1.2;
}

.badge__store {
    font-size: var(--text-sm);
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

/* Tools Section */
.tools {
    background: #F5F4F1;
    padding: var(--space-20) var(--space-6);
}

.tools__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.tools__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
    letter-spacing: -0.5px;
}

.tools__subtitle {
    font-size: var(--text-lg);
    color: var(--neutral-500);
    margin-bottom: var(--space-10);
}

.tools__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tool-card {
    position: relative;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.tool-card:hover {
    border-color: var(--neutral-300);
    box-shadow: var(--shadow-sm);
}

.tool-card--selected {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 1px var(--primary-500);
}

.tool-card--selected:hover {
    border-color: var(--primary-500);
}

.tool-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: var(--primary-500);
    color: white;
    border-radius: var(--radius-full);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tool-card__icon {
    font-size: 2rem;
    line-height: 1;
}

.tool-card__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-800);
}

.tool-card__desc {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    line-height: 1.5;
    text-align: center;
    max-width: 180px;
}

.tools__more {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--neutral-950);
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: var(--space-6);
    font-size: var(--text-xs);
}

/* Responsive */
@media (max-width: 768px) {
    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-10);
    }

    .hero__headline {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__badges {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--space-16) + 40px);
        padding-bottom: var(--space-10);
    }

    .hero__headline {
        font-size: 2rem;
    }

    .hero__badges {
        flex-direction: column;
        align-items: center;
    }

    .phone-frame {
        width: 220px;
    }

    .tools {
        padding: var(--space-12) var(--space-4);
    }

    .tools__heading {
        font-size: var(--text-2xl);
    }

    .tools__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .tool-card {
        padding: var(--space-5) var(--space-3);
    }

    .tool-card__icon {
        font-size: 1.5rem;
    }

    .tool-card__desc {
        max-width: none;
    }

    .tool-card__check {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: 6px;
        right: 6px;
    }
}
