/* ===== CARDS PAGE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --crimson: #C41230; --crimson-dark: #9B0E25; --crimson-light: #E8183A;
  --navy: #0A1628; --white: #FFFFFF; --off-white: #F8F8F8;
  --light-gray: #F2F3F5; --mid-gray: #8A8F99; --dark-gray: #3D3D3D;
  --gold: #C9A84C; --font-body: 'Inter', sans-serif; --font-display: 'Playfair Display', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--dark-gray); background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 96px 0; }

[data-scroll] { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-scroll].visible { opacity: 1; transform: translateY(0); }

.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 12px;
  position: relative; padding: 0 20px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; position: absolute; top: 50%; width: 28px; height: 1px; background: var(--crimson);
}
.section-eyebrow::before { right: 100%; margin-right: -16px; }
.section-eyebrow::after  { left: 100%; margin-left: -16px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-subtitle { font-size: 1rem; line-height: 1.7; color: var(--mid-gray); }

/* PAGE HERO */
.page-hero { position: relative; min-height: 540px; display: flex; align-items: center; padding-top: 72px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,22,40,0.94) 0%, rgba(10,22,40,0.7) 100%); }
.page-hero-container { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 60px 32px; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: rgba(255,255,255,0.8); }
.page-hero-container h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem); color: white; line-height: 1.1; margin-bottom: 14px; max-width: 560px; }
.page-hero-container h1 span { color: var(--crimson); }
.page-hero-container > p { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 460px; line-height: 1.7; margin-bottom: 40px; }

/* Hero Card Visual */
.hero-card-visual {
  display: flex; gap: 0; position: relative; height: 180px;
  margin-top: 16px; max-width: 480px;
}
.hero-card {
  width: 280px; height: 170px; border-radius: 16px;
  padding: 20px 22px; position: absolute;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-body); box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}
