/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7d3c98;
  --purple-light: #c39bd3;
  --purple-pale: #f9f3ff;
  --accent: #e91e8c;
  --text: #333;
  --text-sub: #666;
  --border: #e8d5f5;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(125,60,152,0.12);
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text);
  background: #fdfbff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

/* ===== Layout ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 60px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(233,30,140,0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

/* ===== Navigation ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 18px;
  font-weight: bold;
  color: var(--purple);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #6c3483 0%, #9b59b6 50%, #d7bde2 100%);
  color: var(--white);
  padding: 80px 0 72px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 4px 18px;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-price {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 16px;
}

/* ===== Section titles ===== */
.section-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  color: var(--purple);
}

.section-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 40px;
}

/* ===== Problems ===== */
.problems { background: var(--purple-pale); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow);
}

.problem-icon {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* ===== How it works ===== */
.steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 0 16px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 36px;
  font-size: 24px;
  color: var(--purple-light);
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(125,60,152,0.3);
}

.step-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--purple);
}

.step-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== Features ===== */
.features { background: var(--purple-pale); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-icon { font-size: 36px; margin-bottom: 14px; }

.feature-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--purple);
  margin-bottom: 8px;
}

.feature-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ===== Pricing ===== */
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: bold;
  color: var(--purple);
  line-height: 1;
}

.pricing-unit { font-size: 16px; color: var(--text-sub); margin-bottom: 24px; }

.pricing-list {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: inline-block;
}

.pricing-list li {
  font-size: 14px;
  color: var(--text-sub);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-list li::before { content: '✓'; color: var(--purple); font-weight: bold; }

/* ===== CTA ===== */
.cta { background: linear-gradient(160deg, #6c3483, #9b59b6); text-align: center; color: var(--white); }

.cta h2 { font-size: clamp(20px, 4vw, 30px); margin-bottom: 12px; }
.cta p { opacity: 0.9; margin-bottom: 32px; font-size: 15px; }

/* ===== Footer ===== */
footer {
  background: #2c0a3e;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 24px;
  font-size: 12px;
}

/* ===== Register form ===== */
.register-wrap {
  min-height: 100vh;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.register-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(125,60,152,0.15);
  padding: 40px 36px;
  width: 100%;
  max-width: 520px;
}

.register-header { text-align: center; margin-bottom: 32px; }

.register-logo {
  font-size: 16px;
  color: var(--purple);
  font-weight: bold;
  margin-bottom: 8px;
}

.register-header h1 {
  font-size: 22px;
  color: var(--purple);
  margin-bottom: 6px;
}

.register-header p { font-size: 13px; color: var(--text-sub); }

/* Form elements */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-sub);
  margin-bottom: 6px;
}

label .required {
  color: var(--accent);
  margin-left: 4px;
  font-size: 11px;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(125,60,152,0.12);
}

select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239b59b6' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { font-size: 12px; color: var(--text-sub); margin-top: 4px; }

.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.submit-area { text-align: center; margin-top: 28px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(233,30,140,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(233,30,140,0.45); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.submit-note { font-size: 12px; color: var(--text-sub); margin-top: 12px; }

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.alert-error { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }
.alert-info { background: #e8f4fd; color: #2471a3; border: 1px solid #aed6f1; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .step:not(:last-child)::after { display: none; }
  .step { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .register-card { padding: 28px 20px; }
}
