/* ============================================
   Rankly Landing Page — Redesigned
   Playful-competitive, warm, bold
   ============================================ */

:root {
  --orange: #f49d25;
  --orange-light: #f6ad47;
  --orange-dark: #e08b1a;
  --beige: #f8f7f5;
  --surface: #ffffff;
  --cocoa: #221a10;
  --cocoa-mid: #3d2e1a;
  --text: #2a1f14;
  --text-muted: #6b5d4f;
  --gold: #facc15;
  --silver: #a8a29e;
  --bronze: #cd7f32;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 3px rgba(34,26,16,0.06), 0 8px 24px rgba(34,26,16,0.08);
  --shadow-elevated: 0 4px 12px rgba(34,26,16,0.1), 0 16px 48px rgba(34,26,16,0.12);
}

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--orange);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Lexend", sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,247,245,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34,26,16,0.06);
}

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

.logo { font-weight: 700; font-size: 1.5rem; color: var(--cocoa); text-decoration: none; letter-spacing: -0.03em; }
.logo-sm { font-size: 1.1rem; }

.nav-cta {
  font-size: 0.875rem; font-weight: 600; color: var(--orange-dark); text-decoration: none;
  padding: 8px 20px; border: 2px solid var(--orange); border-radius: 100px; transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--orange); color: white; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-family: inherit; font-weight: 600;
  border: none; cursor: pointer; border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 2px 8px rgba(244,157,37,0.3), 0 0 0 0 rgba(244,157,37,0);
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 16px rgba(244,157,37,0.4), 0 0 0 4px rgba(244,157,37,0.12);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-large { font-size: 1.05rem; padding: 16px 36px; letter-spacing: -0.01em; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-content {
  max-width: 1120px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  width: 100%; position: relative; z-index: 2;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.04em; color: var(--cocoa); margin-bottom: 24px;
  text-wrap: balance;
}
.hero-highlight { color: var(--orange); position: relative; }
.hero-highlight::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px;
  height: 12px; background: rgba(244,157,37,0.15); border-radius: 4px; z-index: -1;
}
.hero-sub {
  font-size: 1.15rem; font-weight: 300; line-height: 1.7;
  color: var(--text-muted); margin-bottom: 36px; max-width: 520px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(244,157,37,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244,157,37,0.1) 0%, transparent 40%);
}
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.scroll-indicator .material-symbols-outlined {
  font-size: 32px;
  color: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}
@media (min-width: 901px) {
  .scroll-indicator { display: block; }
}

/* ---- Phone frames ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-group {
  position: relative; width: 480px; height: 520px;
  animation: float 6s ease-in-out infinite;
}

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

.phone-frame {
  position: absolute; background: var(--surface); border-radius: 24px;
  box-shadow: var(--shadow-elevated); overflow: hidden;
  border: 2px solid rgba(34,26,16,0.06);
}

.phone-screen { padding: 0; }
.phone-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.phone-front {
  width: 280px; z-index: 3; top: 0; left: 50%; transform: translateX(-50%) rotate(1.5deg);
}
.phone-back-left {
  width: 240px; z-index: 1; top: 60px; left: -60px; transform: rotate(-8deg);
  opacity: 0.9;
}
.phone-back-right {
  width: 240px; z-index: 2; top: -20px; right: -60px; transform: rotate(6deg);
  opacity: 0.9;
}

/* ---- Leaderboard mockup (inside phone) ---- */
.leaderboard-mock { background: var(--surface); }

