/*
 * Ronin Flasher Landing Site & Paywall
 * Aesthetic: Crisp, minimal, high-trust engineering. Pure white, slate, and cobalt blue.
 * Zero gradients, zero neon, zero dark mud.
 */

:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --accent-border: #BFDBFE;
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --success-border: #BBF7D0;
  --warn: #D97706;
  --warn-bg: #FFFBEB;
  --warn-border: #FDE68A;
  --danger: #DC2626;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Liberation Mono", Courier, monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-wrap:hover {
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 72px 0 56px;
  text-align: center;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Section Common */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Requirements Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.req-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.req-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.req-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.req-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}

.feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Download Box */
.download-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.download-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.download-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.download-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
  font-family: var(--font-mono);
}

.notice-callout {
  margin-top: 20px;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Currency Switcher */
.currency-picker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}

.currency-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.currency-buttons {
  display: flex;
  gap: 4px;
}

.curr-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.curr-btn:hover {
  color: var(--text-main);
}

.curr-btn.active {
  background: #FFFFFF;
  border-color: var(--border-strong);
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

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

.price-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.badge-pop {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tier-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.curr-code {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
}

.tier-term {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.tier-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-features li::before {
  content: "—";
  color: var(--accent);
  font-weight: 700;
  display: none;
}

.tier-features li strong {
  color: var(--text-main);
}

.pricing-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.step-card {
  background: #FFFFFF;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.step-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Terms */
.terms-container {
  max-width: 860px;
}

.terms-list {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.term-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
}

.term-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-light);
}

.modal-body {
  padding: 20px;
}

.modal-tier-summary {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 14px;
}

.modal-secure-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-help {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 5px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: #FFFFFF;
  font-size: 13px;
  color: var(--text-light);
}

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

.footer-sub {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

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

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .requirements-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; text-align: center; }
  .notice-callout { flex-direction: column; gap: 8px; text-align: center; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
