/*
 * Hair Clipper [PRANK] - marketing site
 * Modern, dependency-free stylesheet (no Bootstrap/jQuery/owl-carousel).
 */

:root {
    --color-bg: #0b0d10;
    --color-bg-alt: #ffffff;
    --color-surface: #14171b;
    --color-surface-2: #ffffff;
    --color-text: #eef1f4;
    --color-text-muted: #a7afb8;
    --color-text-on-light: #14171b;
    --color-text-on-light-muted: #5b6570;
    --color-accent: #22e07a;
    --color-accent-dark: #16a35a;
    --color-danger: #ff4d4f;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --max-width: 1160px;
    --nav-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-bg-alt);
    color: var(--color-text-on-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Nav ---------- */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(11, 13, 16, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.current {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

.site-nav.is-open .nav-toggle span {
    background: transparent;
}

.site-nav.is-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
    background: #fff;
}

.site-nav.is-open .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
    background: #fff;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: calc(var(--nav-height) + 72px) 0 96px;
    background:
        radial-gradient(60% 55% at 82% 12%, rgba(34, 224, 122, 0.22), transparent 60%),
        radial-gradient(45% 45% at 10% 100%, rgba(34, 224, 122, 0.12), transparent 65%),
        var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(34, 224, 122, 0.12);
    border: 1px solid rgba(34, 224, 122, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
}

.hero h1 span {
    color: var(--color-accent);
}

.hero-lede {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 46ch;
    margin: 0 0 32px;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(34, 224, 122, 0.5);
    background: #1a1e24;
}

.store-badge svg,
.store-badge img {
    width: 26px;
    height: 26px;
    flex: none;
}

.store-badge .label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-badge .label small {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.store-badge .label strong {
    font-size: 0.95rem;
}

.store-badge.primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #04170c;
}

.store-badge.primary .label small {
    color: rgba(4, 23, 12, 0.65);
}

.trust-row {
    display: flex;
    gap: 24px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.trust-row strong {
    color: #fff;
    font-size: 1rem;
    display: block;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 224, 122, 0.25), transparent 70%);
    filter: blur(10px);
}

.hero-visual img {
    position: relative;
    width: 210px;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}

.hero-visual .device-back {
    transform: translate(60px, 26px) rotate(6deg);
    opacity: 0.85;
}

.hero-visual .device-front {
    transform: translate(-40px, -10px) rotate(-4deg);
}

/* ---------- Section shared ---------- */

section {
    padding: 88px 0;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head .eyebrow {
    background: rgba(34, 224, 122, 0.1);
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.section-head p {
    color: var(--color-text-on-light-muted);
    margin: 0;
}

.section-dark .section-head .eyebrow {
    color: var(--color-accent);
}

.section-dark .section-head h2 {
    color: #fff;
}

.section-dark .section-head p {
    color: var(--color-text-muted);
}

/* ---------- Features ---------- */

.features {
    background: #f5f7f8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--color-surface-2);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(20, 23, 27, 0.05);
}

.feature-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 224, 122, 0.12);
    color: var(--color-accent-dark);
    margin-bottom: 18px;
}

.feature-card .icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-text-on-light-muted);
}

/* ---------- Screenshots / gallery ---------- */

.gallery {
    background: var(--color-bg);
    color: var(--color-text);
}

.gallery-wrap {
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.gallery-track::-webkit-scrollbar {
    height: 6px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: rgba(34, 224, 122, 0.4);
    border-radius: 999px;
}

.gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-surface);
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.gallery-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--color-surface);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.gallery-controls button:hover {
    background: #1a1e24;
    border-color: rgba(34, 224, 122, 0.5);
}

.gallery-controls svg {
    width: 18px;
    height: 18px;
}

/* ---------- Download CTA / footer ---------- */

.cta {
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(34, 224, 122, 0.18), transparent 60%),
        var(--color-bg);
    color: var(--color-text);
    text-align: center;
}

.cta .section-head {
    margin-bottom: 32px;
}

.cta .store-badges {
    justify-content: center;
}

.site-footer {
    background: var(--color-bg);
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
    background: #1a1e24;
    border-color: rgba(34, 224, 122, 0.5);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .store-badges,
    .trust-row {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 320px;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(11, 13, 16, 0.97);
        padding: 12px 20px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
    }

    .site-nav.is-open .nav-links {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .store-badge {
        flex: 1 1 100%;
    }

    .store-badges {
        width: 100%;
    }
}
