/*
Theme Name: Furimacco
Theme URI: https://example.com/furimacco
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme for Furimacco LP.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: furimacco
*/

:root {
  /* Furimacco Brand Palette - Energetic Amber/Orange */
  /* More saturated and vibrant than before */
  --primary: #FF9F1C;
  /* Bright Orange */
  --primary-light: #FFBF69;
  /* Mellow Apricot */
  --primary-dark: #E07A00;
  /* Deep Orange */
  --primary-foreground: #FFFFFF;

  --accent: #2EC4B6;
  /* Tiffany Blue for contrast */
  --accent-light: #CBF3F0;

  --background: oklch(99% 0.01 90);
  --background-warm: oklch(97% 0.02 85);
  --surface: oklch(100% 0 0);

  --foreground: oklch(14.5% 0 0);
  --foreground-soft: oklch(35% 0.05 70);
  --muted: oklch(55.6% 0 0);

  --border: oklch(92.2% 0 0);
  --ring: oklch(88% 0.15 92);

  --text: var(--foreground);
  --text-soft: var(--foreground-soft);

  --radius-sm: 6px;
  /* shadcn default radius-like */
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-blob: 60% 40% 55% 45% / 55% 60% 40% 45%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
  /* Fix WP Admin bar gap if needed */
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

.font-display {
  font-family: "Zen Maru Gothic", sans-serif;
}

.font-handwritten {
  font-family: "Caveat", cursive;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Organic blob shapes */
.blob {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(60px);
  opacity: 0.5;
  animation: morphBlob 15s ease-in-out infinite;
}

@keyframes morphBlob {

  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  }

  25% {
    border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
  }

  50% {
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  }

  75% {
    border-radius: 40% 60% 45% 55% / 45% 40% 60% 55%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow:
    0 8px 32px rgba(200, 160, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(200, 160, 60, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(40, 35, 30, 0.08);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  background: var(--background-warm);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 16px;
  /* Reduced padding to keep text on one line */
  font-size: 1.2rem;
}

/* Section styling */
.section-header {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.4;
}

.section-header p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--background-warm);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.hero .blob-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-light);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero .blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-light);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeSlideUp 1s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-content h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--primary-light);
  opacity: 0.4;
  z-index: -1;
  transform: skewX(-5deg);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-actions .btn {
  flex: 1;
  min-width: 200px;
  /* Prevent too squished on very small screens */
}

/* Phone mockup */
.hero-visual {
  position: relative;
  animation: fadeSlideUp 1s ease-out 0.3s backwards;
}

.phone-frame {
  position: relative;
  width: 300px;
  margin: 0 auto;
  transform: rotate(3deg);
}

.phone-device {
  background: var(--foreground);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(40, 35, 30, 0.3),
    0 20px 60px rgba(40, 35, 30, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  background: linear-gradient(160deg,
      var(--background) 0%,
      var(--background-warm) 100%);
  border-radius: 36px;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 12px;
  width: 100px;
  height: 28px;
  background: var(--foreground);
  border-radius: 20px;
}

.phone-content {
  text-align: center;
  padding: 20px;
}

.phone-logo {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.phone-tagline {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(40, 35, 30, 0.12);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBounce 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-card-1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.float-card-1 .icon {
  background: var(--accent-light);
}

.float-card-2 {
  bottom: 20%;
  right: -60px;
  animation-delay: -2s;
}

.float-card-2 .icon {
  background: var(--background-warm);
}

.float-card-3 {
  top: 50%;
  left: -80px;
  animation-delay: -1s;
}

.float-card-3 .icon {
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary));
  color: white;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* Hook Section */
.hook-section {
  padding: 140px 0;
  background: white;
  position: relative;
}

.hook-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--background), white);
}

.hook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.hook-card {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.hook-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--accent-light));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hook-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary-light);
  box-shadow: 0 24px 60px rgba(200, 160, 60, 0.15);
}

.hook-card:hover::before {
  opacity: 0.1;
}

.hook-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}

.hook-card:nth-child(1) .hook-icon {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.hook-card:nth-child(2) .hook-icon {
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary));
}

.hook-card:nth-child(3) .hook-icon {
  background: linear-gradient(135deg, #ffe4b5, #ffd280);
}

.hook-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--text);
}

.hook-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.9;
  text-align: left;
}

