/* ========================================
   UraKnow Service Site -- Premium Design
   Matching iOS app warm editorial aesthetic
   ======================================== */

:root {
  --uk-primary: #575E74;
  --uk-primary-light: #D0D6F1;
  --uk-primary-dim: #BFC6E0;
  --uk-secondary: #685A64;
  --uk-secondary-light: #F0DDE8;
  --uk-tertiary: #695D48;
  --uk-bg: #FCF9F6;
  --uk-surface: #F6F3F0;
  --uk-surface-high: #EAE8E5;
  --uk-surface-white: #ffffff;
  --uk-text: #1B1C1A;
  --uk-text-sub: #45464D;
  --uk-text-muted: #76767D;
  --uk-outline: #C6C6CD;
  --uk-inverse: #31302F;
  --uk-inverse-text: #F3F0ED;
  --uk-wood: #47AD6B;
  --uk-fire: #E05959;
  --uk-earth: #C7A34D;
  --uk-metal: #858FA3;
  --uk-water: #4D85D1;
  --uk-success: #10B981;
  --shadow-sm: 0 2px 12px rgba(27,28,26,0.04);
  --shadow-md: 0 8px 30px rgba(27,28,26,0.06);
  --shadow-lg: 0 16px 48px rgba(27,28,26,0.08);
  --shadow-glow: 0 0 40px rgba(87,94,116,0.15);
  --glass: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.35);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  background: var(--uk-bg);
  color: var(--uk-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--uk-primary); text-decoration: none; transition: all 0.25s ease; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ========================================
   Scroll Animations
   ======================================== */

[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Navigation -- Glassmorphism
   ======================================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(252,249,246,0.7);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(198,198,205,0.12);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav--scrolled {
  background: rgba(252,249,246,0.92);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav__logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.nav__logo-img {
  height: 22px; width: auto; display: block;
}
.nav__links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav__links a {
  font-size: 13px; font-weight: 600; color: var(--uk-text-sub);
  letter-spacing: 0.3px; transition: color 0.2s;
}
.nav__links a:hover { color: var(--uk-primary); opacity: 1; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--uk-primary), #6E758F);
  color: white !important; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(87,94,116,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); opacity: 1 !important; }

.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__hamburger span { display: block; width: 20px; height: 2px; background: var(--uk-text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

@media (max-width: 768px) {
  .nav__hamburger { display: block; }
  .nav__links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(252,249,246,0.97); backdrop-filter: blur(40px);
    flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid rgba(198,198,205,0.12);
  }
  .nav__links.is-open { display: flex; }
  .nav__cta--desktop { display: none; }
}

/* ========================================
   Hero -- Immersive
   ======================================== */

.hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: auto;
}

/* Ambient glow orbs */
.hero::before {
  content: ''; position: absolute;
  top: -120px; left: 50%; transform: translateX(-70%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(208,214,241,0.4) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -80px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,221,232,0.35) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateX(-70%) translateY(0); }
  50% { transform: translateX(-70%) translateY(-30px); }
}

.hero__content { position: relative; z-index: 1; width: 100%; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--uk-primary);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900; line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  min-height: 2.4em;
}
.hero__title .gradient {
  background: linear-gradient(135deg, var(--uk-primary), #8B93B0, var(--uk-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title .gradient::after {
  content: '|';
  -webkit-text-fill-color: var(--uk-primary);
  animation: blink 1s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--uk-text-sub); line-height: 1.9;
  max-width: 480px; margin: 0 auto 40px;
}

.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 1 !important; }

.btn--primary {
  background: linear-gradient(135deg, var(--uk-primary), #6E758F);
  color: white;
  box-shadow: 0 6px 24px rgba(87,94,116,0.3);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(87,94,116,0.4); }

.btn--glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  color: var(--uk-primary);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.btn--glass:hover { background: rgba(255,255,255,0.85); }

/* Pulse effect on primary CTA */
.btn--pulse {
  position: relative;
}
.btn--pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--uk-primary), #6E758F);
  opacity: 0;
  z-index: -1;
  animation: pulse-ring 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ===== Phone Mockup ===== */
