/* Tentomushi Landing Page Styles */

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

.hidden { display: none !important; }

:root {
  --cream: #F5F0EB;
  --cream-dark: #E8E0D8;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --purple: #FF6B35;
  --blue: #3b82f6;
  --pink: #F0A8FF;
  --green: #2DD4A8;
  --dodger-blue: #3B9EFF;
  --orange: #FF6B35;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--black);
}
.logo svg { flex-shrink: 0; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.25rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-links a:hover { background: rgba(0,0,0,0.04); }

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
}
.nav-dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  z-index: 100;
  flex-direction: column;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.nav-dropdown-menu-inner {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: flex !important;
}

/* Mobile sub-links */
.mobile-sub {
  padding-left: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.cta-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.15s;
}
.cta-header:hover { box-shadow: 0 2px 12px rgba(255,107,53,0.18); transform: translateY(-1px); }
.cta-header .fire-icon {
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.85rem;
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: none; background: none; cursor: pointer;
  color: var(--black);
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 72px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--orange);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: none !important;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .cta-header { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ===== HERO ===== */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  overflow: visible;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { max-width: 540px; }
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.6;
}
.hero-cta { margin-top: 2rem; }
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.hero-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,107,53,0.3); }
.hero-btn-primary .arrow {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}

/* ===== CARD STACK (3D fanned hand) ===== */
.card-stack {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.stack-card {
  position: absolute;
  width: 220px;
  height: 310px;
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom center;
  cursor: default;
}

/* Colors */
.sc-blue { background: var(--dodger-blue); color: white; }
.sc-green { background: var(--green); color: var(--black); }
.sc-pink { background: #F0A8FF; color: var(--black); }

/* Default stacked positions — fanned like a hand of cards */
.sc-back {
  transform: translateX(160px) translateY(-30px) rotate(10deg);
  z-index: 1;
}
.sc-mid {
  transform: translateX(0px) translateY(0px) rotate(0deg);
  z-index: 2;
}
.sc-front {
  transform: translateX(-160px) translateY(-30px) rotate(-10deg);
  z-index: 3;
}

/* On stack hover, fan out a bit more */
.card-stack:hover .sc-back {
  transform: translateX(180px) translateY(-40px) rotate(14deg);
  box-shadow: 0 16px 50px rgba(59,158,255,0.25);
}
.card-stack:hover .sc-mid {
  transform: translateX(0px) translateY(-10px) rotate(0deg);
  box-shadow: 0 16px 50px rgba(45,212,168,0.25);
}
.card-stack:hover .sc-front {
  transform: translateX(-180px) translateY(-40px) rotate(-14deg);
  box-shadow: 0 16px 50px rgba(240,168,255,0.25);
}

/* Badge (status pill) */
.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
.sc-badge svg { flex-shrink: 0; }

/* Card content */
.sc-content {
  margin-top: auto;
}
.sc-icon {
  opacity: 0.3;
  margin-bottom: 0.75rem;
}
.sc-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}
.sc-desc {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Recording dot — pulsing red circle */
.sc-rec-dot {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* Processing pulse — ring animation */
.sc-pulse {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

/* Ticket lines — skeleton lines on the "done" card */
.sc-ticket-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1rem;
}
.sc-ticket-lines span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  width: 100%;
}
.sc-ticket-lines span.short { width: 60%; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .card-stack {
    height: auto;
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 1.5rem;
    perspective: none;
  }
  .stack-card {
    position: relative;
    width: 240px;
    min-width: 240px;
    height: 280px;
    padding: 1.5rem;
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    scroll-snap-align: center;
  }
  .card-stack:hover .sc-back,
  .card-stack:hover .sc-mid,
  .card-stack:hover .sc-front {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .sc-rec-dot, .sc-pulse {
    top: 1.25rem;
    right: 1.25rem;
  }
  /* Hide scrollbar */
  .card-stack::-webkit-scrollbar { display: none; }
  .card-stack { -ms-overflow-style: none; scrollbar-width: none; }
}

/* ===== FEATURES (2-column colorful cards) ===== */
.features-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card-color {
  border-radius: 1.5rem;
  padding: 2.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.feature-card-color h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.feature-card-color .fc-desc {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
}
.feature-card-color .fc-body {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  opacity: 0.85;
  max-width: 380px;
}
.feature-card-color .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  text-decoration: none;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  width: fit-content;
}
.feature-card-color .card-link:hover { background: rgba(255,255,255,0.8); }
.card-link .arrow {
  width: 24px; height: 24px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem;
}

.fc-cream { background: var(--cream-dark); }
.fc-pink { background: var(--pink); }
.fc-green { background: var(--green); }
.fc-blue { background: var(--dodger-blue); color: white; }
.fc-blue .card-link { border-color: rgba(255,255,255,0.3); color: white; }
.fc-blue .card-link .arrow { background: white; color: var(--black); }

@media (max-width: 640px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-card-color { min-height: auto; }
}

/* ===== MANIFESTO ===== */
.manifesto {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}
.manifesto-inner {
  position: relative;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 3.5rem;
  padding-left: 4rem;
  border: 1.5px solid rgba(0,0,0,0.06);
}
.manifesto-accent {
  position: absolute;
  left: 1.5rem;
  top: 2rem;
  bottom: 2rem;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), var(--green), var(--dodger-blue));
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.manifesto-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.manifesto-detail p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.manifesto-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.manifesto-link:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,107,53,0.3); }
.manifesto-link .arrow {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .manifesto-inner { padding: 2rem; padding-left: 2.5rem; }
  .manifesto-accent { left: 0.75rem; top: 1.5rem; bottom: 1.5rem; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== WORK SHOWCASE ===== */
.showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}
.showcase h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 700px;
}
.showcase p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 500px;
  line-height: 1.7;
}
.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.15);
  text-decoration: none;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.showcase-link:hover { background: rgba(0,0,0,0.04); }
