/* ============================================
   toolKUDU Marketing Site — Industrial Blueprint
   ============================================ */

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

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --orange: #F97316;
  --orange-hover: #EA580C;
  --steel: #64748B;
  --white: #FFFFFF;
  --light-gray: #F1F5F9;
  --graphite: #475569;
  --grid-color: rgba(249, 115, 22, 0.06);
  --grid-line: rgba(249, 115, 22, 0.12);
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --font-hand: 'Caveat', cursive;
}

/* Brand logo treatment: "tool" stays in body color, "KUDU" is orange */
.brand-kudu {
  color: var(--orange);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Handwritten Accent Font ---------- */
.handwritten-label {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.15em;
}

/* ---------- Sketch Highlight (rough circle around text) ---------- */
.sketch-highlight {
  position: relative;
  white-space: nowrap;
}

.sketch-highlight::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  border: 2px solid var(--orange);
  border-radius: 50% 40% 50% 45%;
  opacity: 0.5;
  transform: rotate(-1deg);
  pointer-events: none;
}

/* ---------- Blueprint Grid Background ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size:
    100px 100px,
    100px 100px,
    20px 20px,
    20px 20px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
  transition: transform 0.1s ease-out;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.42);
  color: var(--white);
  border-color: rgba(148, 163, 184, 0.68);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

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

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

.nav-logo-text strong {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel);
  transition: color 0.2s;
}

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

.nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel);
}

.nav-login:hover { color: var(--white); }

.nav-auth-mobile { display: none; }

/* Mobile menu overlay backdrop */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  transition: opacity 0.3s ease;
}
#nav-overlay.visible {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)),
    url('assets/Hero_section_image.jpeg') center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  padding: 10px 18px 0;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: -108px -190px -122px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(8, 14, 30, 0.96) 0%,
    rgba(10, 18, 36, 0.9) 32%,
    rgba(12, 21, 40, 0.72) 54%,
    rgba(15, 23, 42, 0) 100%
  );
  filter: blur(12px);
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.scribble-underline {
  position: relative;
  display: inline-block;
}

.scribble-underline::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -4px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 C30 2, 60 12, 100 6 S160 2, 198 8' fill='none' stroke='%23F97316' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.hero-subtext {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #9db0c8;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.hero-microcopy {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--steel);
  font-family: var(--font-hand);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.microcopy-strike {
  text-decoration: line-through;
  opacity: 0.55;
}

/* ---------- Floating Tools (Hero) ---------- */
.floating-tools {
  position: absolute;
  inset: 0;
  --hero-nav-clearance: 88px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.floating-tools::after {
  content: '';
  position: absolute;
  inset: 18% 20% 20%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.76) 48%,
    rgba(15, 23, 42, 0) 100%
  );
  filter: blur(8px);
}

.floating-tool {
  position: absolute;
  --size: clamp(96px, 10vw, 168px);
  --rot: 0deg;
  --drift: 10px;
  --duration: 8.5s;
  --shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  width: var(--size);
  height: auto;
  object-fit: contain;
  opacity: 0.82;
  filter: drop-shadow(var(--shadow));
  animation: toolFloat var(--duration) ease-in-out infinite;
  transform-origin: center;
  transform: rotate(var(--rot));
}

@keyframes toolFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot)); }
  50% { transform: translateY(calc(var(--drift) * -1)) rotate(calc(var(--rot) + 1.5deg)); }
}

