@charset "UTF-8";

/* ==========================================================================
   1. Reset & Variables (Apple Standard)
   ========================================================================== */
:root {
  /* Colors */
  --c-text-primary: #1d1d1f;
  /* Apple Black */
  --c-text-secondary: #86868b;
  /* Apple Gray */
  --c-bg-body: #ffffff;
  --c-bg-alt: #f5f5f7;
  /* Common Section Gray */
  --c-accent: #0071e3;
  /* Apple Link Blue */
  --c-btn-bg: #1d1d1f;
  --c-btn-text: #ffffff;

  /* Typography */
  --font-sans: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;

  /* Layout */
  --width-content: 1280px;
  /* Standard Content Width */
  --width-narrow: 680px;
  /* Text Reading Width */
  --radius-card: 24px;
  /* Modern Card Radius */
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans), var(--font-jp);
  color: var(--c-text-primary);
  background-color: var(--c-bg-body);
  line-height: 1.5;
  letter-spacing: -0.012em;
  /* Tighter tracking for modern feel */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   2. Typography System (Scaled)
   ========================================================================== */
/* Section Titles */
h2.section-title {
  font-size: 48px;
  line-height: 1.08349;
  font-weight: 600;
  letter-spacing: -0.003em;
  text-align: center;
  margin-bottom: 40px;
}

/* Card Titles */
h3 {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: 0.009em;
  margin-bottom: 12px;
}

/* Body Text */
p {
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--c-text-secondary);
  /* Default to soft gray for elegance */
  margin-bottom: 1.5em;
}

.text-primary {
  color: var(--c-text-primary);
}

@media (max-width: 734px) {
  h2.section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  h3 {
    font-size: 21px;
  }

  p {
    font-size: 16px;
  }
}

/* ==========================================================================
   3. Components
   ========================================================================== */
.container {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}

.container-narrow {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}

/* Buttons (Pill) */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  /* transition: all 0.3s ease; */
  cursor: pointer;
  min-width: 140px;
}

.btn-primary {
  background-color: var(--c-btn-bg);
  color: var(--c-btn-text);
}

.btn-primary:hover {
  background-color: #333;
  /* Dark Gray hover */
  text-decoration: none;
}

.btn-link {
  color: var(--c-accent);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-link::after {
  content: ' ›';
  font-size: 1.2em;
  margin-left: 4px;
}


/* ==========================================================================
   4. Header (Sticky & Blur)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  /* Increased from 44px */
  z-index: 9999;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.4s;
}

.header-inner {
  max-width: var(--width-content);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
}

.logo img {
  height: 50px;
  /* Increased from 28px */
  margin-top: 10px;
  width: auto;
}

.global-nav ul {
  display: flex;
  gap: 32px;
}

.global-nav a {
  font-size: 15px;
  /* Increased from 12px */
  color: var(--c-text-primary);
  opacity: 0.8;
  font-weight: 400;
  /* Regular */
  transition: opacity 0.2s;
}

.global-nav a:hover {
  opacity: 1.0;
}

.hamburger {
  display: none;
}

/* Mobile Nav */
@media (max-width: 834px) {
  header {
    height: 70px;
  }

  .global-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .global-nav.nav-open {
    height: calc(100vh - 70px);
  }

  .global-nav ul {
    flex-direction: column;
    padding: 40px 30px;
    gap: 0;
  }

  .global-nav li {
    border-bottom: 1px solid #f5f5f7;
  }

  .global-nav a {
    display: block;
    font-size: 24px;
    /* Larger for touch */
    padding: 16px 0;
    font-weight: 600;
  }

  .hamburger {
    display: block;
    width: 48px;
    height: 48px;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .hamburger span {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 1px;
    background: #1d1d1f;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) {
    top: 19px;
  }

  .hamburger span:nth-child(2) {
    top: 24px;
  }

  /* Simplified hamburger */
}

/* ==========================================================================
   5. Hero Section (High Impact)
   ========================================================================== */
.hero {
  padding-top: 160px;
  /* Adjusted space for header */
  padding-bottom: 80px;
  text-align: left;
  /* Changed from center to match Ageless */
  background-color: var(--c-bg-body);
  position: relative;
  /* For background image positioning */
}

/* Background "A" Logo Style */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 50%;
  height: 80%;
  background-image: url('../wp-content/themes/wp_webcommunity/assets/img/hero-chart-bg.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.4;
  /* Significantly increased visibility */
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  /* Ensure text is above background */
}

.hero-tag {
  color: #bf4800;
  /* Semantic 'New' color */
  font-size: 30px;
  /* Increased from 12px */
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  font-size: 96px;
  /* Massive */
  line-height: 1.1;
  font-weight: 800;
  /* Extra Bold */
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--c-text-primary);
}

