/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---------- PALETTE – Azure & Ice ---------- */
  --t-page:      #f2f7fc;          /* ice background */
  --t-soft:      #e4eef8;          /* soft panel */
  --t-white:     #ffffff;          /* card white */
  --t-azure:     #1a82d9;          /* azure – main accent (logo) */
  --t-azure-dk:  #0f5ea6;          /* deep azure */
  --t-amber:     #f59e0b;          /* amber – CTA / highlights */
  --t-money:     #15803d;          /* money green for bonus text */
  --t-ink:       #22374a;          /* dark slate text */
  --t-mute:      #5c7a89;          /* muted text */
  --t-line:      #d3e2f0;          /* borders */

  /* ---------- TYPOGRAPHY ---------- */
  --fnt-body:  'Karla', 'Segoe UI', Arial, sans-serif;
  --fnt-head:  'Outfit', var(--fnt-body);

  /* ---------- LAYOUT ---------- */
  --corner:  14px;
  --site-w:  1160px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--fnt-body);
  background: var(--t-page);
  color: var(--t-ink);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--t-azure); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--t-azure-dk); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.shell { width: 93%; max-width: var(--site-w); margin: 0 auto; }

/* ===== HEADER ===== */
.hdr {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--t-azure);
  padding: .85rem 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 20px rgba(26, 130, 217, 0.10);
}
.hdr .shell {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.hdr-brand {
  font-family: var(--fnt-head);
  font-size: 1.22rem; font-weight: 700;
  color: var(--t-ink);
  display: flex; align-items: center; gap: .6rem;
}
.hdr-brand:hover { text-decoration: none; color: var(--t-azure); }
.hdr-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(26, 130, 217, 0.25);
}

.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  color: var(--t-ink); font-weight: 700; font-size: .88rem;
  transition: color .2s;
  padding: .3rem 0;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover, .nav-links a.now {
  color: var(--t-azure); text-decoration: none;
  border-bottom-color: var(--t-amber);
}

.nav-btn { display: none; background: none; border: none; color: var(--t-ink); font-size: 1.5rem; cursor: pointer; }

/* ===== PATH BAR ===== */
.path-bar {
  padding: .7rem 0; font-size: .8rem; color: #64809b;
  border-bottom: 1px solid var(--t-line);
  background: var(--t-white);
}
.path-bar a { color: #64809b; }
.path-bar span { color: var(--t-azure); font-weight: 700; }

/* ===== HERO ===== */
.hero-zone {
  padding: 3.75rem 0 2.75rem;
  text-align: center;
  background: linear-gradient(180deg, var(--t-white) 0%, var(--t-page) 100%);
  border-bottom: 1px solid var(--t-line);
  position: relative;
  overflow: hidden;
}
.hero-zone::before, .hero-zone::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}
.hero-zone::before {
  background: rgba(26, 130, 217, 0.16);
  top: -230px; left: 6%;
  animation: blob-l 17s ease-in-out infinite alternate;
}
.hero-zone::after {
  background: rgba(245, 158, 11, 0.13);
  top: -170px; right: 3%;
  animation: blob-r 21s ease-in-out infinite alternate;
}
@keyframes blob-l {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, 55px) scale(1.12); }
}
@keyframes blob-r {
  from { transform: translate(0, 0) scale(1.08); }
  to   { transform: translate(-100px, 35px) scale(0.94); }
}
.hero-zone .shell { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  font-size: .76rem; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--t-azure-dk);
  background: rgba(26, 130, 217, 0.10);
  border: 1px solid rgba(26, 130, 217, 0.28);
  border-radius: 8px;
  padding: .32rem 1rem;
  margin-bottom: 1.1rem;
}
.hero-zone h1 {
  font-family: var(--fnt-head);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--t-ink);
  margin-bottom: 1rem;
  line-height: 1.22;
}
.hero-zone h1 em { color: var(--t-azure); font-style: normal; }
.hero-lead {
  max-width: 730px; margin: 0 auto;
  font-size: 1rem; color: #4e6982;
}

/* ===== FEATURE STRIP ===== */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.4rem 0;
  margin: 1.3rem auto;
}
.strip-item {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  font-size: .86rem; font-weight: 700; color: #4e6982;
  background: var(--t-white); border-radius: var(--corner); padding: .9rem .5rem;
  border: 1px solid var(--t-line);
  box-shadow: 0 2px 10px rgba(34, 55, 74, 0.05);
  transition: border-color .3s, box-shadow .3s;
}
.strip-item:hover { border-color: var(--t-azure); box-shadow: 0 6px 18px rgba(26, 130, 217, 0.15); }
.strip-item .s-ico { font-size: 1.25rem; }
.strip-item .s-ico.blue { color: var(--t-azure); }
.strip-item .s-ico.amber { color: var(--t-amber); }

