/* fxpro-vietnam.com — light + red accents, mobile-first single column */

:root {
  --red: #c8102e;
  --red-dark: #9c0c24;
  --red-tint: #fdf0f2;
  --ink: #262223;
  --ink-soft: #5c5457;
  --bg: #faf8f7;
  --card: #ffffff;
  --line: #eadfe1;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(38, 34, 35, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--red-tint) 100%);
  border-bottom: 3px solid var(--red);
  padding: 44px 0 36px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

h1 {
  margin: 0 0 16px;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* ---------- Buttons: large tap targets ---------- */

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 14px;
}

.btn {
  display: block;
  min-height: 52px;
  padding: 14px 28px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(200, 16, 46, 0.28);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--red);
  background: #fff;
  border: 2px solid var(--red);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  background: var(--red);
}

.risk-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Cards: airy, single column ---------- */

main {
  padding: 30px 18px 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin: 0 0 28px;
}

.card-warning {
  border-left: 5px solid var(--red);
  background: var(--red-tint);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.32rem;
  line-height: 1.3;
}

.answer-first {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--red-tint);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-weight: 500;
}

.card-warning .answer-first {
  background: #fff;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 10px;
}

/* ---------- Quick Answer ---------- */

.quick-answer {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  margin: 0 0 28px;
}

.quick-answer h2 {
  color: #fff;
}

.quick-answer li {
  margin-bottom: 12px;
}

.quick-answer strong {
  color: #ffb3bf;
}

.quick-answer .btn {
  margin-top: 10px;
}

/* ---------- Tables ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 6px 0 18px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: var(--red-tint);
}

/* ---------- FAQ: details/summary ---------- */

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

summary {
  display: block;
  padding: 16px 18px;
  min-height: 52px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  padding-right: 44px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red);
}

details[open] summary::after {
  content: "−";
}

details[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--red-tint);
}

details p {
  padding: 4px 18px 16px;
  margin: 8px 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 30px 0 40px;
  background: #fff;
  border-top: 3px solid var(--red);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0 0 14px;
}

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 64px 0 52px;
  }

  .cta-row {
    flex-direction: row;
  }

  .cta-row .btn {
    flex: 1;
  }

  .card,
  .quick-answer {
    padding: 34px 32px;
  }
}

/* FxPro partner disclosure bar + about block (brand guidelines) */
.partner-bar { background: #fdf3f4; color: #8f0c20; font-size: .82rem; padding: .45rem 1rem; text-align: center; }
.partner-bar a { color: inherit; text-decoration: underline; font-weight: 600; }
.about-fxpro { padding: 1.5rem 1rem; max-width: 900px; margin: 0 auto; }
.about-fxpro h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.about-fxpro p { font-size: .88rem; opacity: .85; line-height: 1.6; }