/* Ageless-style Highlight */
.highlight-box {
  background-color: #1d1d1f;
  color: #fff;
  padding: 0 16px;
  display: inline-block;
  line-height: 1.2;
}

.hero p {
  font-size: 24px;
  /* Large lead text */
  line-height: 1.6;
  font-weight: 500;
  color: var(--c-text-primary);
  max-width: 740px;
  margin: 0 0 50px 0;
  /* Left aligned margin */
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  /* Left align */
  align-items: center;
  margin-bottom: 80px;
}

/* Visual Container */
.hero-visual {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.12);
  /* Deep soft shadow */
}

@media (max-width: 734px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-tag {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }

  .highlight-box {
    padding: 0 8px;
    display: inline;
    line-height: 1.5;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .hero p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
}

/* ==========================================================================
   6. Bento Grid / Cards (Modern Layout)
   ========================================================================== */
.section-gray {
  background-color: var(--c-bg-alt);
  padding: 80px 0;
}

.section-white {
  background-color: #fff;
  padding: 80px 0;
}

/* Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* Wide gaps */
}

.bento-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.04);
}

.section-gray .bento-card {
  background: #fff;
}

.section-white .bento-card {
  background: var(--c-bg-alt);
  border: none;
  box-shadow: none;
}

.bento-card:hover {
  transform: scale(1.02);
}

.bento-icon {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--c-text-primary);
}

/* Problem List (Checkmarks) */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.problem-item {
  padding: 30px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.problem-item h3 {
  font-size: 19px;
  display: flex;
  align-items: center;
}

.problem-item h3::before {
  content: '✓';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: var(--c-text-primary);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
}

/* ==========================================================================
   7. Voice Reviews (Large Cards)
   ========================================================================== */
.review-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 60px;
  margin-bottom: 40px;
  display: flex;
  gap: 50px;
  align-items: center;
}

.review-meta {
  flex-shrink: 0;
  text-align: center;
  width: 140px;
}

.review-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  background: #eee;
}

.review-badge {
  color: #fff;
  background: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.review-body .review-cost {
  color: #0071e3;
  font-weight: 600;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}

.review-body h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.review-body p {
  font-size: 19px;
  color: var(--c-text-secondary);
  line-height: 1.5;
}

@media (max-width: 734px) {

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

  .review-card {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .review-card {
    gap: 30px;
  }
}

/* ==========================================================================
   8. FAQ (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #d2d2d7;
}

.faq-item {
  border-bottom: 1px solid #d2d2d7;
}

.faq-q {
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  color: var(--c-text-primary);
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 24px;
  color: var(--c-text-secondary);
}

.faq-a {
  display: none;
  padding-bottom: 30px;
  font-size: 17px;
  color: var(--c-text-secondary);
}

/* ==========================================================================
   9. CTA & Footer
   ========================================================================== */
.cta-area {
  padding: 100px 0;
  text-align: center;
  background: var(--c-bg-alt);
}

.footer {
  background: #f5f5f7;
  padding: 40px 0;
  border-top: 1px solid #d2d2d7;
  font-size: 12px;
  color: var(--c-text-secondary);
}

/* Utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-none {
  display: block;
}

.pc-none {
  display: none;
}

@media (max-width: 734px) {
  .sp-none {
    display: none;
  }

  .pc-none {
    display: block;
  }
}

/* Margin Utilities */
.mb-small {
  margin-bottom: 12px;
}


/* ==========================================================================
   10. Flow Section (Card Style)
   ========================================================================== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 1080px;
  /* Slightly wider for 4 cards */
  margin-left: auto;
  margin-right: auto;
}

.flow-step {
  background: #fff;
  border: 1px solid #d2d2d7;
  /* Apple-ish gray border */
  padding: 50px 24px 100px;
  /* Deep bottom padding for arrow */
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step:hover {
  border-color: #8e8e93;
  /* Darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Top Line Decoration */
.flow-step::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #86868b;
  margin-bottom: 24px;
}

.flow-number {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #86868b;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.flow-number::before {
  content: 'STEP ';
}

.flow-title {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  line-height: 1.4;
}

.flow-desc {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Circle Arrow Button */
.flow-step::after {
  content: '›';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #424245;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1d1d1f;
  transition: all 0.3s ease;
  padding-bottom: 4px;
  /* Optical alignment for character */
}

.flow-step:hover::after {
  background: #1d1d1f;
  color: #fff;
  border-color: #1d1d1f;
}

@media (max-width: 960px) {
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .flow-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}