/* ============================
   APP SHOWCASE — GLOBAL STYLE
   ============================ */

/* ===== RESET & FOUNDATION ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark palette */
    --bg-black: #050508;
    --bg-dark: #0a0c12;
    --bg-card: #111318;
    --bg-light: #1a1c23;
    /* Adjusted for showcase */
    --bg-light-card: #22252e;
    /* Adjusted for showcase */

    /* Accent (Gold) */
    --accent: #afa617;
    --accent-dim: #8c8512;
    --accent-glow: rgba(175, 166, 23, 0.15);

    /* Text */
    --text-white: #f0f0ec;
    --text-muted: #7a7d85;
    --text-dark: #1a1a1a;
    --text-dark-muted: #5a5a5a;

    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 12vw, 160px);
    --side-pad: clamp(24px, 6vw, 120px);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

/* ===== UTILITIES ===== */
.hide-sp {
    display: inline;
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--side-pad);
    transition: background 0.4s, backdrop-filter 0.4s;
}

.nav--scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--text-white);
}

.nav__logo a {
    transition: color 0.3s;
}

.nav__logo a:hover {
    color: var(--accent);
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* ===== BUTTON ===== */
.page-hero__catchphrase {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.hero-screenshot {
    max-width: 900px;
    margin: 48px auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 5;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-screenshot:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

.hero-screenshot img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
    pointer-events: none;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--accent);
    color: var(--bg-black);
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.btn--primary:hover {
    filter: brightness(1.15);
    transform: scale(1.03);
    box-shadow: 0 0 60px var(--accent-glow);
}

.btn--outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    padding: 0 var(--side-pad);
}

.section-label__number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.section-label__text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.0;
    letter-spacing: 0.03em;
    padding: 0 var(--side-pad);
    margin-bottom: 20px;
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.9;
    padding: 0 var(--side-pad);
    max-width: 600px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hide-sp {
        display: none;
    }
}