/* ============================================================
   STEADYFOCUS — Global Stylesheet
   Fonts: Lexend (headings) + DM Sans (body)
   Colors: Orange #FF6B2B primary, dark #0E0F11 background
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --orange: #FF6B2B;
  --orange-light: #FF8F5E;
  --orange-dim: rgba(255, 107, 43, 0.15);
  --orange-border: rgba(255, 107, 43, 0.3);
  --bg: #0E0F11;
  --bg-card: #14161A;
  --bg-card-hover: #1A1D23;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --text: #F0F0F0;
  --text-muted: rgba(240,240,240,0.45);
  --text-dim: rgba(240,240,240,0.25);
  --green: #4ADE80;
  --blue: #60A5FA;
  --amber: #FBBF24;
  --purple: #A78BFA;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Lexend', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.7; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-light); }

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

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(14,15,17,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;
  height: 100%;
}

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

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-logo span {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  border-radius: 10px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.15s !important;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--orange-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,43,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-large {
  padding: 17px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

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

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

/* ── Labels / Badges ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.label-orange {
  background: var(--orange-dim);
  color: var(--orange);
  border: 1px solid var(--orange-border);
}

.label-green {
  background: rgba(74,222,128,0.1);
  color: var(--green);
  border: 1px solid rgba(74,222,128,0.25);
}

.label-blue {
  background: rgba(96,165,250,0.1);
  color: var(--blue);
  border: 1px solid rgba(96,165,250,0.25);
}

.label-amber {
  background: rgba(251,191,36,0.1);
  color: var(--amber);
  border: 1px solid rgba(251,191,36,0.25);
}

.label-purple {
  background: rgba(167,139,250,0.1);
  color: var(--purple);
  border: 1px solid rgba(167,139,250,0.25);
}

/* ── Section headers ── */
.section-header {
  margin-bottom: 56px;
}

.section-header .label {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Separator ── */
.separator {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 20px 0;
}

.separator.centered {
  margin: 20px auto;
}

/* ── Phone mockup ── */
.phone-mockup {
  position: relative;
  display: inline-block;
}

.phone-mockup img {
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Orb background ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-orange {
  background: rgba(255,107,43,0.18);
}

.orb-blue {
  background: rgba(96,165,250,0.12);
}

/* ── Feature icon ── */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon-orange { background: var(--orange-dim); border: 1px solid var(--orange-border); }
.feature-icon-green { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2); }
.feature-icon-blue { background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2); }
.feature-icon-amber { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); }
.feature-icon-purple { background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.2); }

/* ── Footer ── */
.footer {
  background: #0A0B0D;
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

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

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

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

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

/* ── Highlight box ── */
.highlight-box {
  background: var(--orange-dim);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

/* ── Step list ── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid var(--orange-border);
  color: var(--orange);
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  margin-bottom: 6px;
  color: var(--text);
}

.step-content p {
  font-size: 0.95rem;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,107,43,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(255,107,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,43,0); }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

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

.float { animation: float 6s ease-in-out infinite; }

/* ── Page hero ── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Divider ── */
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Table of contents / anchor nav ── */
.sticky-nav {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.sticky-nav h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.sticky-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sticky-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.sticky-nav a:hover,
.sticky-nav a.active {
  color: var(--orange);
  border-left-color: var(--orange);
}

/* ── Inline tag ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Pro badge ── */
.badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,107,43,0.1);
  border: 1px solid rgba(255,107,43,0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-plus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Accordion ── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.accordion-item.open {
  border-color: var(--border-strong);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.accordion-icon {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--orange);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg);
}

.accordion-body-inner {
  padding: 0 24px 24px;
}

.accordion-body-inner p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Mobile nav ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(14,15,17,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
  color: var(--orange);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn-large { padding: 15px 28px; font-size: 0.95rem; }
}