.lb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid rgba(34,26,16,0.06);
}
.lb-title { font-weight: 600; font-size: 0.8rem; color: var(--cocoa); }
.lb-badge {
  font-size: 0.6rem; font-weight: 600;
  background: rgba(244,157,37,0.12); color: var(--orange-dark);
  padding: 3px 8px; border-radius: 100px;
}
.lb-row {
  display: grid; grid-template-columns: 24px 28px 1fr auto auto;
  align-items: center; gap: 8px; padding: 9px 16px;
}
.lb-row-1 { background: rgba(250,204,21,0.06); }
.lb-rank { font-weight: 700; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.lb-gold { color: #b8860b; } .lb-silver { color: #78716c; } .lb-bronze { color: var(--bronze); }
.lb-avatar {
  width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: white; font-weight: 600; font-size: 0.7rem;
}
.lb-name { font-weight: 500; font-size: 0.75rem; color: var(--text); }
.lb-rating { font-weight: 600; font-size: 0.75rem; color: var(--cocoa); font-variant-numeric: tabular-nums; }
.lb-trend { font-size: 0.65rem; font-weight: 600; min-width: 30px; text-align: right; }
.lb-up { color: #16a34a; } .lb-down { color: #dc2626; }
.lb-sports { display: flex; gap: 6px; padding: 10px 16px; border-top: 1px solid rgba(34,26,16,0.06); }
.lb-sport {
  font-size: 0.6rem; font-weight: 500; padding: 4px 8px; border-radius: 100px;
  background: rgba(34,26,16,0.04); color: var(--text-muted); white-space: nowrap;
}
.lb-sport-active { background: rgba(244,157,37,0.12); color: var(--orange-dark); }

/* ---- Activity mockup ---- */
.mock-activity { padding: 0; }
.mock-activity-header {
  font-weight: 600; font-size: 0.8rem; color: var(--cocoa);
  padding: 14px 14px 10px; border-bottom: 1px solid rgba(34,26,16,0.06);
}
.mock-activity-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  font-size: 0.7rem; border-bottom: 1px solid rgba(34,26,16,0.03);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-activity-text { flex: 1; color: var(--text); }
.mock-activity-text strong { font-weight: 600; }
.mock-activity-time { color: var(--text-muted); font-size: 0.6rem; }

/* ---- Profile mockup ---- */
.mock-profile { padding: 16px 14px; text-align: center; }
.mock-profile-avatar {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
}
.mock-profile-name { font-weight: 600; font-size: 0.85rem; color: var(--cocoa); margin-bottom: 12px; }
.mock-profile-stats {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 14px;
}
.mock-stat { display: flex; flex-direction: column; align-items: center; }
.mock-stat-val { font-weight: 700; font-size: 0.8rem; color: var(--cocoa); }
.mock-stat-label { font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mock-profile-section {
  font-size: 0.65rem; font-weight: 600; color: var(--text-muted);
  text-align: left; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.mock-profile-match {
  font-size: 0.65rem; color: var(--text); padding: 5px 0; text-align: left;
  border-bottom: 1px solid rgba(34,26,16,0.04);
}
.mock-win {
  display: inline-block; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(244,157,37,0.15); color: var(--orange-dark);
  font-size: 0.55rem; font-weight: 700; text-align: center; line-height: 16px; margin-right: 4px;
}
.mock-loss {
  display: inline-block; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(107,93,79,0.1); color: var(--text-muted);
  font-size: 0.55rem; font-weight: 700; text-align: center; line-height: 16px; margin-right: 4px;
}

/* Floating emoji badges */
.float-badge {
  position: absolute; font-size: 2rem;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.float-badge-1 { top: -20px; right: 20px; animation-delay: 0s; }
.float-badge-2 { bottom: 20px; left: -10px; animation-delay: -1.5s; }
.float-badge-3 { top: 50%; right: -20px; animation-delay: -3s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(5deg); }
  66% { transform: translateY(4px) rotate(-3deg); }
}

/* ---- Section shared ---- */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--cocoa); text-align: center; margin-bottom: 16px;
  text-wrap: balance;
}
.section-subtitle {
  font-size: 1.1rem; font-weight: 300; color: var(--text-muted);
  text-align: center; margin-bottom: 56px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.section-title-left {
  text-align: left;
  margin-bottom: 16px;
}

/* ---- Features ---- */
.features { padding: 100px 24px 120px; position: relative; }
.features-inner, .engagement-inner { max-width: 1120px; margin: 0 auto; }

.features .section-title { margin-bottom: 56px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  background: var(--surface); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative; overflow: visible;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(244,157,37,0.1); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon { font-size: 26px; color: var(--orange-dark); }
.feature-title {
  font-size: 1.05rem; font-weight: 600; color: var(--cocoa);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.feature-desc { font-size: 0.9rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* Bold feature helpers with tooltip */
.feature-desc { position: relative; }
.feature-bold {
  font-weight: 600; color: var(--cocoa); position: static; cursor: help;
  border-bottom: 1px dashed var(--orange);
}
.feature-bold::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px);
  left: 0; right: 0;
  width: auto; padding: 10px 14px;
  background: var(--cocoa); color: white; font-size: 0.75rem; font-weight: 300;
  line-height: 1.5; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
  z-index: 10;
}
.feature-bold:hover::after { opacity: 1; }

/* ---- Feature mini mockups ---- */
.feature-mini-mock {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(34,26,16,0.06);
}

/* Sport tabs */
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-tab {
  font-size: 0.65rem; font-weight: 500; padding: 5px 10px; border-radius: 100px;
  background: rgba(34,26,16,0.04); color: var(--text-muted); white-space: nowrap;
}
.mock-tab-active { background: rgba(244,157,37,0.12); color: var(--orange-dark); }
.mock-tab-custom { background: rgba(34,26,16,0.02); color: var(--text-muted); border: 1px dashed rgba(34,26,16,0.15); }

/* Rating card */
.mock-rating-card {
  background: rgba(34,26,16,0.02); border-radius: var(--radius-sm); padding: 10px 12px;
}
.mock-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mock-rating-avatar {
  width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center;
  justify-content: center; color: white; font-weight: 600; font-size: 0.6rem;
}
.mock-rating-name { font-size: 0.75rem; font-weight: 500; color: var(--text); flex: 1; }
.mock-rating-value { font-size: 0.8rem; font-weight: 700; color: var(--cocoa); }
.mock-rating-change { font-size: 0.7rem; font-weight: 600; }
.mock-up { color: #16a34a; }
.mock-rating-badge {
  font-size: 0.6rem; font-weight: 600; display: inline-block;
  background: rgba(244,157,37,0.12); color: var(--orange-dark);
  padding: 2px 8px; border-radius: 100px;
}

/* Mini bracket */
.mock-mini-bracket { display: flex; align-items: center; gap: 12px; }
.mock-bracket-round { display: flex; flex-direction: column; gap: 8px; }
.mock-bracket-match {
  background: rgba(34,26,16,0.03); border-radius: 6px; padding: 4px 8px;
  display: flex; flex-direction: column; gap: 2px; font-size: 0.6rem; color: var(--text);
}
.mock-bracket-winner {
  font-size: 0.7rem; font-weight: 600; color: var(--orange-dark);
  background: rgba(244,157,37,0.1); padding: 6px 10px; border-radius: 6px;
}

/* Manager stats mockup */
.mock-manager-stats { display: flex; flex-direction: column; gap: 10px; }
.mock-manager-stat {
  display: flex; align-items: center; gap: 10px;
  background: rgba(34,26,16,0.02); border-radius: 8px; padding: 8px 10px;
}
.mock-manager-stat-icon { font-size: 20px; color: var(--orange-dark); }
.mock-manager-stat-val {
  font-size: 0.8rem; font-weight: 700; color: var(--cocoa); display: block;
}
.mock-manager-stat-label {
  font-size: 0.6rem; color: var(--text-muted); display: block;
}

/* Company leaderboard mockup */
.mock-company-lb {
  background: rgba(34,26,16,0.02); border-radius: var(--radius-sm); padding: 10px 12px;
}
.mock-company-lb-title {
  font-size: 0.6rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
}
.mock-company-lb-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 0; font-size: 0.65rem;
}
.mock-company-lb-goat {
  background: rgba(250,204,21,0.08); border-radius: 6px; padding: 5px 6px; margin: -2px -6px 2px;
}
.mock-company-lb-crown { font-size: 0.75rem; margin-right: -2px; }
.mock-company-lb-rank { font-weight: 700; font-size: 0.65rem; min-width: 14px; text-align: center; }
.mock-company-lb-name { font-weight: 500; color: var(--text); flex: 1; }
.mock-company-lb-site { font-size: 0.55rem; color: var(--text-muted); }

/* ---- Engagement ---- */
.engagement {
  padding: 80px 24px 120px;
  position: relative;
  background: linear-gradient(180deg, rgba(244,157,37,0.03) 0%, var(--beige) 100%);
  border-top: 1px solid rgba(34,26,16,0.06);
}
.engagement-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.engagement-grid .feature-card:last-child {
  grid-column: 1 / -1;
  max-width: 400px;
  justify-self: center;
}


/* ---- Pricing ---- */
.pricing { padding: 80px 24px 100px; }
.pricing-inner { max-width: 800px; margin: 0 auto; }

.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.pricing-toggle-label {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s ease;
}
.pricing-toggle-label.active, #toggle-label-monthly { color: var(--cocoa); font-weight: 600; }
.pricing-toggle-label#toggle-label-annual { color: var(--text-muted); font-weight: 500; }
.pricing-toggle-label#toggle-label-annual.active { color: var(--cocoa); font-weight: 600; }
.pricing-toggle-label#toggle-label-monthly.active ~ #toggle-label-annual { color: var(--text-muted); }

.pricing-save-badge {
  font-size: 0.65rem; font-weight: 600;
  background: rgba(22,163,106,0.12); color: #16a34a;
  padding: 2px 8px; border-radius: 100px; margin-left: 4px;
}

.pricing-toggle-switch {
  position: relative; width: 48px; height: 26px;
  background: rgba(34,26,16,0.12); border-radius: 100px;
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s ease;
}
.pricing-toggle-switch.active { background: var(--orange); }
.pricing-toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: white;
  border-radius: 50%; transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.pricing-toggle-switch.active .pricing-toggle-knob { transform: translateX(22px); }

.pricing-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--surface); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  position: relative;
}

.pricing-card-featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-elevated), 0 0 0 4px rgba(244,157,37,0.08);
}

.pricing-card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: white; font-size: 0.7rem; font-weight: 600;
  padding: 4px 16px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em;
}

