/* Fox AI Landing Page */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --text: #e8e8f0;
  --muted: #888899;
  --accent: #ff6b2b;
  --accent-hover: #ff8347;
  --accent-muted: rgba(255, 107, 43, 0.1);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo {
  font-size: 1.4rem;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

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

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* How it works */
.how {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how h2,
.features h2,
.pricing h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

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

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Features */
.features {
  padding: 4rem 2rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.feature p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Pricing */
.pricing {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-sub {
  text-align: center;
  color: var(--muted);
  margin-top: -2rem;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.plan-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.plan-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.plan-card li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.plan-card .btn {
  width: 100%;
}

/* Download */
.download {
  padding: 6rem 2rem;
}

.download-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
}

.download-logo {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.download-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.download-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.download-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.download-counter,
.hero-downloads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 1.25rem;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), #ff6b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-downloads .counter-number {
  font-size: 1.75rem;
}

.hero-downloads .counter-label {
  font-size: 0.7rem;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}
