/* ============================================
   Fruitful English - Subscription Plans LP
   subsc_plans_style.css
   Palette:
     Primary   #99cc33  (--green)
     Light bg  #f0f7e1  (--green-light)
     CTA       #ff8300  (--orange)
     Dark      #1a2e05  (--dark)
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
  --green:         #99cc33;
  --green-dark:    #6a9a1f;
  --green-deeper:  #3d6b00;
  --green-light:   #f0f7e1;
  --green-pale:    #f5fae8;
  --green-mid:     #c8e87a;
  --orange:        #ff8300;
  --orange-dark:   #d96e00;
  --orange-light:  #fff3e0;
  --dark:          #1a2e05;
  --dark-mid:      #2d4a0a;
  --text:          #2c3e10;
  --text-sub:      #5a6b40;
  --white:         #ffffff;
  --border:        #d4e8a8;
  --border-light:  #e8f5c0;

  /* Gradients */
  --grad-hero:     linear-gradient(145deg, #eaf6c4 0%, #f7fbee 45%, #fdfff8 100%);
  --grad-green:    linear-gradient(135deg, #99cc33 0%, #78b020 100%);
  --grad-orange:   linear-gradient(135deg, #ff8300 0%, #e06c00 100%);
  --grad-dark:     linear-gradient(160deg, #1a2e05 0%, #2a4a08 60%, #1e3806 100%);
  --grad-section:  linear-gradient(180deg, #f5fae8 0%, #ffffff 100%);

  /* Shadows */
  --shadow-xs:     0 1px 4px rgba(50,90,10,0.08);
  --shadow-sm:     0 4px 16px rgba(50,90,10,0.10);
  --shadow-md:     0 8px 32px rgba(50,90,10,0.12);
  --shadow-lg:     0 20px 60px rgba(50,90,10,0.14);
  --shadow-orange: 0 8px 28px rgba(255,131,0,0.35);

  /* Shape */
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     28px;
  --radius-xl:     40px;
  --radius-pill:   9999px;

  /* Typography */
  --font-jp:       'Noto Sans JP', sans-serif;
  --font-en:       'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --max-width:     1120px;
  --section-pad:   96px;
  --container-px:  48px;

  /* Motion */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:      0.3s;
}

/* ============================================
   Base Overrides (working alongside Bootstrap & FE CSS)
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scope link reset to LP content only */
.l-main a {
  color: inherit;
  text-decoration: none;
}

.l-main ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.l-main img {
  max-width: 100%;
  height: auto;
}

/* Ensure l-main doesn't clip hero blobs / decorative elements */
.l-main {
  overflow: visible;
}

/* ============================================
   Scroll Reveal System
   ============================================ */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* ============================================
   Layout Utilities (scoped inside .l-main)
   ============================================ */
.l-main .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-pad) 0;
}

/* ============================================
   Section Header Components
   ============================================ */
.section-title {
  font-family: var(--font-jp);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  padding-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--green-deeper) 0%,
    var(--green) 25%,
    var(--green-mid) 55%,
    var(--border) 100%
  );
  border-radius: 2px;
}

.section-title em {
  font-style: normal;
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 2.1;
  margin-top: 14px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background var(--duration);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn:hover::after {
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: var(--grad-orange);
  color: var(--white) !important;
  font-size: 16px;
  padding: 18px 40px;
  box-shadow: var(--shadow-orange);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,131,0,0.45);
  color: var(--white) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--green-deeper) !important;
  font-size: 15px;
  padding: 16px 32px;
  border: 2px solid var(--green);
}

.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--green-deeper) !important;
}

.btn-arrow::after {
  content: none;
}

.btn-arrow .arrow {
  display: inline-block;
  transition: transform var(--duration) var(--ease-out);
}

.btn-arrow:hover .arrow {
  transform: translateX(5px);
}

