/* Public-facing pages (landing, privacy, terms, contact, support) */

body.public-page {
    background-color: var(--ui-bg);
}

nav.public-nav {
    background: transparent !important;
    box-shadow: none !important;
    padding: 1.25rem 0;
}

.public-nav .navbar-brand {
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.public-nav .navbar-brand img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

.public-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.public-nav .nav-link:hover {
    color: #fff;
}

.hero {
    background: linear-gradient(160deg, var(--brand-primary) 0%, #FFB066 100%);
    padding-bottom: 5rem;
    color: var(--brand-primary-ink);
}

.hero-title {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--brand-primary-ink);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(16, 17, 20, 0.75);
    max-width: 560px;
}

.store-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #101114;
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.store-badge i {
    font-size: 1.4rem;
}

.store-badge .store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.store-badge .store-badge-text small {
    font-size: 0.68rem;
    opacity: 0.75;
    font-weight: 400;
}

/* Phone-frame carousel */
.phone-carousel-wrap {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 260px;
    border-radius: 34px;
    background: #101114;
    padding: 12px;
    box-shadow: var(--shadow-hover);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    background: #101114;
    border-radius: 10px;
    z-index: 2;
}

.phone-frame .carousel-inner,
.phone-frame img {
    border-radius: 24px;
}

.phone-frame .carousel-indicators {
    bottom: -2.25rem;
}

.phone-frame .carousel-indicators [data-bs-target] {
    background-color: var(--ui-text-muted);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.phone-frame .carousel-indicators .active {
    background-color: var(--brand-primary);
}

.phone-frame .carousel-control-prev,
.phone-frame .carousel-control-next {
    width: 15%;
}

/* Feature cards */
.feature-card {
    background: var(--ui-card-bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ui-border);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--brand-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Legal/content pages */
.legal-content h2 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 2rem;
    color: var(--ui-text-main);
}

.legal-content p,
.legal-content li {
    color: var(--ui-text-muted);
}

.legal-updated {
    color: var(--ui-text-muted);
    font-size: 0.9rem;
}

.public-footer {
    background: var(--brand-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.public-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.public-footer a:hover {
    color: #fff;
}