.hero__mockup {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-frame {
  width: 280px; height: 560px;
  background: var(--uk-inverse);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(27,28,26,0.2),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 60px rgba(87,94,116,0.1);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  position: relative;
}
.phone-frame:hover { transform: rotateY(0deg) rotateX(0deg); }

.phone-screen {
  width: 100%; height: 100%;
  background: var(--uk-bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen__header {
  padding: 20px 16px 12px;
  text-align: left;
}
.phone-screen__greeting {
  font-size: 10px; color: var(--uk-text-muted); font-weight: 600;
  letter-spacing: 1px; margin-bottom: 4px;
}
.phone-screen__name {
  font-size: 18px; font-weight: 900; color: var(--uk-text);
}

.phone-screen__card {
  margin: 8px 12px;
  padding: 14px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.phone-screen__fortune {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.phone-screen__score {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--uk-primary), var(--uk-water));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phone-screen__label {
  font-size: 9px; color: var(--uk-text-muted); font-weight: 700;
  letter-spacing: 1.5px;
}

.phone-screen__bars { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.phone-bar {
  display: flex; align-items: center; gap: 6px;
}
.phone-bar__label { font-size: 8px; font-weight: 700; color: var(--uk-text-muted); width: 20px; }
.phone-bar__track {
  flex: 1; height: 5px; background: var(--uk-surface);
  border-radius: 3px; overflow: hidden;
}
.phone-bar__fill { height: 100%; border-radius: 3px; }

.phone-screen__elements {
  display: flex; justify-content: center; gap: 4px;
  padding: 12px;
}
.element-dot {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* Floating particles */
.particles {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.particle--1 {
  width: 6px; height: 6px; background: var(--uk-water);
  top: 20%; left: 10%;
  animation: particle-float 12s ease-in-out infinite;
}
.particle--2 {
  width: 4px; height: 4px; background: var(--uk-fire);
  top: 40%; right: 15%;
  animation: particle-float 10s ease-in-out infinite reverse;
}
.particle--3 {
  width: 8px; height: 8px; background: var(--uk-earth);
  bottom: 30%; left: 20%;
  animation: particle-float 14s ease-in-out infinite 2s;
}
.particle--4 {
  width: 5px; height: 5px; background: var(--uk-wood);
  top: 60%; right: 25%;
  animation: particle-float 11s ease-in-out infinite 1s;
}
.particle--5 {
  width: 7px; height: 7px; background: var(--uk-metal);
  bottom: 20%; right: 10%;
  animation: particle-float 13s ease-in-out infinite 3s;
}
@keyframes particle-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-10px, -40px); }
  75% { transform: translate(-30px, -10px); }
}

/* ===== Five Elements Divider ===== */
.elements-divider {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--uk-wood), var(--uk-fire), var(--uk-earth), var(--uk-metal), var(--uk-water));
  max-width: 120px; margin: 0 auto;
  opacity: 0.7;
}

/* ========================================
   Stats Ticker
   ======================================== */

.stats-ticker {
  padding: 56px 0;
  border-bottom: 1px solid rgba(198,198,205,0.12);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item__number {
  font-size: 44px; font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--uk-primary), #8B93B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-item__label {
  font-size: 13px; color: var(--uk-text-muted);
  font-weight: 600; margin-top: 4px;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat-item__number { font-size: 36px; }
}

/* ========================================
   Sections
   ======================================== */

.section { padding: 100px 0; }

.section__label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--uk-primary); margin-bottom: 8px; text-align: center;
}
.section__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900; text-align: center;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section__desc {
  text-align: center; color: var(--uk-text-sub);
  max-width: 520px; margin: 0 auto 56px; font-size: 15px; line-height: 1.8;
}

