/* 専属AIパートナー — Pro Gold ブランドLP */

.ai-partner-lp--pro-gold {
  --ap-gold: #fbbf24;
  --ap-gold-light: #fde68a;
  --ap-gold-pale: #fef9c3;
  --ap-gold-dim: #d97706;
  --ap-gold-glow: rgba(250, 204, 21, 0.35);
  --ap-gold-border: rgba(250, 204, 21, 0.42);
  --ap-gold-bg: rgba(250, 204, 21, 0.08);
  --ap-bg: #050508;
  overflow-x: hidden;
  background: var(--ap-bg);
}

.ai-partner-lp__glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
}

.ai-partner-lp__glow--top {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 520px);
  height: 320px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.22) 0%, transparent 70%);
  animation: ap-glow-pulse 6s ease-in-out infinite;
}

.ai-partner-lp__glow--mid {
  top: 45%;
  right: -6rem;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
}

@keyframes ap-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.ai-partner-lp-main {
  position: relative;
  z-index: 1;
}

.ai-partner-lp--pro-gold .site-nav a.is-active {
  color: var(--ap-gold-light);
}

.ai-partner-lp__nav-cta {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #0f0a1a !important;
  border: none !important;
}

/* Buttons */
.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-btn--gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #0f0a1a;
  box-shadow:
    0 4px 24px var(--ap-gold-glow),
    0 0 48px rgba(250, 204, 21, 0.15);
}

.ap-btn--gold:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 32px rgba(250, 204, 21, 0.45),
    0 0 64px rgba(250, 204, 21, 0.2);
}

.ap-btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.ap-btn--ghost {
  margin-top: 0.85rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: var(--ap-gold-light);
  background: transparent;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hero */
.ap-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.ap-hero__inner {
  max-width: 22rem;
  margin: 0 auto;
}

.ap-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ap-gold-border);
  background: var(--ap-gold-bg);
  color: var(--ap-gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.12);
}

.ap-hero__eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.75);
}

.ap-hero__title {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ap-hero__title-line {
  display: block;
  font-size: clamp(1.65rem, 6.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.ap-hero__title-line--gold {
  background: linear-gradient(135deg, #fff7ed 0%, #fde68a 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-hero__cta {
  width: 100%;
  max-width: 18rem;
}

/* Pitch */
.ap-pitch {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.ap-pitch__line {
  margin: 0;
  font-size: clamp(0.95rem, 3.8vw, 1.08rem);
  line-height: 1.85;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 500;
}

.ap-pitch__line--emph {
  margin-top: 0.35rem;
  color: var(--ap-gold-light);
  font-weight: 700;
}

/* Section titles */
.ap-section-title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fef9c3, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-section-lead {
  margin: 0 auto 2rem;
  max-width: 20rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.9);
}

/* Chat phone */
.ap-chat-experience {
  padding: 1rem 0 3.5rem;
}

.ap-chat-phone {
  max-width: 22rem;
  margin: 0 auto;
}

.ap-chat-phone__frame {
  border-radius: 24px;
  border: 1px solid var(--ap-gold-border);
  background: linear-gradient(168deg, rgba(18, 16, 10, 0.98), rgba(8, 8, 12, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(250, 204, 21, 0.12);
  overflow: hidden;
}

.ap-chat-phone__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(250, 204, 21, 0.04);
}

.ap-chat-phone__avatar {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.28), rgba(217, 119, 6, 0.2));
  border: 1px solid var(--ap-gold-border);
  font-size: 1.1rem;
}

.ap-chat-phone__meta {
  flex: 1;
  min-width: 0;
}

.ap-chat-phone__name {
  display: block;
  font-size: 0.92rem;
  color: var(--ap-gold-light);
}

.ap-chat-phone__status {
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.85);
}

.ap-chat-phone__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.ap-chat-phone__body {
  min-height: 16.5rem;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ap-chat-bubble {
  max-width: 88%;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(8px);
  animation: ap-bubble-in 0.45s ease forwards;
}

.ap-chat-bubble--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.ap-chat-bubble--bot {
  align-self: flex-start;
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.14), rgba(250, 204, 21, 0.06));
  border: 1px solid rgba(250, 204, 21, 0.22);
  color: #fef9c3;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.06);
}

.ap-chat-bubble__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--ap-gold-light);
  animation: ap-cursor-blink 0.8s step-end infinite;
}

@keyframes ap-bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ap-cursor-blink {
  50% { opacity: 0; }
}

.ap-chat-phone__input {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.5);
}

.ap-chat-phone__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}