.hero-card:nth-child(1) { left: 0; top: 0; z-index: 3; }
.hero-card:nth-child(2) { left: 56px; top: 12px; z-index: 2; }
.hero-card:nth-child(3) { left: 112px; top: 24px; z-index: 1; }
.hero-card:hover { transform: translateY(-8px) !important; z-index: 10; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

.hero-card--red   { background: linear-gradient(135deg, #C41230, #7B0E1E); }
.hero-card--gold  { background: linear-gradient(135deg, #C9A84C, #8B6914); }
.hero-card--black { background: linear-gradient(135deg, #1a1a2e, #0d0d1a); border: 1px solid rgba(255,255,255,0.1); }

.card-chip { font-size: 1.1rem; color: rgba(255,255,255,0.7); }
.card-brand { font-size: 1.6rem; color: rgba(255,255,255,0.9); text-align: right; }
.card-number { font-size: 0.72rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); font-weight: 600; }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.card-bottom span { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 700; }

/* ===== CARDS COMPARE ===== */
.cards-section { background: var(--off-white); }
.cards-compare { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }

.card-product {
  flex: 1 1 calc(25% - 18px); min-width: 240px;
  background: white; border-radius: 20px;
  border: 1.5px solid rgba(0,0,0,0.07);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.35s ease; position: relative;
}
.card-product:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.card-product--featured { border-color: var(--gold); box-shadow: 0 8px 32px rgba(201,168,76,0.18); }
.card-product--black { background: var(--navy); border-color: rgba(255,255,255,0.1); }
.card-product--black .card-product-info h3,
.card-product--black .card-perks li { color: rgba(255,255,255,0.9); }
.card-product--black .card-tagline,
.card-product--black .card-perks li:not(.card-no) { color: rgba(255,255,255,0.6); }

.card-badge-top {
  position: absolute; top: 0; left: 0; right: 0; text-align: center;
  background: var(--gold); color: var(--navy); font-size: 0.68rem;
  font-weight: 800; padding: 5px; text-transform: uppercase; letter-spacing: 0.08em;
}

.card-product-visual {
  padding: 32px 24px 24px; display: flex; align-items: center; justify-content: center;
}
.card-visual--red   { background: linear-gradient(135deg, #C41230, #7B0E1E); }
.card-visual--gold  { background: linear-gradient(135deg, #C9A84C, #8B6914); padding-top: 44px; }
.card-visual--blue  { background: linear-gradient(135deg, #1e3a8a, #1e40af); }
.card-visual--black { background: linear-gradient(135deg, #111827, #0f172a); }

.mini-card {
  width: 160px; height: 100px; border-radius: 10px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25); padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg); transition: transform 0.35s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.card-product:hover .mini-card { transform: rotate(0deg) scale(1.05); }
.mini-card--gold  { background: rgba(255,255,255,0.2); }
.mini-card--blue  { background: rgba(255,255,255,0.12); }
.mini-card--black { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.mini-chip { width: 20px; height: 15px; background: rgba(255,215,0,0.6); border-radius: 3px; }
.mini-brand { text-align: right; font-size: 1.2rem; color: rgba(255,255,255,0.85); }
.mini-num { font-size: 0.62rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); font-weight: 600; }

.card-product-info { padding: 20px 22px 28px; flex: 1; display: flex; flex-direction: column; }
.card-type-label {
  display: inline-block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--crimson); background: rgba(196,18,48,0.08);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; width: fit-content;
}
.card-type-label--gold  { color: #8B6914; background: rgba(201,168,76,0.12); }
.card-type-label--blue  { color: #1e40af; background: rgba(30,64,175,0.1); }
.card-type-label--black { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

.card-product-info h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.card-tagline { font-size: 0.83rem; line-height: 1.55; color: var(--mid-gray); margin-bottom: 16px; }

.card-fee { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.fee-val { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.card-product--black .fee-val { color: white; }
.fee-period { font-size: 0.76rem; color: var(--mid-gray); line-height: 1.4; }

.card-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; flex: 1; }
.card-perks li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--dark-gray); line-height: 1.4; }
.card-perks li i { font-size: 0.75rem; margin-top: 2px; flex-shrink: 0; }
.card-perks li .fa-check-circle { color: #22c55e; }
.card-perks li .fa-times-circle { color: var(--mid-gray); }
.card-no { color: var(--mid-gray) !important; }

.btn-card-apply {
  display: block; text-align: center; padding: 12px 20px;
  background: var(--crimson); color: white; text-decoration: none;
  font-size: 0.88rem; font-weight: 700; border-radius: 8px;
  transition: all 0.3s; margin-top: auto;
}
.btn-card-apply:hover { background: var(--crimson-light); transform: translateY(-1px); box-shadow: 0 5px 18px rgba(196,18,48,0.4); }
.btn-card-apply--gold { background: var(--gold); color: #5a3e0a; }
.btn-card-apply--gold:hover { background: #e8cc78; box-shadow: 0 5px 18px rgba(201,168,76,0.4); }
.btn-card-apply--blue { background: #1e40af; color: white; }
.btn-card-apply--blue:hover { background: #1e3a8a; box-shadow: 0 5px 18px rgba(30,64,175,0.35); }
.btn-card-apply--black { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-card-apply--black:hover { background: rgba(255,255,255,0.18); }

/* ===== FEATURES GRID ===== */
.card-features-section { background: var(--navy); }
.card-features-section .section-eyebrow { color: var(--gold); }
.card-features-section .section-title { color: white; }
.card-features-section .section-subtitle { color: rgba(255,255,255,0.5); }

.features-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.feat-card {
  flex: 1 1 calc(33.333% - 14px); min-width: 240px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 28px 24px; transition: all 0.35s;
}
.feat-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); border-color: rgba(196,18,48,0.3); }
.feat-icon {
  width: 48px; height: 48px; background: rgba(196,18,48,0.15);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--crimson); margin-bottom: 16px;
  transition: all 0.3s;
}
.feat-card:hover .feat-icon { background: var(--crimson); color: white; transform: rotate(-8deg); }
.feat-card h4 { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 8px; }
.feat-card p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.55); }

/* ===== COMPARE TABLE ===== */
.compare-table-section { background: var(--off-white); }
.table-scroll-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.compare-table { width: 100%; border-collapse: collapse; background: white; font-size: 0.87rem; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.06); white-space: nowrap; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.compare-table thead th { background: var(--navy); color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 16px 18px; }
.compare-table thead th:first-child { color: rgba(255,255,255,0.6); }
.col-featured { background: rgba(201,168,76,0.06); border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); }
thead .col-featured { background: rgba(201,168,76,0.18); color: var(--gold) !important; }
.compare-table tbody tr:hover { background: rgba(196,18,48,0.02); }
.compare-table .fa-check { color: #22c55e; font-size: 0.9rem; }
.compare-table .fa-times { color: #ef4444; font-size: 0.9rem; }
.compare-table .green { color: #22c55e; }
.compare-table .red { color: #ef4444; }
.table-note { font-size: 0.76rem; color: var(--mid-gray); margin-top: 16px; text-align: center; line-height: 1.6; }

/* ===== CARD CTA ===== */
.card-cta { background: white; }
.card-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap; background: linear-gradient(135deg, var(--navy), #1a3a6e);
  border-radius: 20px; padding: 52px 48px;
}
.card-cta-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: white; margin-bottom: 10px; }
.card-cta-text p { font-size: 0.93rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 480px; }
.card-cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cta-crimson { padding: 14px 28px; background: var(--crimson); color: white; text-decoration: none; font-size: 0.9rem; font-weight: 700; border-radius: 8px; transition: all 0.3s; white-space: nowrap; }
.btn-cta-crimson:hover { background: var(--crimson-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,18,48,0.45); }
.btn-cta-ghost { padding: 14px 28px; border: 2px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; font-weight: 600; border-radius: 8px; transition: all 0.3s; white-space: nowrap; }
.btn-cta-ghost:hover { border-color: white; color: white; background: rgba(255,255,255,0.07); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) { .card-product { flex: 1 1 calc(50% - 12px); } }
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .container { padding: 0 20px; }
  .card-product { flex: 1 1 100%; }
  .feat-card { flex: 1 1 calc(50% - 10px); }
  .card-cta-inner { flex-direction: column; text-align: center; padding: 36px 28px; }
  .card-cta-btns { justify-content: center; }
  .hero-card { width: 220px; height: 138px; padding: 16px 18px; }
  .hero-card:nth-child(2) { left: 44px; }
  .hero-card:nth-child(3) { left: 88px; }
}
@media (max-width: 480px) {
  .feat-card { flex: 1 1 100%; }
  .hero-card-visual { display: none; }
}