/* Use Cases */
.usecase-section {
  padding: 140px 0;
  background: var(--background-warm);
  position: relative;
  overflow: hidden;
}

.usecase-section .blob {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  opacity: 0.3;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* Match hook-grid gap */
  position: relative;
  z-index: 1;
}

.usecase-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 48px 36px;
  /* Match hook-card padding */
  text-align: center;
  /* Center align */
  display: block;
  /* Remove grid */
  box-shadow: 0 4px 24px rgba(40, 35, 30, 0.06);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
}

.usecase-card:hover {
  transform: translateY(-12px);
  /* Match hook-card hover */
  border-color: var(--primary-light);
  box-shadow: 0 24px 60px rgba(200, 160, 60, 0.15);
}

.usecase-emoji {
  font-size: 3.5rem;
  width: 88px;
  height: 88px;
  /* Match hook-icon dimensions */
  margin: 0 auto 28px;
  /* Center and bottom margin */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border-radius: 50%;
  /* Round like hook-icon */
}

.usecase-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.usecase-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: left;
}

/* Flow Section */
.flow-section {
  padding: 140px 0;
  background: white;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.flow-column {
  padding: 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.flow-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.flow-column.owner {
  background: linear-gradient(180deg, var(--background-warm) 0%, white 100%);
  border: 2px solid var(--primary-light);
}

.flow-column.owner::before {
  background: linear-gradient(90deg,
      var(--primary),
      var(--primary-light));
}

.flow-column.guest {
  background: linear-gradient(180deg, #fff8e7 0%, white 100%);
  border: 2px solid var(--accent-light);
}

.flow-column.guest::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.flow-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.flow-column.owner .flow-header-icon {
  background: var(--primary);
}

.flow-column.guest .flow-header-icon {
  background: var(--accent);
}

.flow-header h3 {
  font-size: 1.3rem;
  font-weight: 500;
}

.flow-steps {
  list-style: none;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step:hover {
  transform: translateX(8px);
}

.flow-num {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(40, 35, 30, 0.1);
  flex-shrink: 0;
}

.flow-column.owner .flow-num {
  color: var(--primary-dark);
}

.flow-column.guest .flow-num {
  color: var(--primary);
}

.flow-hint {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 400;
  font-style: italic;
}

/* Pricing Section */
.pricing-section {
  padding: 140px 0;
  background: var(--foreground);
  color: white;
  position: relative;
  overflow: hidden;
}

.pricing-section .blob {
  width: 500px;
  height: 500px;
  background: var(--primary);
  opacity: 0.2;
  bottom: -200px;
  left: -100px;
}

.pricing-section .section-header h2,
.pricing-section .section-header p {
  color: white;
}

.pricing-section .section-header p {
  opacity: 0.8;
}

.pricing-section .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 48px 40px;
  border-radius: var(--radius-md);
  width: 320px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
  background: white;
  color: var(--text);
  transform: scale(1.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  border: none;
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-8px);
}

.pricing-label {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
  opacity: 0.8;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  /* Flex setup for bottom alignment */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88px;
  /* Ensure enough height for prefix */
}

.amount-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.amount-prefix {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.amount-prefix-bold {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Color Listing Fee & Point Purchase (2nd card) same as primary */
.pricing-card:nth-child(2) .pricing-amount,
.pricing-card.featured .pricing-amount {
  color: var(--primary);
}

.pricing-card.featured .pricing-amount {
  color: var(--primary);
}

.pricing-unit {
  font-size: 1.5rem;
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-top: 20px;
}

.pricing-card.featured .pricing-desc {
  color: var(--text-soft);
}

.pricing-note {
  margin-top: 56px;
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* =========================================
   Transaction Image Section
   ========================================= */
.transaction-section {
  padding: 140px 0;
  background: white;
  position: relative;
}

.transaction-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Vertical timeline line - ends at step 4's step-number bottom */
.transaction-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--accent-light) 100%);
  border-radius: 2px;
}

/* Hide timeline below step 4's step-number using last-child */
.transaction-step:last-child {
  position: relative;
}

.transaction-step:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  top: 60px;
  /* Height of step-number (60px) */
  bottom: 0;
  width: 60px;
  background: white;
  /* Cover the timeline line below step 4's circle */
  z-index: 0;
}

.transaction-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.transaction-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(255, 159, 28, 0.3);
}

.step-content {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: 32px;
  flex: 1;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.step-content:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 32px rgba(200, 160, 60, 0.12);
  transform: translateX(8px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.step-detail-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-detail-item .step-info-note,
.step-detail-item .step-model-note {
  margin-left: 36px;
}

.step-detail-item strong {
  color: var(--text);
  font-weight: 600;
}

.detail-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

/* Pricing model note */
.step-model-note {
  margin-top: 0;
  padding: 10px 14px;
  background: rgba(229, 62, 62, 0.08);
  border-left: 3px solid #e53e3e;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #c53030;
  line-height: 1.6;
}

.step-model-note strong {
  color: #e53e3e;
}

/* Info note (neutral, matching model-note layout) */
.step-info-note {
  padding: 10px 14px;
  background: var(--background-warm);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.step-info-note strong {
  color: var(--primary);
}

/* Economics Step Special Styling */
.transaction-step.economics .step-content {
  background: linear-gradient(135deg, var(--background-warm) 0%, #fff8e7 100%);
  border: 2px solid var(--primary-light);
}

.economics-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(200, 160, 60, 0.1);
}

.economics-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.economics-label {
  font-size: 1rem;
  color: var(--text-soft);
}

.economics-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.economics-value.positive {
  color: var(--accent);
}

.economics-value.neutral {
  color: var(--text-soft);
}

.economics-value.highlight {
  color: var(--primary);
  font-size: 1.5rem;
}

.economics-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  margin: 8px 0;
}

.economics-row.total {
  padding-top: 16px;
}

.economics-row.total .economics-label {
  font-weight: 600;
  color: var(--text);
}

.economics-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.economics-note .note-icon {
  font-size: 1.2rem;
}

/* Economics Memo - Compact supplementary note style */
.economics-memo {
  margin-top: 24px;
  padding: 16px 20px;
  background: white;
  border: 1px dashed var(--primary-light);
  border-radius: 8px;
  position: relative;
}

.economics-memo::before {
  content: "📌";
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 1rem;
}

.economics-memo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 160, 60, 0.2);
}

.economics-memo-header .memo-icon {
  font-size: 1rem;
}

.economics-memo-header .memo-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.economics-memo-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.memo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.memo-row span:first-child {
  color: var(--text-soft);
}

.memo-row .positive {
  color: var(--accent);
  font-weight: 600;
}

.memo-row .neutral {
  color: var(--text-soft);
}

.memo-row .highlight {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.memo-row.total {
  padding-top: 6px;
}

.memo-row.total span:first-child {
  font-weight: 600;
  color: var(--text);
}

.memo-divider {
  height: 1px;
  background: rgba(200, 160, 60, 0.3);
  margin: 4px 0;
}

.memo-footer {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--primary);
  background: rgba(255, 159, 28, 0.1);
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

.transaction-note {
  text-align: center;
  margin-top: 48px;
  padding: 20px;
  background: var(--background-warm);
  border-radius: var(--radius-sm);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.transaction-note p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
}

.transaction-note strong {
  color: var(--primary);
}

/* Transaction Section Responsive */
@media (max-width: 768px) {
  .transaction-timeline::before {
    left: 20px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .transaction-step {
    gap: 20px;
  }

  .step-content {
    padding: 24px;
  }

  .step-icon {
    font-size: 2rem;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .transaction-section {
    padding: 100px 0;
  }
}

/* Story Section - Carousel */
.story-section {
  padding: 120px 0;
  background: linear-gradient(135deg,
      #fffbf0 0%,
      #fff3d6 50%,
      #ffecc2 100%);
  position: relative;
  overflow: hidden;
}

.story-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.story-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.story-header p {
  color: var(--foreground-soft);
  font-size: 1.1rem;
}

/* Carousel container */
.story-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.story-carousel-wrapper::before,
.story-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.story-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fffbf0, transparent);
}

.story-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffecc2, transparent);
}

.story-carousel {
  display: flex;
  gap: 24px;
  animation: scrollCarousel 40s linear infinite;
  width: max-content;
}

.story-carousel:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.story-card {
  flex-shrink: 0;
  width: 320px;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(200, 160, 60, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  border: 2px solid transparent;
}

.story-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-light);
  box-shadow: 0 20px 48px rgba(200, 160, 60, 0.2);
}