/* ===== DEAL CARDS ===== */
.deal-list { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.25rem 0; }

.deal-card {
  background: var(--t-white);
  border-radius: var(--corner);
  padding: 1.6rem 1.9rem;
  display: grid;
  grid-template-columns: 145px 1fr 205px;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--t-line);
  border-top: 4px solid var(--t-azure);
  box-shadow: 0 4px 18px rgba(34, 55, 74, 0.06);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
}
.deal-card:hover {
  border-color: var(--t-azure);
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(26, 130, 217, 0.16);
}

/* animated gradient border sweep on hover */
.deal-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 20%, rgba(26, 130, 217, 0.85) 50%, transparent 80%);
  background-size: 250% 250%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.deal-card:hover::after {
  opacity: 1;
  animation: sweep-line 2.4s linear infinite;
}
@keyframes sweep-line {
  from { background-position: 0% 50%; }
  to   { background-position: 250% 50%; }
}

.deal-card .flag {
  position: absolute; top: -13px; left: 1.4rem;
  background: linear-gradient(135deg, var(--t-amber) 0%, #d97706 100%);
  color: #fff; font-size: .72rem; font-weight: 800;
  padding: 4px 13px; border-radius: 7px;
  letter-spacing: .4px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  animation: flag-glow 3s ease-in-out infinite;
}
@keyframes flag-glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(245, 158, 11, 0.30); }
  50%      { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55); }
}

