/* ==========================================================================
   ShuffleCourt - Vercel / Next.js Minimalist Design System
   100% Self-Contained Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Monochromatic Vercel Palette */
  --bg-black: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #111111;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-glass: rgba(10, 10, 10, 0.82);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --text-white: #ffffff;
  --text-primary: #ededed;
  --text-muted: #888888;
  --text-subtle: #555555;

  --accent-teal: #14b8a6;

  /* Strict Design Constraint: Cohesive 16px Radius */
  --radius: 16px;

  /* Strict Design Constraint: Ultra-soft, low opacity drop shadows (never harsh borders) */
  --shadow-soft: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-mockup: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.02);

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-black);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(120, 119, 198, 0.12), transparent),
    radial-gradient(circle at 50% 20%, rgba(20, 184, 166, 0.05), transparent 45%);
  background-repeat: no-repeat;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* 1200px Desktop Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Generous macro-whitespace section spacing (min 96px) */
.section-macro {
  padding-top: 104px;
  padding-bottom: 104px;
}

/* ==========================================================================
   Header & Navbar (with Mobile Hamburger)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a1a1aa;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
}

/* Hamburger Button (Mobile only) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-white);
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger-icon {
  width: 24px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hamburger Active State */
.hamburger-btn.is-active .hamburger-icon span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-icon span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 190;
  padding: 32px 24px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-overlay.is-active {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-teal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  text-align: center;
  padding-top: 104px;
  padding-bottom: 112px;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius);
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: border-color var(--transition-fast);
}

.hero-pill-badge:hover {
  border-color: var(--border-hover);
}

.hero-h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-h1 .gradient-text {
  background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: #eaeaea;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

/* Floating Product Mockup */
.mockup-wrapper {
  margin: 0 auto;
  max-width: 920px;
}

.floating-mockup-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-mockup);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.floating-mockup-card:hover {
  border-color: var(--border-hover);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-window-controls {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-body-preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000000;
}

.mockup-body-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2-Column Features Section
   ========================================================================== */
.features-section {
  padding-top: 104px;
  padding-bottom: 104px;
  border-top: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Coming Soon Store Section (Large Display)
   ========================================================================== */
.store-section {
  padding-top: 104px;
  padding-bottom: 104px;
  border-top: 1px solid var(--border-subtle);
}

.store-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.store-section-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.store-section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.store-large-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  position: relative;
}

.store-large-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.store-icon-large {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.store-status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #a1a1aa;
  margin-bottom: 16px;
}

.store-large-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.store-large-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

.store-badge-img-wrapper {
  margin-top: auto;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.store-large-card:hover .store-badge-img-wrapper {
  opacity: 1;
}

/* ==========================================================================
   Legal & Policy Page Layout (Vercel Style)
   ========================================================================== */
.legal-container {
  padding-top: 80px;
  padding-bottom: 112px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

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

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-card ul {
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Dark Minimalist Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #000000;
  padding: 64px 0 40px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}

.footer-brand-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text-white);
}

.footer-bottom-line {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .stores-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-h1 {
    font-size: 2.8rem;
  }
  .section-macro {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .legal-card {
    padding: 24px;
  }
  .footer-content, .footer-bottom-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