/* --- 12 random-style placements around hero text --- */
.ft-1  { top: calc(var(--hero-nav-clearance) + 2%); left: 6%; --size: clamp(110px, 11vw, 176px); --rot: -11deg; --drift: 8px;  --duration: 7.8s; --depth-opacity: 0.74; animation-delay: -1.2s; }
.ft-2  { top: calc(var(--hero-nav-clearance) + 9%); left: 23%; --size: clamp(94px, 9vw, 148px); --rot: 7deg; --drift: 8px; --duration: 8.6s; --depth-opacity: 0.7; animation-delay: -2.7s; }
.ft-3  { top: calc(var(--hero-nav-clearance) + 7%); right: 24%; --size: clamp(98px, 9.5vw, 154px); --rot: -8deg; --drift: 9px;  --duration: 8.9s; --depth-opacity: 0.82; animation-delay: -3.4s; }
.ft-4  { top: calc(var(--hero-nav-clearance) + 5%); right: 6%; --size: clamp(120px, 11.5vw, 190px); --rot: 11deg; --drift: 7px; --duration: 7.4s; --depth-opacity: 0.72; animation-delay: -0.8s; }
.ft-5  { top: 49%; left: 1%; --size: clamp(120px, 11.5vw, 188px); --rot: -13deg; --drift: 11px; --duration: 9.2s; --depth-opacity: 0.88; --shadow: 0 14px 26px rgba(0, 0, 0, 0.33); animation-delay: -4.3s; }
.ft-6  { top: 41%; right: 2%; --size: clamp(136px, 12.8vw, 206px); --rot: 8deg; --drift: 12px; --duration: 9.6s; --depth-opacity: 0.9; --shadow: 0 16px 28px rgba(0, 0, 0, 0.36); animation-delay: -2.1s; }
.ft-7  { top: 35%; left: 3%; --size: clamp(98px, 9.8vw, 154px); --rot: 14deg; --drift: 10px; --duration: 8.1s; --depth-opacity: 0.8; animation-delay: -5.3s; }
.ft-8  { bottom: 10%; left: 12%; --size: clamp(102px, 10vw, 168px); --rot: -9deg; --drift: 11px; --duration: 8.4s; --depth-opacity: 0.87; animation-delay: -1.9s; }
.ft-9  { display: none; }
.ft-10 { bottom: 9%; right: 34%; --size: clamp(104px, 10vw, 162px); --rot: -7deg; --drift: 8px; --duration: 7.9s; --depth-opacity: 0.83; animation-delay: -2.9s; }
.ft-11 { bottom: 20%; right: 2%; --size: clamp(96px, 9.5vw, 146px); --rot: 9deg; --drift: 9px; --duration: 8.7s; --depth-opacity: 0.76; animation-delay: -0.5s; }
.ft-12 { bottom: 14%; right: 17%; --size: clamp(114px, 10.5vw, 176px); --rot: -14deg; --drift: 10px; --duration: 8.8s; --depth-opacity: 0.8; animation-delay: -4.8s; }

/* ---------- SVG Draw Animation ---------- */
.draw-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1s ease-out;
}

.draw-icon.drawn .draw-line,
.visible .draw-line {
  stroke-dashoffset: 0;
}

/* ---------- Sections (shared) ---------- */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--steel);
  margin-top: -40px;
  margin-bottom: 48px;
}

/* ---------- Wobble on hover ---------- */
.wobble {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wobble:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

/* ---------- Problem Section ---------- */
.problem {
  background: var(--navy-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.problem-card {
  background: linear-gradient(145deg, #1a2438 0%, var(--navy) 100%);
  border: 1px solid rgba(100, 116, 139, 0.25);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.problem-card:hover {
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12), 0 4px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(249, 115, 22, 0.3);
}

.problem-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--orange);
  filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.2));
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.6;
}

/* ---------- Features Section ---------- */
.features {
  background: var(--navy);
}

.features-showcase {
  display: grid;
  gap: 30px;
}