.deal-brand {
  display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center;
}
.deal-brand .logo-round {
  width: 102px; height: 102px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--t-line);
  overflow: hidden;
  background: #0a1622;
  box-shadow: 0 4px 14px rgba(34, 55, 74, 0.12);
}
.deal-brand h3 { font-family: var(--fnt-head); font-size: 1.05rem; color: var(--t-ink); }
.deal-brand .stars-line { color: var(--t-amber); font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.deal-brand .rate-chip {
  background: var(--t-azure);
  color: #fff;
  font-weight: 800; font-size: .78rem;
  padding: 1px 9px; border-radius: 20px;
}

.deal-body { display: flex; flex-direction: column; gap: .65rem; }
.deal-body .promo-line {
  font-size: 1.05rem; font-weight: 800; color: var(--t-money);
  padding: .45rem .85rem; background: rgba(21, 128, 61, 0.07);
  border-radius: 9px;
  border-left: 4px solid var(--t-money);
  display: inline-block;
}
.deal-body .spec-row { font-size: .82rem; color: #5b7690; }
.deal-body .spec-row b { color: var(--t-ink); }
.deal-body .cat-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.deal-body .cat-chip {
  background: rgba(26, 130, 217, 0.08); padding: 3px 11px; border-radius: 7px;
  font-size: .72rem; font-weight: 700; color: var(--t-azure-dk);
  border: 1px solid rgba(26, 130, 217, 0.18);
}
.deal-body .pm-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.deal-body .pm-chip {
  background: var(--t-soft); padding: 3px 9px; border-radius: 5px;
  font-size: .67rem; font-weight: 500; color: var(--t-ink);
  border: 1px solid var(--t-line);
}
.deal-body .pm-chip:first-child {
  background: rgba(26, 130, 217, 0.12);
  border-color: rgba(26, 130, 217, 0.35);
  color: var(--t-azure-dk);
  font-weight: 800;
}

.deal-go {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.go-btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 10px;
  font-weight: 800; font-size: .94rem; text-align: center; cursor: pointer;
  transition: filter .2s, transform .15s, box-shadow .2s; border: none; width: 100%;
}
.go-btn:hover { filter: brightness(1.08); transform: translateY(-2px); text-decoration: none; }
.go-btn--hot {
  background: linear-gradient(135deg, var(--t-azure) 0%, var(--t-azure-dk) 100%);
  color: #fff;
  animation: go-pulse 2.8s ease-in-out infinite;
}
.go-btn--hot:hover { color: #fff; box-shadow: 0 8px 26px rgba(26, 130, 217, 0.45); }
@keyframes go-pulse {
  0%, 100% { box-shadow: 0 5px 18px rgba(26, 130, 217, 0.30); }
  50%      { box-shadow: 0 5px 30px rgba(26, 130, 217, 0.55); }
}
.deal-go .go-note { font-size: .76rem; color: #64809b; }

/* ===== ARTICLE ZONES ===== */
.article-zone { padding: 3rem 0; }
.article-zone h2 {
  font-family: var(--fnt-head);
  font-size: 1.45rem; color: var(--t-ink);
  margin-bottom: 1rem;
  padding-left: .85rem;
  border-left: 5px solid var(--t-azure);
}
.article-zone h2:not(:first-child) { margin-top: 2.25rem; }
.article-zone p { margin-bottom: 1rem; color: #44607a; }
.article-zone ul { margin-bottom: 1.5rem; }
.article-zone ul li {
  padding: .35rem 0 .35rem 1.35rem; position: relative; color: #44607a;
}
.article-zone ul li::before {
  content: ''; position: absolute; left: 0; top: .72rem;
  width: 8px; height: 8px; border-radius: 2px; background: var(--t-azure);
  transform: rotate(45deg);
}
.article-zone ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.article-zone ol li { padding: .3rem 0; color: #44607a; list-style: decimal; }
.article-zone blockquote {
  background: rgba(245, 158, 11, 0.08); border-left: 5px solid var(--t-amber);
  padding: 1rem 1.25rem; border-radius: 0 var(--corner) var(--corner) 0;
  margin: 1.25rem 0; font-size: .92rem;
  color: #44607a;
}
.article-zone h3 { color: var(--t-ink); font-size: 1.02rem; margin: 1rem 0 .4rem; }
.article-zone hr { border: none; border-top: 1px solid var(--t-line); margin: 2rem 0 1rem; }

.fact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 1.5rem;
}
.fact-card {
  background: var(--t-white); border-radius: var(--corner); padding: 1.6rem;
  border: 1px solid var(--t-line);
  border-bottom: 4px solid var(--t-azure);
  box-shadow: 0 4px 14px rgba(34, 55, 74, 0.05);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.fact-card:hover {
  border-color: var(--t-azure); transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(26, 130, 217, 0.14);
}
.fact-card h3 { color: var(--t-azure-dk); margin: 0 0 .5rem; font-size: 1rem; font-family: var(--fnt-head); }
.fact-card p { font-size: .87rem; margin: 0; color: #44607a; }

/* ===== FOOTER ===== */
.site-footer {
  background: #12293d;
  color: #b6cbdd;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem; border-top: 4px solid var(--t-azure);
}
.foot-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.site-footer h4 { color: #7cc0f2; margin-bottom: .8rem; font-family: var(--fnt-head); }
.site-footer ul li { margin-bottom: .45rem; }
.site-footer ul a { color: #b6cbdd; font-size: .87rem; }
.site-footer ul a:hover { color: #7cc0f2; }
.foot-line {
  text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(124, 192, 242, 0.18);
  font-size: .78rem; color: #8ba7bf;
}
.foot-fine {
  max-width: 820px; margin: 0 auto .75rem; font-size: .72rem;
}

/* ===== ERROR PAGE ===== */
.oops-page {
  min-height: 60vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1rem;
}
.oops-page .oops-code {
  font-family: var(--fnt-head);
  font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800;
  color: var(--t-azure); line-height: 1;
  text-shadow: 0 10px 40px rgba(26, 130, 217, 0.35);
  animation: oops-float 4s ease-in-out infinite;
}
@keyframes oops-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.oops-page h1 { font-family: var(--fnt-head); color: var(--t-ink); font-size: 1.6rem; margin: 1rem 0 .5rem; }
.oops-page p { color: #44607a; max-width: 480px; margin-bottom: 1.75rem; }
.oops-page .go-btn { width: auto; padding: .85rem 2.4rem; }

/* ===== SCROLL REVEAL ===== */
.an:not(.on) {
  opacity: 0;
  transform: translateX(-28px);
}
.an {
  transition: opacity .55s cubic-bezier(.22,.75,.35,1), transform .55s cubic-bezier(.22,.75,.35,1),
              border-color .3s, box-shadow .3s;
}
.deal-card.on .rate-chip {
  animation: chip-pop .5s cubic-bezier(.3,1.6,.5,1) .3s backwards;
}
@keyframes chip-pop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .an:not(.on) { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .deal-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }
  .deal-brand { flex-direction: row; justify-content: center; }
  .deal-body .cat-chips, .deal-body .pm-row { justify-content: center; }
  .deal-body .promo-line { display: block; }
  .deal-go { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .go-btn { width: auto; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; width: 100%; }
  .nav-btn { display: block; }
  .hero-zone h1 { font-size: 1.4rem; }
  .feature-strip { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .deal-card { padding: 1.4rem 1.1rem; }
}
