/* ============================================================
   FoundUps Website
   ============================================================ */

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

:root {
  --orange: #00B844;
  --orange-light: #2FD86A;
  --orange-dark: #009638;
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1C1C1C;
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.68);
  --text-dimmer: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --accent-glow: rgba(0, 184, 68, 0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection {
  background: var(--orange);
  color: var(--bg);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 184, 68, 0.2);
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
main {
  flex: 1;
  width: 100%;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 24px 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(0, 184, 68, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 184, 68, 0.08);
  border: 1px solid rgba(0, 184, 68, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}

.accent {
  background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 32px rgba(0, 184, 68, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 184, 68, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 560px;
}

.hero-stat {
  padding-left: 16px;
  border-left: 2px solid var(--orange);
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

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

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0, 184, 68, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.phone-screenshot {
  position: relative;
  max-width: 440px;
  width: 100%;
  border-radius: 32px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 184, 68, 0.15);
  z-index: 1;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 120px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.step:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   PREVIEWS / CAROUSEL
   ============================================================ */
.previews {
  padding: 120px 0 120px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.preview-carousel {
  position: relative;
  margin-top: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 60px;
}

.preview-carousel::-webkit-scrollbar {
  display: none;
}

.preview-track {
  display: flex;
  gap: 24px;
  padding: 0 48px;
  width: max-content;
}

.preview-card {
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 184, 68, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 184, 68, 0.35),
    0 0 60px rgba(0, 184, 68, 0.2);
}

.preview-card img {
  width: 100%;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(0, 184, 68, 0.3);
  background: var(--bg-card-hover);
}

.faq-item summary {
  cursor: pointer;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
  transition: transform 0.2s ease;
  font-weight: 300;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item p a.inline-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.faq-item p a.inline-link:hover {
  text-decoration: underline;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at center, rgba(0, 184, 68, 0.1) 0%, transparent 60%),
    var(--bg);
}

.cta-final h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.legal .effective-date {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.legal ul {
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 15px;
}

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

.legal strong { color: var(--text); }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.support-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.support-hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

.support-options {
  max-width: 780px;
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  display: block;
}

.support-card:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.support-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--orange);
}

.support-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.footer-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

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

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

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.made-by {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.made-by:hover {
  color: var(--orange);
}

.made-by-name {
  color: var(--orange);
  font-weight: 700;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 28px; }
  .tagline { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-phone { max-width: 320px; margin: 0 auto; }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .logo-text { font-size: 18px; }
  .logo-img { width: 34px; height: 34px; }

  .hero { padding: 60px 16px 80px; }
  .hero h1 { font-size: 40px; }
  .tagline { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat-num { font-size: 26px; }

  .how-it-works, .features, .previews, .faq, .cta-final {
    padding: 80px 16px;
  }

  .step, .feature { padding: 28px 24px; }

  .preview-card { width: 240px; }
  .preview-track { padding: 0 24px; gap: 16px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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