/* ========================================
   Features -- Glass Cards
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 28px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.85);
}
.feature-card:hover::before { opacity: 1; }

.feature-card:nth-child(1)::before { background: linear-gradient(90deg, var(--uk-water), var(--uk-primary)); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, var(--uk-fire), var(--uk-earth)); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, var(--uk-earth), var(--uk-metal)); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, var(--uk-wood), var(--uk-water)); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, var(--uk-primary), var(--uk-secondary)); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, var(--uk-metal), var(--uk-water)); }

.feature-card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.icon--water  { background: rgba(77,133,209,0.1); }
.icon--fire   { background: rgba(224,89,89,0.1); }
.icon--earth  { background: rgba(199,163,77,0.1); }
.icon--wood   { background: rgba(71,173,107,0.1); }
.icon--metal  { background: rgba(133,143,163,0.1); }
.icon--primary{ background: rgba(87,94,116,0.08); }

.feature-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card__desc { font-size: 13px; color: var(--uk-text-sub); line-height: 1.8; }

/* ========================================
   How It Works
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--uk-wood), var(--uk-fire), var(--uk-earth), var(--uk-water));
  opacity: 0.2;
}
.steps--three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--three { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

.element-dot--wood { background: rgba(71,173,107,0.15); width: 24px; height: 24px; border-radius: 6px; }
.element-dot--fire { background: rgba(224,89,89,0.15); width: 24px; height: 24px; border-radius: 6px; }
.element-dot--earth { background: rgba(199,163,77,0.15); width: 24px; height: 24px; border-radius: 6px; }
.element-dot--metal { background: rgba(133,143,163,0.15); width: 24px; height: 24px; border-radius: 6px; }
.element-dot--water { background: rgba(77,133,209,0.15); width: 24px; height: 24px; border-radius: 6px; }

.step {
  text-align: center;
  position: relative;
}
.step__number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--uk-primary), #8B93B0);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(87,94,116,0.2);
  position: relative; z-index: 1;
}
.step__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step__desc { font-size: 12px; color: var(--uk-text-muted); line-height: 1.7; }

/* ========================================
   Comparison Table
   ======================================== */

.comparison-table {
  max-width: 800px; margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(198,198,205,0.15);
  vertical-align: middle;
}
.comparison-table th {
  font-size: 12px; font-weight: 800;
  letter-spacing: 1px;
  color: var(--uk-text-sub);
  padding-bottom: 20px;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--uk-text-sub);
}
.comparison-table__highlight {
  background: rgba(208,214,241,0.08);
  position: relative;
}
.comparison-table thead .comparison-table__highlight {
  color: var(--uk-primary);
  font-size: 14px;
  font-weight: 900;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; font-size: 12px; }
}

/* ========================================
   Pricing -- Elevated Cards
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

.pricing-card {
  padding: 32px 28px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  border: 1px solid rgba(198,198,205,0.12);
  transition: all 0.3s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card--featured {
  border: 2px solid var(--uk-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
  background: linear-gradient(180deg, white 0%, rgba(208,214,241,0.08) 100%);
}
.pricing-card--featured:hover { transform: scale(1.06); }

.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--uk-primary), #6E758F);
  color: white; font-size: 11px; font-weight: 700;
  padding: 5px 20px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(87,94,116,0.25);
}

.pricing-card__name {
  font-size: 12px; font-weight: 800;
  letter-spacing: 3px; color: var(--uk-text-muted);
  margin-bottom: 16px;
}
.pricing-card__price {
  font-size: 40px; font-weight: 900; color: var(--uk-text);
  margin-bottom: 4px; letter-spacing: -0.02em;
}
.pricing-card__price span { font-size: 14px; font-weight: 500; color: var(--uk-text-muted); }
.pricing-card__yearly {
  font-size: 12px; color: var(--uk-text-muted); margin-bottom: 28px;
  min-height: 18px;
}
.pricing-card__features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-card__features li {
  font-size: 13px; padding: 7px 0; color: var(--uk-text-sub);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card__features li::before {
  content: '';
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.pricing-card__features li.disabled { opacity: 0.35; }
.pricing-card__features li.disabled::before {
  background-color: var(--uk-surface);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2376767D' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

/* ========================================
   FAQ Accordion
   ======================================== */

.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(198,198,205,0.12);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px; font-weight: 700;
  color: var(--uk-text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23575E74' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s;
}
.faq-item[open] .faq-item__q::after {
  transform: rotate(180deg);
}
.faq-item__q:hover { color: var(--uk-primary); }