/* ============================================
   HERO / FV
   ============================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
  padding: 100px 0 90px;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.hero__blob--1 {
  top: -120px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(153,204,51,0.22) 0%, transparent 70%);
}

.hero__blob--2 {
  bottom: -80px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,131,0,0.10) 0%, transparent 70%);
}

.hero__blob--3 {
  top: 30%;
  left: 40%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200,232,122,0.18) 0%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--grad-orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  box-shadow: var(--shadow-orange);
  animation: badgePop 0.6s 0.05s both var(--ease-bounce);
}

.hero__badge::before { content: '✦'; font-size: 9px; }

@keyframes badgePop {
  from { transform: scale(0.7) translateY(8px); opacity: 0; }
  to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.hero__heading {
  font-family: var(--font-jp);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: heroFadeUp 0.7s 0.15s both var(--ease-out);
}

.hero__heading .highlight {
  position: relative;
  display: inline-block;
}

.hero__heading .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -2px;
  right: -2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(153,204,51,0.5), rgba(200,232,122,0.3));
  z-index: -1;
  border-radius: 3px;
}

.hero__sub {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 36px;
  animation: heroFadeUp 0.7s 0.25s both var(--ease-out);
}

.hero__benefits {
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(153,204,51,0.35);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 32px;
  animation: heroFadeUp 0.7s 0.35s both var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.hero__benefits-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deeper);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__benefits-label::before {
  content: '▶';
  font-size: 8px;
  color: var(--orange);
}

.hero__benefits ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.hero__benefits li {
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero__benefits li::before {
  content: '✓';
  color: var(--green-dark);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero__extras {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
  animation: heroFadeUp 0.7s 0.45s both var(--ease-out);
}

.hero__extra-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-deeper);
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.7s 0.55s both var(--ease-out);
}

@keyframes heroFadeUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero__visual {
  position: relative;
  animation: heroFadeUp 0.8s 0.3s both var(--ease-out);
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #b8e060 0%, #8ec828 50%, #72b018 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  box-shadow: 0 32px 80px rgba(80,130,20,0.22), 0 8px 24px rgba(80,130,20,0.12);
  overflow: hidden;
  position: relative;
}

.hero__image-placeholder::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 65%;
  height: 65%;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}

.hero__image-placeholder::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 55%;
  height: 55%;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.hero__image-placeholder .ph-icon { font-size: 56px; opacity: 0.85; position: relative; z-index: 1; }

.hero__floating-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  animation: floatCard 4s 1s ease-in-out infinite;
}

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

.hero__floating-card .fc-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero__floating-card .fc-text { font-size: 12px; line-height: 1.5; }
.hero__floating-card .fc-text strong {
  display: block;
  font-size: 15px;
  color: var(--orange);
  font-weight: 900;
}

/* ============================================
   PAIN POINTS
   ============================================ */
.pain {
  background: var(--green-pale);
  padding-top: 112px;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.pain__card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: var(--shadow-xs);
}

.pain__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pain__card-icon {
  display: none;
}

.pain__card-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--dark);
  margin-bottom: 0;
}

.pain__card:nth-child(odd) {
  background: var(--green-light);
}

.pain__card-text strong {
  color: var(--green-deeper);
  font-weight: 700;
}

/* ============================================
   SOLUTION
   ============================================ */
.solution {
  background: var(--grad-section);
  position: relative;
  overflow: hidden;
}

.solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-mid), transparent);
}

.solution__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  margin-top: 48px;
}

.solution__text p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 20px;
}

.solution__text p strong { color: var(--green-deeper); font-weight: 700; }

.solution__text .btn { margin-top: 12px; }

.solution__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #c8e87a 0%, #a4d440 50%, #88c020 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.solution__image-placeholder .ph-icon { font-size: 52px; opacity: 0.8; }

/* ============================================
   SUBSCRIPTION FEATURES
   ============================================ */
.plans-intro {
  background: var(--white);
  padding-top: 56px;
}

.plans-intro > .container {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-pale) 100%);
  padding-bottom: 64px;
}

.plans-intro .section-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Feature Block --- */
.feature-block {
  margin-top: 68px;
}

