/* ================================
   Josh Savage - Shop Website
   Black & White with Electric Purple
   ================================ */

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Accent colors - Electric Purple */
    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.5);

    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.accent {
    color: var(--accent);
}

/* ================================
   Navigation
   ================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border: 1px solid var(--accent);
    padding: 0.25rem 0.5rem;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    background: var(--accent);
    color: var(--black);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: var(--transition-fast);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 6rem 1.5rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, transparent 40%, rgba(168, 85, 247, 0.03) 100%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-name {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 400px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-frame {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9/19;
    border: 1px solid var(--gray-800);
    position: relative;
    background: linear-gradient(145deg, var(--gray-900) 0%, var(--black) 100%);
    overflow: hidden;
    border-radius: 24px;
}

.hero-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-frame::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.hero-frame-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem;
}

.hero-frame-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--gray-600);
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ================================
   Sections
   ================================ */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ================================
   App Section
   ================================ */
.app {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.app-header {
    text-align: center;
    margin-bottom: 3rem;
}

.app-header .section-title {
    margin-bottom: 1rem;
}

.app-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--black);
    padding: 2rem;
    border: 1px solid var(--gray-800);
    transition: var(--transition-normal);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-2px);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-800);
}

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

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.app-download {
    text-align: center;
}

/* ================================
   Shop Preview Section
   ================================ */
.shop {
    background: var(--black);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.shop-card {
    background: var(--gray-900);
    padding: 2rem;
    border: 1px solid var(--gray-800);
    transition: var(--transition-normal);
    position: relative;
    text-align: center;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.shop-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-2px);
}

.shop-card:hover::before {
    width: 100%;
}

.shop-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-800);
    color: var(--accent);
}

.shop-icon svg {
    width: 24px;
    height: 24px;
}

.shop-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.shop-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.coming-soon-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.25rem 0.75rem;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.contact-text p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.contact-text a {
    color: var(--white);
    border-bottom: 1px solid var(--accent);
    transition: var(--transition-fast);
}

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

.contact-socials h3 {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    transition: var(--transition-normal);
}

.social-link:hover {
    color: var(--accent);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-link {
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
}

/* ================================
   Privacy Policy Page
   ================================ */
.privacy-section {
    background: var(--black);
}

.privacy-content {
    max-width: 800px;
}

.privacy-updated {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.privacy-content p {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.privacy-content a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.privacy-content a:hover {
    border-bottom-color: var(--accent);
}

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

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-frame {
        max-width: 200px;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .app-features {
        grid-template-columns: 1fr 1fr;
    }

    .shop-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 1px solid var(--gray-800);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ================================
   Utility Classes
   ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--black);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}