.feature-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 560px);
  gap: 30px;
  align-items: center;
  background: linear-gradient(145deg, #1E293B 0%, #172033 100%);
  border-radius: 18px;
  padding: 34px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-spotlight:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.feature-spotlight-reverse {
  grid-template-columns: minmax(390px, 560px) minmax(0, 1fr);
}

.feature-spotlight-reverse .feature-copy {
  order: 2;
}

.feature-spotlight-reverse .feature-screen {
  order: 1;
}

.feature-kicker {
  color: var(--orange);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-copy h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.feature-copy > p {
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.85);
}

.feature-points {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.feature-points li {
  color: var(--steel);
  font-size: 0.88rem;
  padding-left: 16px;
  position: relative;
}

.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.57em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.feature-screen {
  justify-self: center;
  width: 100%;
}

.feature-screen-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
}

.feature-screen-single {
  display: flex;
  justify-content: center;
  width: 100%;
}

.feature-phone-frame {
  width: 300px;
  aspect-ratio: 1290 / 2796;
  border-radius: 32px;
  border: 2px solid rgba(100, 116, 139, 0.35);
  overflow: hidden;
  background: #05070d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.feature-phone-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
}

.feature-phone-frame-sm {
  width: 280px;
}

.feature-phone-frame-lg {
  width: 340px;
}

.feature-screen-pair .feature-phone-frame-sm:nth-child(2) {
  transform: translateY(-18px);
  border-color: rgba(249, 115, 22, 0.3);
}

.feature-view-tools { object-position: center center; }
.feature-view-overview { object-position: center center; }
.feature-view-buddies { object-position: center center; }
.feature-view-request { object-position: center center; }
.feature-view-activity { object-position: center center; }
.feature-view-profile { object-position: center center; }
.feature-view-add { object-position: center center; }

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--navy-light);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step {
  text-align: center;
  flex: 0 1 240px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* Rough sketched circle for step numbers */
.sketch-circle {
  background: transparent;
  border: 3px solid var(--orange);
  border-radius: 52% 48% 50% 46%;
  color: var(--orange);
  font-family: var(--font-hand);
  font-size: 1.6rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.step-arrow {
  flex: 0 0 60px;
  color: var(--steel);
}

.step-arrow svg {
  width: 60px;
  height: 24px;
}

/* ---------- App Showcase ---------- */
.app-showcase {
  background: var(--navy);
}

.showcase-content {
  text-align: center;
}

.phone-mockup-group {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-left {
  transform: rotate(-4deg);
}

.phone-right {
  transform: rotate(4deg);
}

.phone-frame {
  width: 258px;
  aspect-ratio: 1290 / 2796;
  background: #000;
  border: 2px solid rgba(100, 116, 139, 0.3);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  position: relative;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Fade overlay: navy at top, transparent at bottom (tab bar stays visible) */
.phone-fade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.6) 35%,
    rgba(15, 23, 42, 0.25) 65%,
    rgba(15, 23, 42, 0) 80%
  );
  pointer-events: none;
  z-index: 1;
}

.sketch-circle-highlight {
  position: absolute;
  text-align: center;
  z-index: 2;
}

.highlight-1 {
  bottom: -24px;
  left: -8px;
  width: 80px;
}

.highlight-2 {
  bottom: -24px;
  left: 30px;
  width: 80px;
}

.sketch-circle-highlight .handwritten-label {
  font-size: 0.9rem;
  display: block;
  margin-top: -4px;
}

/* Measurement ticks around phones */
.measure-ticks {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.tick-group {
  position: absolute;
  display: flex;
}

.tick-top {
  top: -16px;
  left: 10%;
  right: 10%;
  justify-content: space-between;
}

.tick-top span {
  width: 1px;
  height: 8px;
  background: var(--steel);
  opacity: 0.2;
}

.tick-top span:nth-child(5n) {
  height: 14px;
  opacity: 0.35;
}

.tick-side {
  right: -16px;
  top: 10%;
  bottom: 10%;
  flex-direction: column;
  justify-content: space-between;
}

.tick-side span {
  height: 1px;
  width: 8px;
  background: var(--steel);
  opacity: 0.2;
}

.tick-side span:nth-child(3n) {
  width: 14px;
  opacity: 0.35;
}

.showcase-caption {
  font-size: 1.1rem;
  color: var(--steel);
  font-style: italic;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Community ---------- */
.community {
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
}

/* Sketch texture overlay */
.community::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M0 50 Q25 48 50 50 T100 50' fill='none' stroke='%2364748B' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
}

.community-content {
  text-align: center;
}

/* --- Marquee / horizontal scroll --- */
.community-marquee {
  overflow: hidden;
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.community-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.silhouette {
  text-align: center;
  width: 100px;
  flex-shrink: 0;
}

.silhouette svg {
  width: 72px;
  height: 116px;
  margin: 0 auto 10px;
}

.silhouette-label {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.15rem;
  display: block;
}

.community-body {
  font-size: 1.1rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--navy);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(100, 116, 139, 0.25);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}

.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card-pro {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 8px 32px rgba(249, 115, 22, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.75;
}

/* Pro pricing — side-by-side strikethrough + real price */
.pricing-price-pro {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.pricing-price-pro > span:last-child {
  font-size: 1.1rem;
}

/* Original price — struck through, smaller than real price */
.price-original {
  font-size: 1.8rem !important;
  font-weight: 800;
  color: var(--white) !important;
  text-decoration: line-through;
  opacity: 0.35;
}

/* Save badge */
.pricing-save-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* Hand-drawn circle around Pro price */
.price-highlight {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-size: 2.8rem !important;
  font-weight: 800 !important;
}

.price-highlight::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -14px;
  right: -14px;
  bottom: -8px;
  border: 2.5px solid var(--orange);
  border-radius: 55% 45% 50% 42%;
  opacity: 0.4;
  transform: rotate(-2deg);
  pointer-events: none;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--steel);
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--orange);
  font-weight: 700;
  margin-right: 10px;
}

.pricing-features li.excluded {
  opacity: 0.4;
}

.pricing-features li.excluded::before {
  content: '\2715';
  color: var(--steel);
}

.pricing-footnote {
  text-align: center;
  font-size: 0.8rem;
  color: var(--steel);
  margin-top: 24px;
  opacity: 0.7;
}

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

/* ---------- Future-Ready ---------- */
.future-ready {
  background: var(--navy-light);
  padding: 72px 0;
}

.future-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.future-content .section-title {
  margin-bottom: 20px;
}

.future-body {
  font-size: 1.1rem;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 20px;
}

.future-hint {
  font-size: 1.1rem;
  opacity: 0.7;
}

/* ---------- Trust & Security ---------- */
.trust {
  background: var(--navy);
}

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

.trust-item {
  text-align: center;
  padding: 24px 16px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
}

.trust-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--navy-light);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
  transition: color 0.2s;
}

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

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary:hover {
  color: var(--orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.3s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px 42px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--steel);
  margin-bottom: 32px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
}

