/* ============================================================
   183 — the183.app
   Dark + Gold Diamond-Classy Design System
   ============================================================ */

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

:root {
  --bg-primary:   #0A0A0B;
  --bg-secondary: #1C1C1E;
  --bg-card:      #2C2C2E;
  --bg-card-hover:#343436;

  --gold:         #FFD700;
  --gold-dim:     #B8860B;
  --gold-light:   #FFF8DC;
  --gold-glow:    rgba(255, 215, 0, 0.15);

  --text-primary:   #FFFFFF;
  --text-secondary: #A1A1A6;
  --text-tertiary:  #6E6E73;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(255, 215, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ---------- Typography ---------- */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ---------- Gold Gradient Text ---------- */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, #FFEC7A 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Divider ---------- */
.gold-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 auto 64px;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #000 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 180px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: -0.2px;
}

.btn-appstore:hover {
  background: var(--gold-light);
  color: #000;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.btn-appstore svg {
  width: 22px;
  height: 22px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-tertiary);
}

.hero-meta strong {
  color: var(--text-secondary);
}

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

.phone-mockup {
  position: relative;
  width: 300px;
}

.phone-frame {
  width: 100%;
  background: var(--bg-card);
  border-radius: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-screen {
  background: var(--bg-secondary);
  border-radius: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,215,0,0.08), transparent 60%);
}

.phone-stat {
  text-align: center;
  z-index: 1;
}

.phone-stat-number {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phone-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}

.phone-divider {
  width: 60%;
  height: 1px;
  background: var(--border-subtle);
  z-index: 1;
}

.phone-flag-row {
  display: flex;
  gap: 10px;
  z-index: 1;
}

.phone-flag {
  width: 32px;
  height: 22px;
  border-radius: 4px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-bottom {
  text-align: center;
  z-index: 1;
}

.phone-bottom-text {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

.phone-days-left {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* Glow ring behind phone */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,215,0,0.07) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--bg-secondary);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,215,0,0.08);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

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

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--bg-primary);
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-it-works-header .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), rgba(184,134,11,0.3), var(--gold-dim));
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.step-number span {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PRO TIER
   ============================================================ */
.pro-tier {
  background: var(--bg-secondary);
}

.pro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pro-content {
  /* text side */
}

.pro-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pro-features-list {
  list-style: none;
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pro-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pro-check {
  width: 22px;
  height: 22px;
  background: var(--gold-glow);
  border: 1.5px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pro-check::after {
  content: '✓';
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}

.pro-features-list li strong {
  color: var(--text-primary);
}

.btn-pro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #000;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  letter-spacing: -0.2px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.btn-pro:hover {
  color: #000;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Pro card showcase */
.pro-visual {
  display: flex;
  justify-content: center;
}

.pro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 340px;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,215,0,0.08),
    inset 0 1px 0 rgba(255,215,0,0.15);
  position: relative;
  overflow: hidden;
}

.pro-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,215,0,0.07), transparent 70%);
}

.pro-card-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.pro-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.pro-card-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pro-card-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-card-perks li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-card-perks li::before {
  content: '◆';
  font-size: 8px;
  color: var(--gold);
}

.pro-card-price {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  background: var(--bg-primary);
  text-align: center;
}

.community-inner {
  max-width: 680px;
  margin: 0 auto;
}

.community-icon {
  font-size: 56px;
  margin-bottom: 28px;
  display: block;
}

.community .section-title {
  margin-bottom: 20px;
}

.community .section-subtitle {
  margin: 0 auto 48px;
  font-size: 18px;
}

.community-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-discord:hover {
  color: #fff;
  background: #4752C4;
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

.btn-discord svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.community-stat {
  text-align: center;
}

.community-stat-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 12px;
  display: block;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  nav {
    padding: 16px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 130px 0 80px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

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

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

  .hero-actions {
    align-items: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .pro-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pro-visual {
    order: -1;
  }

  .pro-card {
    max-width: 100%;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .community-stats {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .community-stats {
    flex-direction: column;
    gap: 24px;
  }
}