.ap-chat-phone__tab {
  border: 1px solid rgba(250, 204, 21, 0.2);
  background: transparent;
  color: rgba(253, 230, 138, 0.7);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.ap-chat-phone__tab.is-active {
  background: var(--ap-gold-bg);
  border-color: var(--ap-gold-border);
  color: var(--ap-gold-light);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}

/* Profile */
.ap-profile {
  padding: 3rem 0;
}

.ap-profile-card {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1.35rem 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--ap-gold-border);
  background: linear-gradient(155deg, rgba(250, 204, 21, 0.1), rgba(12, 12, 16, 0.92));
  overflow: hidden;
}

.ap-profile-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2), transparent 70%);
  pointer-events: none;
}

.ap-profile-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.ap-profile-card__icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.4));
}

.ap-profile-card__name {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff7ed, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-profile-card__level {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--ap-gold-light);
}

.ap-profile-card__level strong {
  font-size: 0.95rem;
}

.ap-profile-card__msg {
  position: relative;
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: rgba(253, 230, 138, 0.8);
}

.ap-profile-card__stats {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ap-profile-card__stats > div {
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(250, 204, 21, 0.12);
}

.ap-profile-card__stats dt {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.85);
}

.ap-profile-card__stats dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fef9c3;
}

/* Memory timeline */
.ap-memory {
  padding: 2.5rem 0 3rem;
}

.ap-memory-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid rgba(250, 204, 21, 0.25);
  max-width: 20rem;
  margin-inline: auto;
}

.ap-memory-timeline__item {
  position: relative;
  padding: 0 0 1.35rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ap-memory-timeline__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ap-memory-timeline__item::before {
  content: '';
  position: absolute;
  left: -1.42rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ap-gold);
  box-shadow: 0 0 12px var(--ap-gold-glow);
}

.ap-memory-timeline__check {
  color: var(--ap-gold-light);
  margin-right: 0.35rem;
}

/* Understands */
.ap-understands {
  padding: 2rem 0 3rem;
}

.ap-understands-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 22rem;
  margin-inline: auto;
}

.ap-understands-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background: rgba(250, 204, 21, 0.04);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(254, 249, 195, 0.9);
  text-align: center;
}

.ap-understands-grid span {
  font-size: 1.35rem;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.25));
}

/* Features */
.ap-features {
  padding: 2rem 0 3.5rem;
}

.ap-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 0 auto;
}

.ap-feature-card {
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.16);
  background: linear-gradient(145deg, rgba(18, 16, 12, 0.95), rgba(8, 8, 12, 0.9));
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-feature-card.is-visible:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(250, 204, 21, 0.1);
}

.ap-feature-card__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.3));
}

.ap-feature-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ap-gold-light);
}

.ap-feature-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.9);
}

/* Closing */
.ap-closing {
  padding: 4rem 0 5rem;
  text-align: center;
}

.ap-closing__inner {
  max-width: 22rem;
  margin: 0 auto;
}

.ap-closing__lead {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(253, 230, 138, 0.7);
}

.ap-closing__body {
  margin: 0 0 2.5rem;
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(203, 213, 225, 0.8);
}

.ap-closing__icon {
  margin: 0 0 1.25rem;
  font-size: 2.5rem;
  filter: drop-shadow(0 0 24px rgba(250, 204, 21, 0.45));
  animation: ap-glow-pulse 4s ease-in-out infinite;
}

.ap-closing__title {
  margin: 0 0 2.25rem;
  font-size: clamp(1.5rem, 6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  background: linear-gradient(135deg, #fff7ed 0%, #fde68a 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-closing__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .ap-hero__inner,
  .ap-closing__inner {
    max-width: 26rem;
  }

  .ap-features-grid {
    max-width: 36rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-understands-grid {
    max-width: 28rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .ap-features-grid {
    max-width: 52rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .ap-feature-card:nth-child(7) {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .ap-chat-bubble,
  .ap-memory-timeline__item,
  .ai-partner-lp__glow--top,
  .ap-closing__icon {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Pro plan experience */
.ap-pro-experience {
  padding: 2.5rem 0;
}

.ap-pro-plans {
  display: grid;
  gap: 0.85rem;
  max-width: 24rem;
  margin: 0 auto;
}

.ap-pro-plan {
  position: relative;
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(250, 204, 21, 0.04);
}

.ap-pro-plan--pro {
  border-color: rgba(250, 204, 21, 0.45);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.12), rgba(8, 7, 5, 0.95));
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.14);
}

.ap-pro-plan--standard {
  opacity: 0.72;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(12, 12, 16, 0.85);
}

.ap-pro-plan__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ap-gold-light);
}

.ap-pro-plan h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #f8fafc;
}

.ap-pro-plan p {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}

.ap-pro-plan__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
}

.ap-pro-plan__status--on {
  color: #86efac;
}

.ap-pro-plan__status--lock {
  color: #94a3b8;
}

@media (min-width: 640px) {
  .ap-pro-plans {
    max-width: 36rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