.showcase-link .arrow {
  width: 24px; height: 24px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem;
}

/* Dashboard preview cards */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.preview-card {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.preview-card.pc-orange { border: 3px solid var(--orange); background: var(--cream-dark); }
.preview-card.pc-blue { border: 3px solid var(--dodger-blue); background: var(--cream-dark); }
.preview-card.pc-green { border: 3px solid var(--green); background: var(--cream-dark); }
.preview-card .pc-label {
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.preview-card .pc-sublabel {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
  position: relative;
  z-index: 2;
}
.preview-card .pc-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Dashboard SVG inside preview cards */
.preview-card .dashboard-mini {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 5.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}
.preview-card .dashboard-mini svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  .preview-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
  .preview-card { aspect-ratio: auto; min-height: 140px; padding: 1rem; }
  .preview-card .dashboard-mini { display: none; }
  .preview-card .pc-arrow { top: 0.75rem; right: 0.75rem; width: 26px; height: 26px; font-size: 0.7rem; }
  .preview-card .pc-label { font-size: 0.8rem; }
  .preview-card .pc-sublabel { font-size: 0.7rem; }
}

/* ===== PRICING CTA (homepage) ===== */
.pricing-cta-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.pricing-cta-inner {
  text-align: center;
}
.pricing-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pricing-cta-inner > p {
  margin-top: 0.75rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}
.pricing-cta-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.pricing-cta-toggle .toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  user-select: none;
}
.pricing-cta-toggle .toggle-label.active { color: var(--black); }
.pricing-cta-toggle .toggle-label.inactive { color: var(--gray-400); }
.pricing-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
}
@media (max-width: 640px) {
  .pricing-cta-cards { grid-template-columns: 1fr; max-width: 280px; }
}
.pricing-cta-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-cta-card:hover { border-color: rgba(255,107,53,0.3); box-shadow: 0 4px 24px rgba(255,107,53,0.08); }
.pricing-cta-card.featured { border-color: var(--orange); border-width: 2px; }
.pricing-cta-card.cta-blue { background: var(--dodger-blue); color: white; border-color: var(--dodger-blue); }
.pricing-cta-card.cta-blue .pricing-cta-label { color: rgba(255,255,255,0.7); }
.pricing-cta-card.cta-blue .pricing-cta-price span { color: rgba(255,255,255,0.7); }
.pricing-cta-card.cta-blue .pricing-cta-desc { color: rgba(255,255,255,0.85); }
.pricing-cta-card.cta-blue:hover { box-shadow: 0 8px 32px rgba(59,158,255,0.25); border-color: var(--dodger-blue); }
.pricing-cta-card.cta-green { background: var(--green); color: var(--black); border-color: var(--green); border-width: 2px; }
.pricing-cta-card.cta-green .pricing-cta-label { color: rgba(0,0,0,0.55); }
.pricing-cta-card.cta-green .pricing-cta-price span { color: rgba(0,0,0,0.5); }
.pricing-cta-card.cta-green .pricing-cta-desc { color: rgba(0,0,0,0.7); }
.pricing-cta-card.cta-green:hover { box-shadow: 0 8px 32px rgba(45,212,168,0.25); border-color: var(--green); }
.pricing-cta-card.cta-pink { background: #F0A8FF; color: var(--black); border-color: #F0A8FF; }
.pricing-cta-card.cta-pink .pricing-cta-label { color: rgba(0,0,0,0.55); }
.pricing-cta-card.cta-pink .pricing-cta-price span { color: rgba(0,0,0,0.5); }
.pricing-cta-card.cta-pink .pricing-cta-desc { color: rgba(0,0,0,0.7); }
.pricing-cta-card.cta-pink:hover { box-shadow: 0 8px 32px rgba(240,168,255,0.25); border-color: #F0A8FF; }
.pricing-cta-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
@keyframes earlyBirdShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.pricing-cta-badge { display: inline-flex; width: fit-content; align-items: center; gap: 0.25rem; font-size: 0.55rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem 0.2rem 0.4rem; border-radius: 999px; background: linear-gradient(105deg, var(--orange) 0%, var(--orange) 40%, #ffb347 50%, var(--orange) 60%, var(--orange) 100%); background-size: 200% 100%; animation: earlyBirdShimmer 3s ease-in-out infinite; color: white; margin-bottom: 0.25rem; box-shadow: 0 2px 8px rgba(255,107,53,0.3); }
.pricing-cta-badge::before { content: ''; display: inline-block; width: 0.7rem; height: 0.7rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; line-height: 1; }
.pricing-cta-price { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; margin-top: 0.25rem; }
.pricing-cta-price span { font-size: 0.85rem; font-weight: 500; color: var(--gray-500); }
.pricing-cta-price.pricing-cta-price-sm { font-size: 1.5rem; }
.pricing-cta-desc { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.25rem; display: block; }
.pricing-cta-divider { width: 100%; height: 1px; background: rgba(0,0,0,0.08); margin: 0.75rem 0; }
.pricing-cta-card.cta-blue .pricing-cta-divider { background: rgba(255,255,255,0.2); }
.pricing-cta-card.cta-green .pricing-cta-divider { background: rgba(0,0,0,0.1); }
.pricing-cta-card.cta-pink .pricing-cta-divider { background: rgba(0,0,0,0.1); }
.pricing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.pricing-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,107,53,0.3); }
.pricing-cta-btn .arrow {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}

/* ===== PRICING ===== */
.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.pricing-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pricing-section .section-header p {
  margin-top: 0.75rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Toggle */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.toggle-label { font-weight: 600; font-size: 0.95rem; }
.toggle-label.active { color: var(--black); }
.toggle-label.inactive { color: var(--gray-400); }
.toggle-btn {
  position: relative;
  width: 52px; height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--cream-dark);
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-btn.on { background: var(--orange); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.toggle-btn.on .toggle-knob { transform: translateX(24px); }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
.price-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1.5px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.price-card:hover { border-color: rgba(255,107,53,0.3); box-shadow: 0 4px 24px rgba(255,107,53,0.08); }
.price-card.featured {
  border-color: var(--orange);
  border-width: 2px;
  position: relative;
}
.price-card.featured .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; font-weight: 800; }
.price-amount {
  margin-top: 0.75rem;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.price-desc { margin-top: 0.5rem; font-size: 0.9rem; color: var(--gray-600); }
.price-best { margin-top: 0.5rem; font-size: 0.8rem; color: var(--orange); font-weight: 600; }
.price-features {
  list-style: none;
  margin-top: 1.5rem;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.price-features li .check {
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.price-features li .check svg { width: 10px; height: 10px; }
.price-btn {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.price-btn:hover { transform: translateY(-1px); }
.price-btn.outline {
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.15);
  background: transparent;
}
.price-btn.outline:hover { border-color: var(--orange); box-shadow: 0 2px 12px rgba(255,107,53,0.12); }
.price-btn.filled {
  color: white;
  background: var(--orange);
  border: none;
}
.price-btn.filled:hover { box-shadow: 0 4px 20px rgba(255,107,53,0.3); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--cream-dark);
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a, .footer-col button {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.85rem;
  transition: color 0.2s;
  background: none; border: none; cursor: pointer; padding: 0; text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: var(--black); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--black); color: var(--black); }
.social-links a svg { width: 16px; height: 16px; }

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-spinner svg {
  width: 64px;
  height: 64px;
}
.loading-spinner--sm svg {
  width: 32px;
  height: 32px;
}
.loading-spinner--lg svg {
  width: 96px;
  height: 96px;
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.12s; opacity: 0; }
.delay-2 { animation-delay: 0.24s; opacity: 0; }
.delay-3 { animation-delay: 0.36s; opacity: 0; }
.delay-4 { animation-delay: 0.48s; opacity: 0; }

/* Feature card hover lift */
.feature-card-color {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.feature-card-color:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Preview card hover */
.preview-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Pricing card hover */
.pricing-cta-card {
  transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.2s;
}
.pricing-cta-card:hover {
  transform: translateY(-4px);
}

/* Title word reveal animation */
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Manifesto accent bar shimmer */
@keyframes shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}
.manifesto-accent {
  background-size: 100% 200%;
  animation: shimmer 4s ease-in-out infinite;
}

/* Arrow bounce on link hover */
.card-link:hover .arrow,
.showcase-link:hover .arrow,
.manifesto-link:hover .arrow,
.pricing-cta-btn:hover .arrow,
.hero-btn-primary:hover .arrow {
  animation: arrowBounce 0.4s ease;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
