/* ============================================================
   Strategy Simulator – Landing page styles
   Harmonized with site design system (style.css) and responsive.
   ============================================================ */

.sim-hero {
  padding: 48px 0 56px;
  text-align: center;
}

.sim-hero-kicker {
  display: inline-block;
  background: #EFF6FF;
  color: var(--action-blue);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sim-hero-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 0 0 18px;
  line-height: 1.06;
}

.sim-hero-subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Login card */
.sim-login-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  margin: 0 auto 64px;
  padding: 36px 40px;
}

.sim-login-card h2 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-head);
}

.sim-login-form .form-group {
  margin-bottom: 16px;
}

.sim-login-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.sim-login-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.sim-login-form input[type="email"]:focus {
  border-color: var(--action-blue);
}

.sim-login-form .btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--action-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.sim-login-form .btn-primary:hover {
  background: var(--navy);
}

.sim-login-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sim-login-notice {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  text-align: center;
}

.sim-login-notice.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.sim-login-notice.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Business value section */
.sim-value {
  margin: 0 auto 48px;
  padding: 6px 14px 10px;
  overflow: visible;
}

.sim-value-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 194, 224, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(30, 101, 214, 0.16), transparent 30%),
    linear-gradient(135deg, #0b2846 0%, #123a63 52%, #0f5fa3 100%);
  box-shadow: 0 30px 70px -36px rgba(11, 40, 70, 0.55);
  color: rgba(255, 255, 255, 0.92);
}

.sim-value-header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.sim-value-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: #c9ebff;
}

.sim-value-title {
  margin-bottom: 14px;
  color: #fff;
}

.sim-value-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(233, 242, 255, 0.82);
}

.sim-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sim-value-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sim-value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.35rem;
}

.sim-value-card-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
}

.sim-value-card-desc {
  margin: 0;
  color: rgba(233, 242, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .sim-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sim-value {
    margin-bottom: 40px;
    padding-inline: 6px;
  }

  .sim-value-inner {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .sim-value-header {
    margin-bottom: 24px;
  }

  .sim-value-card {
    padding: 20px;
  }
}

/* Features section – centred highlight panel with a responsive card grid. */
.sim-features {
  margin: 0 auto 84px;
  padding: 6px 14px 10px;
  overflow: visible;
}

.sim-features::before {
  display: none;
}

.sim-features-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px);
  border-radius: 28px;
  border: 1px solid rgba(30, 101, 214, 0.12);
  background:
    radial-gradient(circle at top left, rgba(30, 101, 214, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(0, 194, 224, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
  box-shadow: 0 28px 60px -34px rgba(11, 40, 70, 0.35);
  box-sizing: border-box;
}

.sim-features .section-title {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.sim-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 980px) {
  .sim-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sim-features {
    margin-bottom: 64px;
    padding-inline: 6px;
  }

  .sim-features-inner {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .sim-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.sim-feature-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(224, 230, 237, 0.9);
  border-radius: 20px;
  padding: 24px 22px 22px;
  min-height: 100%;
  box-shadow: 0 18px 40px -30px rgba(11, 40, 70, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sim-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 42px -24px rgba(11, 40, 70, 0.26);
}

.sim-feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--action-blue), var(--tech-cyan));
}

.sim-feature-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 194, 224, 0.24) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.sim-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 101, 214, 0.14), rgba(0, 194, 224, 0.2));
  border: 1px solid rgba(30, 101, 214, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 12px 24px -18px rgba(30, 101, 214, 0.45);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.sim-feature-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}

.sim-feature-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
}

/* Dev token box */
.sim-dev-token {
  background: #fff3e0;
  border: 1px solid #ffcc02;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.8rem;
  word-break: break-all;
  color: #5d4037;
}

.sim-dev-token strong {
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* Verify step */
.sim-verify-section {
  margin-top: 20px;
  display: none;
}

.sim-verify-section.visible {
  display: block;
}

.sim-verify-section .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sim-verify-section input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.sim-verify-section input[type="text"]:focus {
  border-color: var(--action-blue);
}

/* Responsive: login card padding on small screens */
@media (max-width: 480px) {
  .sim-login-card {
    padding: 28px 24px;
    margin-left: 0;
    margin-right: 0;
  }
}