.pricing-card-header { margin-bottom: 20px; }
.pricing-card-name { font-size: 1.2rem; font-weight: 700; color: var(--cocoa); margin-bottom: 4px; }
.pricing-card-desc { font-size: 0.85rem; font-weight: 300; color: var(--text-muted); }

.pricing-card-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px;
}
.pricing-amount { font-size: 3rem; font-weight: 700; color: var(--cocoa); line-height: 1; }
.pricing-currency { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); }
.pricing-period { font-size: 0.85rem; font-weight: 300; color: var(--text-muted); }

.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px; flex: 1;
}
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 400; color: var(--text);
}
.pricing-check { font-size: 18px; color: #16a34a; }

.pricing-cta { width: 100%; text-align: center; }

.pricing-note {
  font-size: 0.8rem; font-weight: 300; color: var(--text-muted);
  text-align: center; max-width: 560px; margin: 0 auto; line-height: 1.6;
}

/* ---- FAQ ---- */
.faq { padding: 80px 24px 100px; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq .section-title { margin-bottom: 40px; }

.faq-item {
  border-bottom: 1px solid rgba(34,26,16,0.08); padding: 0;
}
.faq-question {
  font-size: 1rem; font-weight: 500; color: var(--cocoa); cursor: pointer;
  padding: 20px 0; list-style: none; display: flex; align-items: center;
  justify-content: space-between;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--text-muted);
  transition: transform 0.2s ease;
}
details[open] .faq-question::after { content: "\2212"; }

.faq-answer {
  font-size: 0.9rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.7; padding: 0 0 20px; max-width: 640px;
}

/* ---- Contact ---- */
.contact { position: relative; padding: 80px 24px 120px; overflow: hidden; }
.contact-inner { max-width: 560px; margin: 0 auto; position: relative; z-index: 2; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--cocoa); }
.form-optional { font-weight: 300; color: var(--text-muted); }
.form-input {
  font-family: inherit; font-size: 0.95rem; padding: 14px 16px;
  border: 2px solid rgba(34,26,16,0.1); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--orange); }
