:root {
  --primary: #8B0000;
  --primary-soft: #a41b1b;
  --accent: #f3b340;
  --bg: #f4f5f7;
  --card-bg: #ffffff;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
  
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #ffe5e5 0, #f4f5f7 45%, #f4f5f7 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.brand-logo {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  border-radius: 4px;
  display: block !important;
  flex-shrink: 0;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.45);
}

.brand-logo[src=""],
.brand-logo:not([src]) {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.brand-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.45);
}

/* HERO */
.hero {
  padding: 60px 20px 40px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  margin-bottom: 14px;
}

.hero-badge span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(139,0,0,0.09);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-card {
  background: linear-gradient(135deg, #ffffff, #ffe7e7);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.9);
  font-size: 13px;
}

.hero-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-card-title strong {
  color: var(--primary);
  font-size: 14px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(24, 190, 91, 0.1);
  color: #15803d;
  font-weight: 600;
}

.hero-card ul {
  list-style: none;
  margin-top: 4px;
}

.hero-card li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
}

.btn-main {
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(139,0,0,0.45);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(139,0,0,0.55);
}

.btn-ghost {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.1s ease-out, border-color 0.1s ease-out;
}

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

.hero-mini {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-right {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229,231,235,0.9);
}

.hero-right h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--primary);
}

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

.mini-metric {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  background: var(--bg);
}

.tag-line {
  font-size: 11px;
  color: var(--text-muted);
}

.tag-line strong {
  color: var(--primary);
}

/* GENERIC SECTION */
.section {
  padding: 36px 20px 10px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title-area {
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--primary);
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
}

.fee-box {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148,163,184,0.8);
  background: linear-gradient(90deg, #fff7ed, #ffffff);
  font-size: 12px;
  color: var(--text-main);
}

.fee-box strong {
  color: var(--primary);
}

/* TABLE */
.comparison-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  margin-top: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(229,231,235,0.9);
  text-align: left;
}

th {
  background: rgba(139, 0, 0, 0.94);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: #f9fafb;
}

.label-good {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(22,163,74,0.1);
  color: #15803d;
  font-weight: 500;
}

/* TOOLS */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.tool-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.tool-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--primary);
}

.tool-icon {
  font-size: 18px;
  margin-bottom: 6px;
}

.tool-card ul {
  margin-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.tool-card li {
  margin-bottom: 5px;
}

/* FORM */
.form-section {
  padding: 40px 20px 50px;
}

.form-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

form {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229,231,235,0.9);
}

form label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

form input,
form select,
form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(209,213,219,0.9);
  margin-bottom: 11px;
  outline: none;
  transition: border 0.15s ease-out, box-shadow 0.15s ease-out;
  background: #f9fafb;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(139, 0, 0, 0.2);
  background: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.btn-submit {
  margin-top: 6px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(139,0,0,0.5);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(139,0,0,0.6);
}

.form-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.form-message-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-side {
  font-size: 13px;
  color: var(--text-muted);
}

.form-side h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.check-list {
  list-style: none;
  margin-top: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.check-icon {
  margin-top: 2px;
  font-size: 14px;
}

/* FOOTER */
footer {
  padding: 16px 20px 24px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
}

footer span {
  color: var(--primary);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .card-grid,
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-title {
    font-size: 26px;
  }
}

