/* ============================================================
   AWN DOORWAY CSS — doorway.css
   Shared across all 5 doorway landing pages
   ============================================================ */

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

:root {
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --navy:       #0a1628;
  --navy-mid:   #0d1f3c;
  --navy-light: #112240;
  --blue:       #3498db;
  --green:      #2ecc71;
  --grey:       #95a5a6;
  --text:       rgba(255,255,255,0.88);
  --text-dim:   rgba(255,255,255,0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.gold { color: var(--gold); }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
}

.hero-digital    { background: linear-gradient(135deg, #0a1628 0%, #0d2545 50%, #0a1f3a 100%); }
.hero-assets     { background: linear-gradient(135deg, #1a0a0a 0%, #2d1500 50%, #1a0f00 100%); }
.hero-trade      { background: linear-gradient(135deg, #0a1a0a 0%, #0d2d0d 50%, #071a07 100%); }
.hero-corporate  { background: linear-gradient(135deg, #0a0a1a 0%, #12122d 50%, #0a0a20 100%); }
.hero-support    { background: linear-gradient(135deg, #1a1a0a 0%, #2d2800 50%, #1a1500 100%); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
}

.pillar-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-headline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.2s;
  text-decoration: none;
}
.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
  text-decoration: none;
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.problem-section,
.solution-section,
.feature-section,
.proof-section {
  padding: 72px 0;
}

.problem-section  { background: var(--navy-mid); }
.solution-section { background: var(--navy); }
.feature-section  { background: var(--navy-mid); }
.proof-section    { background: var(--navy); }

h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

/* ── PROBLEM GRID ────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
}

.problem-card i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.problem-card p { font-size: 0.88rem; color: var(--text-dim); }

.problem-footer {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ── PILLAR FLOW ─────────────────────────────────────────────── */
.pillar-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.flow-step { text-align: center; }

.flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 8px;
}
.flow-icon.blue   { background: rgba(52,152,219,0.2); color: #3498db; border: 2px solid rgba(52,152,219,0.4); }
.flow-icon.green  { background: rgba(46,204,113,0.2); color: #2ecc71; border: 2px solid rgba(46,204,113,0.4); }
.flow-icon.gold   { background: rgba(201,168,76,0.2);  color: var(--gold); border: 2px solid rgba(201,168,76,0.4); }

.flow-label { font-size: 0.8rem; color: var(--text-dim); font-weight: 600; }
.flow-label small { display: block; font-weight: 400; font-size: 0.72rem; }
.flow-arrow { color: var(--gold); font-size: 1.2rem; opacity: 0.6; }

.solution-desc { text-align: center; color: var(--text-dim); max-width: 540px; margin: 0 auto; }

/* ── FEATURES ─────────────────────────────────────────────────── */
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.feature-list { list-style: none; margin-top: 12px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.feature-list li i { color: var(--green); }

.features-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
}
.feature-icon-sm {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.feature-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: #fff; }
.feature-item p  { font-size: 0.83rem; color: var(--text-dim); }

/* ── FORM SECTION ─────────────────────────────────────────────── */
.form-section { padding: 72px 0; background: var(--navy-light); }

.form-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 600px;
  margin: 0 auto;
}

.form-header { text-align: center; margin-bottom: 32px; }
.form-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.form-header h2 { font-size: 1.4rem; margin-bottom: 10px; }
.form-header p  { font-size: 0.88rem; color: var(--text-dim); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.required { color: #e74c3c; }

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus { border-color: var(--gold); }
.form-input option { background: var(--navy-mid); color: #fff; }

/* Option grid */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-card { cursor: pointer; }
.option-card input[type=radio] { display: none; }
.option-inner {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: all 0.2s;
}
.option-inner i {
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.option-card input:checked + .option-inner {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: #fff;
}

/* Submit button */
.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  margin-top: 8px;
}
.submit-btn:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.5;
}
.form-note i { color: var(--gold); margin-right: 4px; }

.error-msg {
  color: #e74c3c;
  font-size: 0.82rem;
  min-height: 18px;
  margin-bottom: 8px;
}
.success-msg {
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
  color: #2ecc71;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 12px;
}
.success-msg.hidden { display: none; }

/* ── PROOF SECTION ─────────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.proof-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px;
}
.proof-stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.proof-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.proof-author { font-size: 0.78rem; color: var(--gold); font-weight: 600; }

/* ── SUPPORT PAGE ─────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.support-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: block;
}
.support-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
  text-decoration: none;
}
.support-icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; margin-bottom: 8px; color: #fff; }
.support-card p  { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 16px; }
.support-cta { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 12px;
  user-select: none;
}
.faq-q i { color: var(--gold); font-size: 0.8rem; flex-shrink: 0; transition: transform 0.25s; }
.faq-a {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-height: 0;
  overflow: hidden;
  padding: 0 4px;
  transition: max-height 0.35s ease;
  line-height: 1.7;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.doorway-footer {
  background: #060e1a;
  text-align: center;
  padding: 36px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 12px;
  opacity: 0.7;
}
.doorway-footer p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.doorway-footer a { color: var(--gold); }

/* ── SPINNER ───────────────────────────────────────────────────── */
.spinner-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10,22,40,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .option-grid { grid-template-columns: 1fr; }
  .form-card   { padding: 24px 16px; }
  .pillar-flow { gap: 8px; }
  .flow-arrow  { display: none; }
  .feature-card { flex-direction: column; }
}
