/* ============================================================
   Taotao Trading — site styles
   Palette drawn from logo: navy #003078 / #003060, red accent
   ============================================================ */

:root {
  --navy: #003078;
  --navy-mid: #003060;
  --navy-deep: #01204e;
  --navy-ink: #061a35;
  --red: #a81818;
  --red-dark: #8c1010;
  --wa: #1faa54;
  --bg: #f6f8fc;
  --white: #ffffff;
  --text: #1c2740;
  --muted: #5b6b85;
  --line: #e2e8f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(1, 32, 78, 0.08);
  --shadow-lg: 0 18px 50px rgba(1, 32, 78, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand img { width: 44px; height: 44px; border-radius: 10px; }

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s;
}

.main-nav a:hover, .main-nav a.active { color: var(--navy); }

.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(168, 24, 24, 0.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(24, 72, 120, 0.5), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 92px 0 100px;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #f3c4c4;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #ffd9d9;
  border-bottom: 3px solid var(--red);
}

.hero p.lead {
  font-size: 1.12rem;
  color: #cdd9ec;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.15s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a44; transform: translateY(-1px); }

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 30px 30px 26px;
  backdrop-filter: blur(4px);
}

.hero-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #9fb6d8;
  margin-bottom: 16px;
}

.check-list { list-style: none; }

.check-list li {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  font-size: 0.97rem;
  color: #e8eefb;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ---------- Fact strip ---------- */

.fact-strip { background: var(--navy-ink); color: #fff; padding: 26px 0; }

.fact-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fact { text-align: center; }

.fact strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.fact span { font-size: 0.85rem; color: #9db2d1; }

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section.alt { background: var(--bg); }

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

.section-head.left { margin-left: 0; text-align: left; }

.section-head .kicker { color: var(--red); margin-bottom: 12px; }

.section-head .kicker::before { background: var(--red); }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-ink);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 26px; }

.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #cfdaea; }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8eefb, #dbe6f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.14rem; color: var(--navy-ink); margin-bottom: 10px; font-weight: 750; }

.card p { font-size: 0.95rem; color: var(--muted); flex: 1; }

.card .more {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card .more:hover { color: var(--red); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  background: #e8eefb;
  border-radius: 6px;
  padding: 3px 10px;
  margin: 0 6px 8px 0;
}

.tag.red { color: var(--red); background: #fbebeb; }

/* Featured product card */
.card.featured { border: 2px solid var(--navy); position: relative; }

.card.featured::before {
  content: "Main line";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 6px;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step { position: relative; padding-top: 54px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 48px;
  right: 6px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c4d1e6 0 8px, transparent 8px 14px);
}

.step:last-child::after { display: none; }

.step h3 { font-size: 1rem; color: var(--navy-ink); margin-bottom: 8px; }

.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Why / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.reason-list { list-style: none; }

.reason-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.reason-list li:last-child { border-bottom: none; }

.reason-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e8eefb;
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-list h3 { font-size: 1.05rem; color: var(--navy-ink); margin-bottom: 4px; }

.reason-list p { font-size: 0.92rem; color: var(--muted); }

.quote-panel {
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  border-radius: 20px;
  color: #fff;
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
}

.quote-panel blockquote {
  font-size: 1.28rem;
  line-height: 1.55;
  font-weight: 650;
  margin-bottom: 22px;
}

.quote-panel blockquote span { color: #ffbcbc; }

.quote-panel cite {
  font-style: normal;
  font-size: 0.92rem;
  color: #a9bddd;
}

/* ---------- Table (product specs) ---------- */

.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.93rem; }

.spec-table th, .spec-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 190px;
  color: var(--navy);
  font-weight: 700;
  background: #f2f6fc;
}

.spec-table td { color: var(--muted); }

/* ---------- Product block ---------- */

.product-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 34px;
}

.product-block-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.product-block h3 { font-size: 1.45rem; color: var(--navy-ink); font-weight: 800; }

.product-block p.desc { color: var(--muted); max-width: 680px; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-ink);
  padding: 18px 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 700;
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.97rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(168,24,24,0.35), transparent 60%),
    linear-gradient(120deg, var(--navy), var(--navy-deep));
  border-radius: 22px;
  color: #fff;
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }

.cta-band p { color: #c3d2ea; max-width: 560px; }

/* ---------- Video / notes ---------- */

.note-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }

.note-thumb {
  width: 120px; height: 72px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
}

.note-card h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--navy-ink); }

.note-card p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-ink);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfdaea;
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fbfcfe;
  transition: border 0.15s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 120, 0.1);
}

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

.contact-info-card h3 { font-size: 1.1rem; color: var(--navy-ink); margin: 26px 0 8px; }

.contact-line {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}

.contact-line .icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: #e8eefb; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}

.contact-line strong { display: block; font-size: 0.95rem; color: var(--navy-ink); }

.contact-line p, .contact-line a { font-size: 0.92rem; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-ink); color: #93a9c9; padding: 64px 0 0; margin-top: 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 9px; font-size: 0.9rem; }

.site-footer a { color: #93a9c9; transition: color 0.15s; }

.site-footer a:hover { color: #fff; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.footer-brand img { width: 42px; height: 42px; border-radius: 9px; }

.footer-brand strong { color: #fff; font-size: 1.05rem; display: block; line-height: 1.2; }

.footer-brand small { font-size: 0.72rem; color: #93a9c9; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }

.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: #cdd9ec;
  transition: background 0.15s;
}

.footer-social a:hover { background: var(--red); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(31, 170, 84, 0.45);
  transition: transform 0.15s;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background:
    radial-gradient(700px 300px at 88% -20%, rgba(168,24,24,0.3), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 68px 0 62px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.page-hero p { color: #c7d5ec; font-size: 1.08rem; max-width: 680px; }

.breadcrumb { font-size: 0.82rem; color: #8fa5c8; margin-bottom: 18px; }

.breadcrumb a { color: #b7c8e5; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; max-width: 560px; }
  .step::after { display: none; }
  .fact-strip .container { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: none; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 70px; }
  .section { padding: 60px 0; }
  .product-block { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fact strong { font-size: 1.2rem; }
}
