/* GoHighClaw — Premium SaaS Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #1a1c2e;
  --bg-card: #1f2235;
  --bg-card-hover: #252840;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(232,82,26,0.4);
  --orange: #e8521a;
  --orange-light: #ff6b35;
  --yellow: #f8c424;
  --blue: #4A90D9;
  --green: #00C853;
  --text: #ffffff;
  --text-muted: #8b91b5;
  --text-dim: #6b7194;
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── LAYOUT ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(26, 28, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  padding-top: 160px;
  padding-bottom: 120px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(232,82,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,82,26,0.1);
  border: 1px solid rgba(232,82,26,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange-light);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

#hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 24px;
  color: #fff;
}

#hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(232,82,26,0.35);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,82,26,0.45);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-secondary {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}

.hero-secondary span {
  color: var(--green);
  font-weight: 500;
}

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── PROBLEM ────────────────────────────────────────────────── */
#problem {
  background: #161826;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#problem .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#problem .section-sub {
  margin: 0 auto;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.pain-card:hover {
  border-color: rgba(232,82,26,0.3);
  transform: translateY(-3px);
}

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

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232,82,26,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.pain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
#how {
  position: relative;
}

#how .section-header {
  text-align: center;
  margin-bottom: 70px;
}

#how .section-sub {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(232,82,26,0.3);
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FEATURES ───────────────────────────────────────────────── */
#features {
  background: #161826;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#features .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#features .section-sub {
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

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

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* accent colors for feature icons */
.feature-card:nth-child(1) .feature-icon { filter: hue-rotate(0deg); }
.feat-orange { color: var(--orange); }
.feat-blue { color: var(--blue); }
.feat-green { color: var(--green); }
.feat-yellow { color: var(--yellow); }

/* ─── PRICING ────────────────────────────────────────────────── */
#pricing .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#pricing .section-sub {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.price-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, rgba(232,82,26,0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 40px rgba(232,82,26,0.12);
}

.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-value .amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
}

.price-value .period {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 400;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.price-cta {
  display: block;
  text-align: center;
  margin-top: 28px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.price-cta-outline {
  border: 1px solid var(--border-hover);
  color: var(--orange);
}

.price-cta-outline:hover {
  background: rgba(232,82,26,0.08);
}

.price-cta-filled {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,82,26,0.3);
}

.price-cta-filled:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 24px rgba(232,82,26,0.4);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── UTILITIES ──────────────────────────────────────────────── */
.text-center { text-align: center; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 70px 0; }
  #hero { padding-top: 120px; padding-bottom: 80px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
