/* ============================================================
   VIGOROUS G. PROMOS — Global Design System
   Clean, professional styling inspired by Stripe / Linear.
   ============================================================ */

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

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Brand */
  --flame: #FF5100;
  --flame-soft: #FF6D2E;
  --flame-glow: rgba(255, 81, 0, 0.12);
  --flame-border: rgba(255, 81, 0, 0.25);

  /* Surfaces — dark navy family */
  --bg-primary: #080D19;
  --bg-surface: #0E1525;
  --bg-elevated: #151E30;
  --bg-card: #111A2C;
  --bg-input: rgba(255, 255, 255, 0.04);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text-primary: #F0F4F8;
  --text-secondary: #8B9BB4;
  --text-tertiary: #5A6A82;
  --text-inverse: #080D19;

  /* Accent colors */
  --success: #22C55E;
  --error: #EF4444;
  --gold: #C9A84C;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 720px;
  --nav-height: 72px;
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-secondary); }

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

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-10);
  padding-right: var(--space-10);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--space-24) var(--space-10);
}

.section--tight {
  padding: var(--space-16) var(--space-10);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-10);
  background: rgba(8, 13, 25, 0.80);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.nav__logo span {
  color: var(--flame);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--flame);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav__link:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--flame);
  color: #fff;
  padding: 12px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  background: var(--flame-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 11px 23px;
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--flame);
  color: var(--flame);
  background: var(--flame-glow);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Inputs ─────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input::placeholder {
  color: var(--text-tertiary);
}

.input:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.1);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-default);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card--featured {
  border-color: var(--flame-border);
  background: linear-gradient(160deg, rgba(255, 81, 0, 0.06) 0%, var(--bg-card) 50%);
}

.card--link {
  text-decoration: none;
  display: block;
}

.card--link:hover {
  border-color: rgba(255, 81, 0, 0.2);
}

/* ── Badges / Tags ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.badge--flame {
  background: var(--flame-glow);
  color: var(--flame);
}

.badge--surface {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.badge--gold {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.badge--solid {
  background: var(--flame);
  color: #fff;
}

/* ── Section header pattern ─────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--flame);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-header__label::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--flame);
  border-radius: 1px;
}

.section-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

/* ── Section divider ────────────────────────────────────────── */
.divider {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

/* ── Ambient glow ───────────────────────────────────────────── */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-orb.top {
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 81, 0, 0.05) 0%, transparent 70%);
}

.glow-orb.bottom {
  bottom: -300px;
  left: -200px;
  background: radial-gradient(circle, rgba(60, 90, 180, 0.04) 0%, transparent 70%);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) var(--space-10) var(--space-10);
  background: var(--bg-surface);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.footer__brand-name span {
  color: var(--flame);
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: var(--space-10) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--flame);
}

/* ── Footer watches section ─────────────────────────────────── */
.footer-watches {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) var(--space-10);
  background: var(--bg-surface);
}

.footer-watches__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-watches__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-watches__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-watches__sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ── Watch cards ────────────────────────────────────────────── */
.watches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-5);
}

.watch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.watch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.25);
}

.watch-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}

.watch-info {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.watch-brand {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-1);
}

.watch-model {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.watch-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.watch-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.watch-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--gold);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.watch-cta:hover {
  background: #d4af5c;
}

/* ── Pricing components ─────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), border-color var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-default);
}

.pricing-card.featured {
  border-color: var(--flame-border);
  background: linear-gradient(160deg, rgba(255, 81, 0, 0.06) 0%, var(--bg-card) 40%);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flame);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--flame);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: var(--space-2);
}

.pricing-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: var(--space-6);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--flame);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── Utility classes ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-flame { color: var(--flame); }
.text-gold { color: var(--gold); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.text-lg { font-size: 1.125rem; }

.font-display { font-family: var(--font-display); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.grid { display: grid; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

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

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.animate-fade-in {
  animation: fadeIn 0.5s var(--ease-out) both;
}

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container,
  .section {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .nav {
    padding: 0 var(--space-5);
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--nav-height) + var(--space-8)) var(--space-8) var(--space-8);
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1rem;
    padding: var(--space-3) 0;
    width: 100%;
  }

  .nav__link::after {
    display: none;
  }

  .nav__links .btn {
    margin-top: var(--space-4);
    width: 100%;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand-col {
    grid-column: 1 / -1;
  }

  .footer-watches__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .watches-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ── Mobile nav overlay ─────────────────────────────────────── */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav__overlay.active {
  opacity: 1;
  pointer-events: auto;
}