.contact-intro {
  text-align: center;
  color: var(--steel);
  max-width: 560px;
  margin: -32px auto 48px;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-email-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.contact-optional {
  font-weight: 400;
  color: var(--steel);
}

.contact-field input,
.contact-field textarea {
  background: var(--navy-light);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--steel);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--orange);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius);
  color: #fca5a5;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.contact-success {
  text-align: center;
  padding: 48px 24px;
  color: var(--white);
}

.contact-success svg {
  margin: 0 auto 16px;
  stroke: #4ade80;
}

.contact-success p {
  font-size: 1.1rem;
  color: var(--steel);
}

#contact-submit {
  width: 100%;
  justify-content: center;
}

#contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding: 60px 0 32px;
  position: relative;
}

/* Measuring tape graphic across top */
.footer-tape {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0px,
    var(--orange) 2px,
    transparent 2px,
    transparent 10px,
    var(--orange) 10px,
    var(--orange) 11px,
    transparent 11px,
    transparent 20px
  );
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
}

.footer-tagline {
  color: var(--steel);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.footer-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
}

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

.appstore-link svg {
  opacity: 0.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
  padding-top: 24px;
  margin-top: 24px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-rotate-tagline {
  font-family: var(--font-hand);
  font-size: 0.95rem !important;
  color: var(--orange) !important;
  opacity: 0.6;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children reveals */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .feature-spotlight,
  .feature-spotlight-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 480px);
    gap: 18px;
    padding: 28px;
  }

  .feature-copy h3 {
    font-size: 1.3rem;
  }

  .feature-phone-frame {
    width: 252px;
  }

  .feature-phone-frame-sm {
    width: 228px;
  }

  .feature-phone-frame-lg {
    width: 300px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .floating-tool {
    width: clamp(78px, 11vw, 145px);
  }

  .phone-frame {
    width: 220px;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    border-left: 1px solid rgba(100, 116, 139, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.12);
  }

  .nav-auth-mobile {
    display: block !important;
  }

  .nav-auth-mobile .btn {
    width: auto;
    margin-top: 8px;
  }

  .nav-auth { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-headline { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-content::before { inset: -74px -58px -80px; }
  .hero-subtext { margin-bottom: 24px; }

  .floating-tool {
    --size: clamp(74px, 18vw, 112px);
    width: var(--size);
    opacity: 0.82;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
  }

  .floating-tools {
    --hero-nav-clearance: 80px;
  }

  .ft-1  { top: calc(var(--hero-nav-clearance) + 1%); left: -1%; }
  .ft-2  { display: none; }
  .ft-3  { top: calc(var(--hero-nav-clearance) + 2%); right: 30%; }
  .ft-4  { top: calc(var(--hero-nav-clearance) + 1%); right: 0%; }
  .ft-5  { top: 29%; left: -4%; }
  .ft-6  { top: 30%; right: -5%; }
  .ft-7  { display: none; }
  .ft-8  { bottom: 11%; left: 2%; }
  .ft-10 { bottom: 8%; right: 22%; }
  .ft-11 { display: none; }
  .ft-12 { bottom: 9%; right: 18%; }

  .floating-tools::after {
    inset: 21% 10% 22%;
  }

  .section { padding: 72px 0; }
  .section-title { margin-bottom: 36px; }

  .contact-row {
    grid-template-columns: 1fr;
  }
  .section-subtitle { margin-top: -24px; margin-bottom: 32px; }

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

  .features-showcase {
    gap: 18px;
  }

  .feature-spotlight,
  .feature-spotlight-reverse {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .feature-spotlight-reverse .feature-copy,
  .feature-spotlight-reverse .feature-screen {
    order: initial;
  }

  .feature-copy {
    text-align: left;
  }

  .feature-phone-frame {
    width: 250px;
  }

  .feature-screen-pair {
    gap: 12px;
  }

  .feature-phone-frame-sm {
    width: 176px;
  }

  .feature-phone-frame-lg {
    width: 270px;
  }

  .feature-screen-pair .feature-phone-frame-sm:nth-child(2) {
    transform: translateY(-10px);
  }

  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .step-arrow svg {
    width: 40px;
  }

  .phone-mockup-group {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .phone-left,
  .phone-right {
    transform: rotate(0deg);
  }

  .phone-frame {
    width: 230px;
  }

  .measure-ticks { display: none; }

  .marquee-track {
    gap: 36px;
    animation-duration: 20s;
  }

  .silhouette {
    width: 72px;
  }

  .silhouette svg {
    width: 54px;
    height: 90px;
  }

  .silhouette-label {
    font-size: 0.9rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

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

}