.feature-block + .feature-block {
  margin-top: 88px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.feature-block__header {
  display: inline-block;
  border-left: 4px solid var(--green);
  padding: 10px 0 10px 20px;
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
}

.feature-block__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--green-deeper) 0%,
    var(--green) 25%,
    var(--green-mid) 55%,
    var(--border) 100%
  );
  border-radius: 2px;
}

.feature-block__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-green);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.feature-block__title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.feature-block__body {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.feature-block__body strong { color: var(--green-deeper); font-weight: 700; }
.feature-block__body em     { font-style: normal; font-weight: 700; color: var(--orange); }

/* --- Sub Heading Box --- */
.sub-heading-box {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deeper);
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-light);
  padding: 8px 20px;
  margin-bottom: 20px;
  margin-top: 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.label-badge {
  font-weight: 700;
  color: var(--green-deeper);
  font-family: var(--font-jp);
}

/* --- Ticket Sample Block --- */
.ticket-sample {
  max-width: 720px;
  margin: 28px auto;
}

.ticket-sample__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ticket-sample__box {
  background: #f2f2f2;
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  border: none;
}

.ticket-sample__box p {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  font-family: var(--font-jp);
  margin-bottom: 0;
}

.ticket-sample__note {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 10px;
  line-height: 1.7;
}

.feature-block__image {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/7;
  background: linear-gradient(145deg, var(--green-light), #daf0a0);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-deeper);
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  margin: 28px 0;
}

.feature-block__image .ph-icon { font-size: 44px; opacity: 0.65; }

/* ============================================
   PLAN TABLE SECTION
   ============================================ */
.plan-table-section {
  background: linear-gradient(180deg, var(--green-pale) 0%, #eef8cc 100%);
  position: relative;
  overflow: hidden;
  padding-top: 112px;
}

.plan-table-section .section-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.plan-table-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-green);
}

/* Plan cards */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0 68px;
  align-items: center;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 32px 36px;
  text-align: center;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.plan-card--popular {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff9f0 0%, var(--white) 100%);
  box-shadow: 0 12px 48px rgba(255,131,0,0.18);
  transform: scale(1.06) translateY(-4px);
}

.plan-card--popular:hover {
  transform: scale(1.06) translateY(-10px);
  box-shadow: 0 20px 64px rgba(255,131,0,0.24);
}

.plan-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,131,0,0.35);
}

.plan-card__name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 4px;
}