.form-input::placeholder { color: rgba(34,26,16,0.3); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: 0.85rem; color: #dc2626; padding: 10px 14px;
  background: rgba(220,38,38,0.06); border-radius: var(--radius-sm);
}

.form-submit { width: 100%; text-align: center; margin-top: 8px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 24px; gap: 12px;
}
.form-success-icon { font-size: 48px; color: #16a34a; }
.form-success-title { font-size: 1.3rem; font-weight: 600; color: var(--cocoa); }
.form-success-sub { font-size: 0.95rem; font-weight: 300; color: var(--text-muted); }

.contact-bg-glow {
  position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(244,157,37,0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ---- Footer ---- */
.footer { border-top: 1px solid rgba(34,26,16,0.08); padding: 24px; }
.footer-inner {
  max-width: 1120px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between;
}
.footer-note { font-size: 0.8rem; font-weight: 300; color: var(--text-muted); }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--orange-dark);
}


/* ---- Mobile phone slideshow ---- */
.phone-slideshow {
  display: none;
  flex-direction: column;
  align-items: center;
}
.phone-slideshow-frame {
  position: relative;
  width: 260px;
  border-radius: 24px;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  border: 2px solid rgba(34,26,16,0.06);
  background: var(--surface);
  cursor: pointer;
}
.phone-slideshow-frame .phone-screen {
  position: relative;
}
.phone-slide {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.4s ease;
}
.phone-slide:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.phone-slide.active {
  position: relative;
  opacity: 1;
}
.phone-slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.phone-slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(34,26,16,0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}
.phone-slideshow-dot.active {
  background: var(--orange);
  transform: scale(1.25);
}

/* ---- Noise overlay ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { justify-content: center; }

  .phone-group { display: none; }
  .phone-slideshow { display: flex; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; min-height: 100dvh; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .btn-large { padding: 14px 28px; font-size: 0.95rem; width: 100%; text-align: center; }

  .float-badge { display: none; }

  .features, .engagement { padding: 64px 20px 80px; }
  .features-grid, .engagement-grid { grid-template-columns: 1fr; gap: 16px; }
  .engagement-grid .feature-card:last-child { max-width: none; }
  .section-title { margin-bottom: 36px; }
  .feature-card { padding: 24px 22px; }

  .mock-mini-bracket { flex-wrap: wrap; }

  .pricing { padding: 48px 20px 64px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-amount { font-size: 2.4rem; }

  .faq { padding: 48px 20px 64px; }
  .contact { padding: 48px 20px 80px; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-right { align-items: center; }
}
