:root {
  --bg-deep: #060b18;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-solid: #0f172a;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-gold: rgba(245, 158, 11, 0.42);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fde047;
  --accent-emerald: #10b981;
  --accent-blue: #38bdf8;
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-lg: 20px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.10) 0%, transparent 45%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fde047 0%, #f59e0b 52%, #b45309 100%);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45), inset -4px -4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #060b18;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  background: linear-gradient(90deg, #ffffff 0%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.lang-select:hover,
.lang-select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.lang-select-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  font-size: 10px;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #060b18;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.48);
}

.btn-outline {
  background: rgba(30, 41, 59, 0.65);
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding: 12px 22px;
  font-size: 15px;
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  background: rgba(30, 41, 59, 0.95);
}

.btn-nav {
  padding: 9px 16px;
  font-size: 13.5px;
}

/* HERO */
.hero {
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: var(--accent-gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, #fde047 0%, #fb923c 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* HERO VISUAL SHOWCASE */
.showcase-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(8, 15, 32, 0.98));
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(245, 158, 11, 0.12);
  position: relative;
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cage-stage {
  background: radial-gradient(circle at 50% 45%, #1e293b 0%, #090e1a 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cage-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 3px dashed rgba(251, 191, 36, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slowSpin 18s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.hero-3d-ball {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #60a5fa 0%, #2563eb 55%, #1e3a8a 100%);
  box-shadow: inset -8px -8px 18px rgba(0, 0, 0, 0.65), inset 4px 4px 12px rgba(255, 255, 255, 0.45), 0 14px 28px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: floatBall 3.4s ease-in-out infinite;
}

@keyframes floatBall {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

.hero-3d-ball .b-let {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #bfdbfe;
  line-height: 1;
}

.hero-3d-ball .b-num {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.mini-balls-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.mini-b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  box-shadow: inset -3px -3px 6px rgba(0,0,0,0.5);
}

.showcase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.sm-box {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
}

.sm-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.sm-val {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fde047;
}

/* SECTIONS */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 16px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* CALCULATOR */
.calc-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(12, 20, 38, 0.96));
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.slider-group {
  margin-bottom: 20px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.slider-val {
  color: var(--accent-gold-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-gold);
  height: 6px;
  cursor: pointer;
}

.calc-results {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.18), rgba(6, 11, 24, 0.9));
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.calc-res-item {
  margin-bottom: 20px;
}

.calc-res-lbl {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.calc-res-num {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #6ee7b7;
  line-height: 1.15;
  margin-top: 4px;
}

.calc-res-num.gold {
  font-size: 44px;
  color: var(--accent-gold-light);
}

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

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--accent-gold-light);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* APPLICATION FORM */
.form-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.96), rgba(9, 14, 28, 0.98));
  border: 1.5px solid var(--border-gold);
  border-radius: 26px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-grid-2 .form-group,
.form-grid-3 .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.input-field {
  width: 100%;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text-main);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.helper-text {
  font-size: 11.5px;
  color: var(--text-muted);
}

.pass-row {
  display: flex;
  gap: 8px;
}

.btn-small {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-small:hover {
  background: rgba(56, 189, 248, 0.28);
}

.submit-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 17px;
  margin-top: 8px;
}

.privacy-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
}

.error-banner {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  display: none;
}

/* SUCCESS BOX */
.success-box {
  text-align: center;
  padding: 28px 16px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 18px;
}

.success-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #6ee7b7;
  margin-bottom: 12px;
}

.success-box p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 22px;
}

.summary-pill-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 460px;
  margin: 0 auto 24px;
  text-align: left;
  font-size: 14px;
}

.summary-pill-box div + div {
  margin-top: 8px;
}

.hidden {
  display: none !important;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  color: var(--accent-gold-light);
  text-decoration: none;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid,
  .calc-box {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .form-grid-2,
  .form-grid-3,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .form-wrapper,
  .calc-box {
    padding: 24px 18px;
  }
  .brand-name {
    font-size: 18px;
  }
}