.faq-item__a {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--uk-text-sub);
  line-height: 1.9;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.faq-item[open] .faq-item__a {
  max-height: 500px;
  opacity: 1;
}

/* ========================================
   CTA Section -- Dark
   ======================================== */

.cta-section {
  background: var(--uk-inverse);
  color: var(--uk-inverse-text);
  padding: 80px 24px;
  text-align: center;
  border-radius: 32px;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: -20%; width: 140%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(87,94,116,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(104,90,100,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .section__label { color: var(--uk-primary-dim); }
.cta-section .section__title { color: var(--uk-inverse-text); }
.cta-section .section__desc { color: rgba(243,240,237,0.6); }
.cta-section .btn--primary {
  background: white; color: var(--uk-inverse);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

/* ========================================
   Footer
   ======================================== */

.footer { padding: 48px 0; border-top: 1px solid rgba(198,198,205,0.12); }
.footer__inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 32px;
}
.footer__brand { margin-bottom: 6px; }
.footer__logo-img { height: 20px; width: auto; display: block; }
.footer__company { font-size: 12px; color: var(--uk-text-muted); }
.footer__links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer__group h4 {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--uk-text-sub); margin-bottom: 12px; text-transform: uppercase;
}
.footer__group ul { list-style: none; }
.footer__group ul li { margin-bottom: 8px; }
.footer__group ul a { font-size: 13px; color: var(--uk-text-muted); }
.footer__group ul a:hover { color: var(--uk-primary); opacity: 1; }
.footer__bottom {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(198,198,205,0.12);
  font-size: 11px; color: var(--uk-text-muted); text-align: center;
}
@media (max-width: 768px) { .footer__inner { flex-direction: column; } }

/* ========================================
   Legal Pages
   ======================================== */

.legal { padding: 120px 0 80px; }
.legal h1 { font-size: 28px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.02em; }
.legal__date { font-size: 13px; color: var(--uk-text-muted); margin-bottom: 48px; }
.legal h2 {
  font-size: 17px; font-weight: 800; margin-top: 36px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(198,198,205,0.15);
}
.legal p, .legal li { font-size: 14px; color: var(--uk-text-sub); line-height: 2; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }

/* Commerce (特定商取引法) table */
.commerce-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
  background: var(--uk-surface, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(27, 28, 26, 0.04);
}
.commerce-table th,
.commerce-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(198, 198, 205, 0.15);
}
.commerce-table thead th {
  background: rgba(87, 94, 116, 0.06);
  font-weight: 700;
  color: var(--uk-text);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.commerce-table tbody tr:last-child th,
.commerce-table tbody tr:last-child td { border-bottom: none; }
.commerce-table td:first-child { font-weight: 700; }
@media (max-width: 640px) {
  .commerce-table th, .commerce-table td { padding: 10px 10px; font-size: 13px; }
}

/* ========================================
   Contact
   ======================================== */

.contact-card {
  padding: 32px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  max-width: 520px; margin: 0 auto;
}
.contact-card__item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(198,198,205,0.12);
}
.contact-card__item:last-child { border-bottom: none; }
.contact-card__icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(87,94,116,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  color: var(--uk-primary);
}
.contact-card__label { font-size: 11px; font-weight: 700; color: var(--uk-text-muted); letter-spacing: 0.5px; }
.contact-card__value { font-size: 15px; color: var(--uk-text); font-weight: 600; }

/* ========================================
   Utilities
   ======================================== */
.mt-xl { margin-top: 24px; }
.mt-2xl { margin-top: 32px; }
.mb-xl { margin-bottom: 24px; }

@media (max-width: 768px) {
  .hero { padding: 110px 0 40px; min-height: auto; }
  .hero__title { min-height: auto; }
  .section { padding: 64px 0; }
  .cta-section { margin: 0 16px; padding: 56px 20px; }
  .phone-frame { width: 220px; height: 440px; border-radius: 32px; padding: 10px; }
  .phone-screen { border-radius: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