.plan-card__name-jp {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.plan-card__price-wrap { margin-bottom: 24px; }

.plan-card__price {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}

.plan-card--popular .plan-card__price {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-card__price-unit {
  font-size: 13px;
  color: var(--text-sub);
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  vertical-align: middle;
}

.comparison-table th {
  font-weight: 700;
  font-size: 13px;
}

.comparison-table thead tr {
  background: linear-gradient(135deg, #1a2e05 0%, #2d4a0a 100%);
  color: var(--white);
}

.comparison-table thead th:first-child {
  text-align: left;
  border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--dark);
  background: var(--green-pale);
}

.comparison-table .col-popular {
  background: #fffbf5;
  border-left: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}

.comparison-table thead .col-popular {
  background: var(--orange);
}

.comparison-table tbody tr:last-child .col-popular {
  border-bottom: 2px solid var(--orange);
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

.comparison-table .check-ok  { color: var(--green-dark); font-size: 18px; font-weight: 700; }
.comparison-table .check-no  { color: #ccc; font-size: 18px; }
.comparison-table .check-tri { color: var(--orange); font-size: 16px; }

.comparison-table tbody tr:hover td:not(:first-child) { background: #fafff2; }
.comparison-table tbody tr:hover .col-popular         { background: #fff8f0; }

/* ============================================
   RECOMMENDED
   ============================================ */
.rec-section {
  background: var(--white);
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.rec-card {
  background: var(--green-pale);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: var(--shadow-xs);
}

.rec-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rec-card__plan {
  display: inline-block;
  background: var(--grad-green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.rec-card__plan--b { background: var(--grad-orange); }
.rec-card__plan--c { background: linear-gradient(135deg, #3d6b00, #2a4a08); }

.rec-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.5;
}

.rec-card__list li {
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid rgba(212,232,168,0.5);
}

.rec-card__list li:last-child { border-bottom: none; }

.rec-card__list li::before {
  content: '\30FB';
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ============================================
   AI AGENT
   ============================================ */
.ai-agent {
  background: var(--grad-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 112px;
}

.ai-agent::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(153,204,51,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ai-agent::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,131,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ai-agent .section-title { color: var(--white); }
.ai-agent .section-title::after { background: linear-gradient(90deg, #99cc33, #c8e87a); }
.ai-agent .section-title em {
  background: linear-gradient(90deg, #99cc33, #c8e87a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-agent .section-lead { color: rgba(255,255,255,0.7); max-width: 720px; margin-left: auto; margin-right: auto; }

.ai-agent__content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.ai-agent__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-agent__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(153,204,51,0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: background 0.3s, border-color 0.3s;
}

.ai-agent__feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(153,204,51,0.3);
}

.ai-agent__feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(153,204,51,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ai-agent__feature-text { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.8); }
.ai-agent__feature-text strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 4px;
}

.ai-agent__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(153,204,51,0.1);
  border: 1.5px solid rgba(153,204,51,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  gap: 12px;
}

.ai-agent__image-placeholder .ph-icon { font-size: 52px; opacity: 0.5; }

/* ============================================
   SIGNUP FORM
   ============================================ */
.signup {
  background: linear-gradient(160deg, var(--green-light) 0%, #eef8cc 50%, var(--green-pale) 100%);
  position: relative;
}

.signup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-green);
}

.signup__inner { max-width: 720px; margin: 0 auto; }

.signup__heading {
  text-align: center;
  margin-bottom: 60px;
}

.signup__heading .section-title   { text-align: center; }
.signup__heading .section-title::after { left: 50%; transform: translateX(-50%); }
.signup__heading .section-lead    { text-align: center; margin: 20px auto 0; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 100px rgba(50,90,10,0.15), 0 8px 32px rgba(50,90,10,0.08);
  padding: 60px 64px;
  border: 1px solid rgba(212,232,168,0.5);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 3px;
  background: var(--grad-green);
  border-radius: 0 0 3px 3px;
}

.form-group { margin-bottom: 24px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.form-required {
  background: var(--grad-orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(153,204,51,0.12);
}

.form-input::placeholder { color: #bbb; font-size: 14px; }

.form-hint {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 7px;
  line-height: 1.6;
}

.form-card-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 28px 0;
}

.card-field {
  background: var(--green-pale);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--text-sub);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.card-field .card-icon { font-size: 24px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--green-deeper);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-btn {
  width: 100%;
  font-size: 17px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--grad-orange);
  color: var(--white) !important;
  font-family: var(--font-jp);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255,131,0,0.45);
}

.form-note {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin-top: 20px;
  line-height: 1.9;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green-mid) 30%, var(--border) 70%, transparent 100%);
  margin: 0;
}

/* ============================================
   ph-icon utility (placeholders)
   ============================================ */
.ph-icon { font-size: 44px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  :root {
    --section-pad:    72px;
    --container-px:   32px;
  }

  .pain, .plans-intro, .plan-table-section, .ai-agent { padding-top: 88px; }

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

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

  .hero__visual { display: none; }

  .solution__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plan-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-6px); }

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

  .ai-agent__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-agent__image-placeholder { display: none; }
}

@media (max-width: 640px) {
  :root {
    --section-pad:   52px;
    --container-px:  20px;
  }

  .pain, .plans-intro, .plan-table-section, .ai-agent { padding-top: 64px; }

  .hero { padding: 64px 0 56px; }
  .hero__heading { font-size: 28px; }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-primary, .btn-secondary { justify-content: center; }

  .form-card { padding: 32px 24px; }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

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

  .feature-block__body { font-size: 15px; }

  .solution__content { gap: 32px; }
}