.story-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.story-card-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 500;
}

.story-card-text {
  font-size: 0.9rem;
  color: var(--foreground-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-card-quote {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  padding: 12px 16px;
  background: var(--background-warm);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

/* CTA Section */
.cta-section {
  padding: 140px 0;
  background: var(--background);
  text-align: center;
  position: relative;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-handwritten {
  font-size: 2rem;
  color: var(--primary);
  margin: 0;
  transform: rotate(-3deg);
  line-height: 1;
}

/* Footer */
.footer {
  background: #4A3B2A;
  /* Warm dark brown to match Amber */
  color: white;
  padding: 60px 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-actions {
    justify-content: center;
  }


  .phone-frame {
    transform: rotate(0deg);
    width: 260px;
  }

  .float-card {
    display: none;
  }

  .hook-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 80px;
    min-height: auto;
  }

  .hook-section,
  .usecase-section,
  .flow-section,
  .pricing-section,
  .story-section,
  .cta-section {
    padding: 100px 0;
  }

  .btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
  }

  .pricing-card {
    width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .flow-column {
    padding: 32px;
  }

  /* Story carousel mobile */
  .story-card {
    width: 280px;
    padding: 24px;
  }

  .story-card-icon {
    font-size: 2.5rem;
  }

  .story-card-title {
    font-size: 1.1rem;
  }

  .story-carousel {
    animation-duration: 30s;
  }

  .story-carousel-wrapper::before,
  .story-carousel-wrapper::after {
    width: 40px;
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 1.5rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 32px;
}

.header-nav {
  display: flex;
  gap: 32px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.header-auth {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-text {
  background: none;
  box-shadow: none;
  padding: 0;
}

.btn-text:hover {
  color: var(--primary);
  background: none;
  box-shadow: none;
  transform: none;
}

/* Footer Grid Styles */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* UseCase Grid Update */
@media (min-width: 1025px) {
  .usecase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 100% !important;
  }
}

/* Typography tweak */
.text-sm-part {
  font-size: 0.7em;
  display: inline-block;
  transform: translateY(-2px);
}

/* Pricing Handover Block */
/* Pricing Concept Grid */
/* Pricing Concept - Single Column Wide Layout */
.pricing-concept-single {
  max-width: 1000px;
  margin: 60px auto 0;
}

.pricing-concept-card-wide {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.pricing-concept-card-wide:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.concept-wide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.concept-wide-header .concept-icon {
  font-size: 2.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.concept-wide-header h3 {
  color: white;
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.4;
}

.concept-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.concept-body p {
  color: white;
  opacity: 0.95;
  line-height: 1.8;
  margin-bottom: 24px;
}

.concept-body .highlight {
  color: #fbbf24;
  font-weight: 700;
  background: transparent;
  position: static;
}

.concept-note {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  font-size: 0.9rem;
}

.concept-note.warning {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.note-label {
  display: block;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.concept-note p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.note-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.8em;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .pricing-concept-card-wide {
    padding: 32px 24px;
  }

  .concept-wide-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================================
   Sub Page Common Styles
   ========================================= */
.page-container {
  background: white;
}

.page-header {
  padding: 20px 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.page-header .container {
  padding: 0;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5vw, 2rem);
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.page-header .page-subtitle {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Breadcrumbs */
.container.breadcrumbs-wrapper {
  max-width: 800px;
  padding: 0 24px;
}

.breadcrumbs {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.page-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 100px;
}

/* Content Container for Text Heavy Pages (Legal, etc) */
.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Legal / Policy Pages (Notion-like)
   ========================================= */
.legal-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}

.legal-content h1 {
  font-size: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 16px;
}

.legal-content li {
  margin-bottom: 16px;
}

/* Table Style for Specific Commercial Transactions */
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  padding: 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.legal-content th {
  background: rgba(0, 0, 0, 0.02);
  width: 30%;
  font-weight: 700;
}

.legal-content .terms-table {
  margin-left: 1rem;
  width: 100%;
}

.legal-content .terms-table thead {
  border-bottom: 1px solid var(--border);
}

.legal-content .terms-table td,
.legal-content .terms-table th {
  padding-top: 8px;
  padding-bottom: 8px;
}

.legal-content .terms-table th:nth-child(1) {
  width: 8rem
}

.legal-content .terms-table th:nth-child(2) {
  width: auto;
}

.legal-content .tokutei-table thead {
  border-bottom: 3px solid var(--border);
}

/* =========================================
   News Styles
   ========================================= */
.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s;
  text-decoration: none;
  color: var(--text);
  gap: 24px;
}

.news-item:hover {
  opacity: 0.8;
}

.news-meta {
  font-family: monospace;
  color: var(--text-soft);
  font-size: 0.95rem;
  min-width: 100px;
  flex-shrink: 0;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* News Single */
.post-content {
  background: white;
  margin-bottom: 40px;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.post-date {
  color: var(--text-soft);
  margin-bottom: 12px;
  display: block;
}

.post-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.3;
}

.back-btn-container {
  text-align: center;
  margin-top: 60px;
}

/* =========================================
   Help Center Styles
   ========================================= */
.help-search-area {
  background: var(--background-warm);
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  margin-bottom: 60px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.help-cat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.help-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.help-cat-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.help-cat-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.help-cat-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Help Article List */
.help-article-list {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.help-article-link {
  display: block;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  position: relative;
}

.help-article-link:last-child {
  border-bottom: none;
}

.help-article-link:hover {
  background: var(--background-warm);
  color: var(--primary);
  padding-left: 40px;
}

.help-article-link::before {
  content: "";
  margin-right: 10px;
  font-size: 1.1em;
}

/* Help Single */
.was-this-helpful {
  margin-top: 60px;
  padding: 32px;
  background: var(--background-warm);
  border-radius: var(--radius-md);
  text-align: center;
}

.helpful-title {
  font-weight: 700;
  margin-bottom: 16px;
}

.helpful-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-outline {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* =========================================
   Contact Form Styles
   ========================================= */
.form-wrapper {
  padding: 0px 48px 60px;
  max-width: 800px;
  margin: 0 auto;
}

/* MW WP Form Styles Overrides */
.content-container input[type="text"],
.content-container input[type="email"],
.content-container textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}

.content-container input:focus,
.content-container textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.content-container textarea {
  min-height: 200px;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-required {
  color: #e53e3e;
  font-size: 0.8em;
  margin-left: 6px;
  background: rgba(229, 62, 62, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* =========================================
   404 Page Styles
   ========================================= */
.error-404 {
  text-align: center;
  padding: 100px 20px;
}

.error-emoji {
  font-size: 6rem;
  margin-bottom: 24px;
  display: block;
}

.error-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 24px;
}

.error-text {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 48px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

  .post-content,
  .form-wrapper {
    padding: 0 20px 32px 20px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* =========================================
   Help Center Structure (Static) - Refined
   ========================================= */
.help-section-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.help-section {
  margin-bottom: 100px;
}

.help-section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: none;
  padding: 0;
}

.help-section-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 32px;
  background: var(--primary);
  border-radius: 4px;
}

.help-section-desc {
  color: var(--text-soft);
  margin-bottom: 32px;
  font-size: 1rem;
  padding-left: 22px;
  /* Title indentation alignment */
  max-width: 600px;
}

.help-subsection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.help-subsection {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  /* More modern radius */
  padding: 24px;
  /* Subtle border via shadow */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.help-subsection:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.help-subsection h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  padding-left: 0;
  border-left: none;
  border-bottom: 1px dashed var(--border);
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-subsection h3::before {
  content: "📂";
  font-size: 1rem;
}

.help-link-list {
  list-style: none;
  padding: 0;
}

.help-link-list li {
  margin-bottom: 4px;
}

.help-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 0;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  width: 100%;
}

.help-link-list a:hover {
  background: var(--background-warm);
  color: var(--primary);
  padding-left: 12px;
}

.help-link-list a::after {
  content: "→";
  font-family: sans-serif;
  font-weight: bold;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s;
  font-size: 0.9em;
}

.help-link-list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Breadcrumbs Wrapper (to clear fixed header) */
.breadcrumbs-wrapper {
  margin-top: 82px;
}

/* Snow Monkey Forms */
.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number {
  background-color: var(--primary);
}

.wp-block-snow-monkey-forms-item.smf-item {
  margin-bottom: 24px;
}

.smf-item__label {
  font-weight: 700;
  margin-bottom: 4px;
}

.smf-form {
  margin-bottom: 40px;
}

.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control {
  font-size: 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
}

.smf-form .smf-textarea-control__control {
  line-height: 1.4;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
}

.smf-form .smf-text-control__control:active,
.smf-form .smf-text-control__control:focus,
.smf-form .smf-text-control__control:focus-within,
.smf-form .smf-text-control__control[aria-selected=true],
.smf-form .smf-textarea-control__control:active,
.smf-form .smf-textarea-control__control:focus,
.smf-form .smf-textarea-control__control:focus-within,
.smf-form .smf-textarea-control__control[aria-selected=true] {
  --_border-color: var(--primary);
  background-color: var(--background);
}

.smf-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.smf-action .smf-button-control__control,
.smf-action .smf-button-control__control[data-action="back"],
.smf-complete-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.smf-action .smf-button-control__control,
.smf-complete-content .wp-block-button__link {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 32px rgba(200, 160, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: none;
}

.smf-action .smf-button-control__control::before,
.smf-complete-content .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.smf-button-control__control:hover,
.smf-complete-content .wp-block-button__link:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(200, 160, 60, 0.4);
}

.smf-button-control__control:hover::before,
.smf-complete-content .wp-block-button__link:hover::before {
  left: 100%;
}

.smf-action .smf-button-control__control[data-action="back"] {
  background: white;
  color: var(--text);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(40, 35, 30, 0.08);
}

.smf-action .smf-button-control__control[data-action="back"]:hover {
  border-color: var(--primary-light);
  background: var(--background-warm);
  transform: translateY(-2px);
}

.smf-action .smf-button-control__control .smf-sending {
  right: 16px;
}

/* Pre-test Notice Styles */
.beta-notice {
  padding: 16px 20px;
  margin-bottom: 8px;
  display: inline-block;
  width: 100%;
  text-align: center;
  position: relative;
}

.beta-banner {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 4px 10px;
  position: relative;
  top: -2px;
}

.beta-text-box {
  color: var(--primary);
  background-color: white;
  border: 2px dashed var(--primary);
  padding: 2px 8px;
  margin: 0 4px 0 6px;
  border-radius: var(--radius-sm);
}

.beta-notice .beta-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
  font-weight: 500;
  padding-bottom: 0;
  margin: 0;
}

.beta-text span {
  display: block;
}

.beta-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.2s;
}

.beta-link:hover {
  opacity: 0.7;
}

.cta-section .beta-link {
  color: var(--primary);
}

@media (max-width: 768px) {
  .beta-notice {
    padding: 12px 16px;
    width: 100%;
  }

  .beta-text {
    font-size: 0.85rem;
  }
}

/* =========================================
   About Page Styles
   ========================================= */
.about-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
  text-align: center;
  border-bottom: 0px solid var(--border);
}

.about-hero h1 {
  font-size: clamp(2.0rem, 5vw, 2.4rem);
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-hero p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding-bottom: 48px
}

.about-content .wp-block-group {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 32px 48px 32px;
}

.about-content h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.about-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
  opacity: 0.3;
}

.about-content .about-member {
  padding: 0;
  margin-top: 16px;
}

.about-content .about-member .wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.about-content .about-member .wp-block-group__inner-container figure {
  width: 200px;
  height: 200px;
}

@media (max-width: 600px) {
  .about-content .about-member .wp-block-group__inner-container figure {
    width: 100px;
    height: 100px;
  }
}

.about-content .wp-block-group.about-member-text {
  width: 100%;
  flex: 1;
  gap: 8px;
  padding: 0;
}

.about-content .about-table {
  max-width: 480px;
  margin: 0 auto;
}

.about-content .about-table table tr:first-child {
  border-top: 1px solid var(--border);
}

.about-content .about-table table tr {
  border-bottom: 1px solid var(--border);
}

.about-content .about-table table td {
  border: none;
  white-space: nowrap;
}

.about-content .about-table table td:first-child {
  font-weight: 700;
  letter-spacing: 0.5rem;
  width: 60px;
}

/* =========================================
   Preparation Banner
   ========================================= */
.preparation-banner {
  background: linear-gradient(90deg, #d97706, #f59e0b);
  color: white;
  text-align: center;
  padding: 12px 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  top: 80px;
  position: sticky;
}

.preparation-banner p {
  margin: 0;
}

@media (max-width: 600px) {
  .preparation-banner {
    font-size: 0.85rem;
    padding: 10px 16px;
    top: 120px;
  }
}