/* urbanOS Landing Page — Compiled CSS */
/* Aesthetic: Refined Minimal · Dark Forest Green + Mint */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #1A2E24;
  background: #F7FBFA;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }
em { font-style: italic; color: #52D9A4; font-family: 'Fraunces', Georgia, serif; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 300; line-height: 1.1; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: all .22s cubic-bezier(0.16,1,0.3,1);
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn--primary { background: #1B4332; color: #fff; border-color: #1B4332; }
.btn--primary:hover { background: #235C42; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(13,43,31,.1); }
.btn--outline { background: transparent; color: #1B4332; border-color: rgba(27,67,50,.3); }
.btn--outline:hover { border-color: #1B4332; background: rgba(27,67,50,.04); }
.btn--ghost { background: transparent; color: #4D6B5A; }
.btn--ghost:hover { color: #1B4332; }
.btn--gold { background: linear-gradient(135deg, #D4A853, #b8892e); color: #fff; border-color: transparent; }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,168,83,.35); }
.btn--sm { padding: 8px 18px; font-size: .82rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* --- SECTION TAGS --- */
.section-tag {
  display: inline-block; font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: #52D9A4; background: rgba(82,217,164,.1);
  border: 1px solid rgba(82,217,164,.25); border-radius: 100px;
  padding: 4px 12px; margin-bottom: 16px;
}
.section-tag--light {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.section-sub { color: #4D6B5A; font-size: 1rem; margin-top: 12px; }

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .34s; }
.reveal--delay-4 { transition-delay: .46s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s cubic-bezier(0.16,1,0.3,1);
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,122,86,.12);
  box-shadow: 0 2px 8px rgba(13,43,31,.06);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px; padding: 12px 5%;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', system-ui; font-size: 1.1rem;
  color: #1A2E24; font-weight: 300; flex-shrink: 0;
}
.nav__logo strong { font-weight: 600; }
.nav__logo--light { color: rgba(255,255,255,.8); }
.nav__logo--light strong { color: #fff; }
.nav__logo-img {
  height: 36px; width: auto; display: block;
  /* Logo has dark text — works on light bg. On dark footer, invert */
}
.nav__logo-img--footer {
  height: 40px;
  filter: brightness(0) invert(1) opacity(.85);
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: .875rem; color: #4D6B5A; transition: color .2s; }
.nav__links a:hover { color: #1B4332; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: #1A2E24; border-radius: 2px; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 96px 5% 64px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 84px; padding-bottom: 48px; text-align: center; min-height: auto; }
  .hero__visual { display: none; }
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25; }
.hero__orb--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #52D9A4 0%, transparent 70%);
  top: -120px; right: -80px;
}
.hero__orb--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #4a9e72 0%, transparent 70%);
  bottom: 60px; left: -60px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(82,217,164,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(82,217,164,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 70%);
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: #4D6B5A; background: rgba(255,255,255,.7);
  border: 1px solid rgba(45,122,86,.12); border-radius: 100px;
  padding: 5px 13px; margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #52D9A4;
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300; color: #1A2E24;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.hero__sub {
  font-size: 1rem; color: #4D6B5A; line-height: 1.65;
  max-width: 460px; margin-bottom: 28px;
}
@media (max-width: 900px) { .hero__sub { margin: 0 auto 28px; } }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
@media (max-width: 900px) { .hero__actions { justify-content: center; } }
.hero__stats { display: flex; align-items: center; gap: 28px; }
@media (max-width: 900px) { .hero__stats { justify-content: center; } }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 600; color: #1B4332; }
.stat__label { font-size: .72rem; color: #4D6B5A; letter-spacing: .04em; text-transform: uppercase; }
.stat__divider { width: 1px; height: 36px; background: rgba(45,122,86,.12); }

@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

/* Dashboard Mockup */
.dashboard-mockup {
  background: #fff; border-radius: 22px;
  border: 1px solid rgba(45,122,86,.12);
  box-shadow: 0 24px 60px rgba(13,43,31,.14);
  overflow: hidden; position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.dashboard-mockup:hover { transform: perspective(1000px) rotateY(-1deg) rotateX(1deg); }
.dm__bar {
  background: #F0F4F2; padding: 10px 16px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(45,122,86,.12);
}
.dm__bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #DCDCDC;
}
.dm__bar span:nth-child(1) { background: #FF6058; }
.dm__bar span:nth-child(2) { background: #FFBD2E; }
.dm__bar span:nth-child(3) { background: #27C93F; }
.dm__title {
  font-size: .68rem; color: #4D6B5A; margin-left: 8px;
  background: none !important; width: auto !important; height: auto !important; border-radius: 0 !important;
}
.dm__body { display: flex; height: 320px; }
.dm__sidebar { width: 140px; background: #0D2B1F; padding: 20px 0; flex-shrink: 0; }
.dm__nav-item { padding: 9px 16px; font-size: .72rem; color: rgba(255,255,255,.5); cursor: pointer; }
.dm__nav-item--active { color: #fff; background: rgba(82,217,164,.15); border-left: 3px solid #52D9A4; }
.dm__main { flex: 1; padding: 20px; overflow: hidden; }
.dm__greeting { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 300; color: #1A2E24; margin-bottom: 14px; }
.dm__card--balance {
  background: linear-gradient(135deg, #1B4332, #235C42);
  border-radius: 14px; padding: 16px; color: #fff; margin-bottom: 14px;
}
.dm__label { font-size: .65rem; opacity: .7; display: block; margin-bottom: 4px; }
.dm__amount { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; display: block; margin-bottom: 8px; }
.dm__badge { font-size: .6rem; background: rgba(212,168,83,.25); color: #F5E4B0; border-radius: 100px; padding: 2px 8px; }
.dm__paybtn {
  margin-top: 10px; background: #52D9A4; color: #0D2B1F;
  font-size: .68rem; font-weight: 600; padding: 6px 14px;
  border-radius: 8px; display: inline-block;
}
.dm__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.dm__metric { background: #F7FBFA; border-radius: 8px; padding: 10px; }
.dm__metric-val { font-family: 'Fraunces', serif; font-size: .9rem; font-weight: 600; display: block; color: #1B4332; }
.dm__metric-lbl { font-size: .58rem; color: #4D6B5A; display: block; margin-top: 2px; }
.dm__metric--warn .dm__metric-val { color: #b8892e; }
.dm__ai-pill {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(13,43,31,.9); color: #A7F0D1;
  font-size: .65rem; padding: 6px 12px; border-radius: 100px;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
  animation: float-pill 3s ease-in-out infinite;
}
@keyframes float-pill { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 80px 0; background: #fff; }
.features__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 22px; border-radius: 14px;
  border: 1px solid rgba(45,122,86,.12); background: #F7FBFA;
  transition: all .28s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #52D9A4, transparent);
  opacity: 0; transition: opacity .28s;
}
.feature-card:hover { border-color: rgba(82,217,164,.3); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(13,43,31,.1); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 38px; height: 38px; background: rgba(27,67,50,.06);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: #1B4332; margin-bottom: 13px; transition: all .28s;
}
.feature-card:hover .feature-card__icon { background: rgba(82,217,164,.12); }
.feature-card h3 { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 10px; color: #1A2E24; }
.feature-card p { font-size: .85rem; color: #4D6B5A; line-height: 1.65; }

.feature-card--ai {
  background: linear-gradient(135deg, rgba(13,43,31,.96), rgba(27,67,50,.96));
  border-color: rgba(82,217,164,.2); color: #fff;
}
.feature-card--ai .feature-card__icon { background: rgba(82,217,164,.15); color: #52D9A4; }
.feature-card--ai h3 { color: #fff; }
.feature-card--ai p { color: rgba(255,255,255,.65); }
.feature-card--ai:hover { border-color: rgba(82,217,164,.45); }
.feature-card--ai:hover::before { background: linear-gradient(90deg, #52D9A4, rgba(82,217,164,.3)); opacity: 1; }
.feature-card__ai-tag {
  font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #52D9A4; background: rgba(82,217,164,.12);
  border: 1px solid rgba(82,217,164,.25); border-radius: 100px;
  padding: 3px 10px; display: inline-block; margin-bottom: 14px;
}

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  padding: 80px 0; background: #0D2B1F;
  position: relative; overflow: hidden;
}
.ai-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,217,164,.08) 0%, transparent 70%);
  pointer-events: none;
}
.ai-section__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 900px) { .ai-section__inner { grid-template-columns: 1fr; gap: 36px; } }
.ai-section__content h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff; margin-bottom: 14px; }
.ai-section__content h2 em { color: #52D9A4; }
.ai-section__content p { font-size: .95rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 24px; }
.ai-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ai-features li { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: rgba(255,255,255,.75); }
.ai-features li svg { flex-shrink: 0; }

.ai-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 28px; backdrop-filter: blur(8px);
}
.ai-card__header {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 24px;
}
.ai-card__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #52D9A4;
  box-shadow: 0 0 0 0 rgba(82,217,164,.4);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(82,217,164,.4); }
  70% { box-shadow: 0 0 0 8px rgba(82,217,164,0); }
  100% { box-shadow: 0 0 0 0 rgba(82,217,164,0); }
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 10px;
  height: 120px; margin-bottom: 16px;
}
.bar {
  flex: 1; background: rgba(82,217,164,.25); border-radius: 4px 4px 0 0;
  height: var(--h); position: relative;
  transition: all .4s cubic-bezier(0.16,1,0.3,1);
  display: flex; align-items: flex-end; justify-content: center;
}
.bar span { font-size: .58rem; color: rgba(255,255,255,.4); transform: translateY(16px); }
.bar:hover { background: rgba(82,217,164,.45); }
.bar--warn { background: rgba(212,168,83,.35); }
.bar--predict {
  background: repeating-linear-gradient(45deg, rgba(82,217,164,.15), rgba(82,217,164,.15) 3px, transparent 3px, transparent 7px);
  border: 1px dashed rgba(82,217,164,.3);
}
.chart-legend { display: flex; align-items: center; gap: 16px; font-size: .68rem; color: rgba(255,255,255,.4); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.legend-dot--real { background: rgba(82,217,164,.4); }
.legend-dot--predict {
  background: repeating-linear-gradient(45deg, rgba(82,217,164,.4), rgba(82,217,164,.4) 2px, transparent 2px, transparent 5px);
  border: 1px dashed rgba(82,217,164,.4);
}
.ai-alert {
  display: flex; align-items: center; gap: 10px;
  background: rgba(212,168,83,.08); border: 1px solid rgba(212,168,83,.2);
  border-radius: 8px; padding: 10px 14px; font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 14px;
}
.ai-alert--green { background: rgba(82,217,164,.07); border-color: rgba(82,217,164,.2); }

/* ============================================================
   PLANS
   ============================================================ */
.plans { padding: 80px 0; background: #F7FBFA; }
.plans__toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.plans__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .plans__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.plans__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: #4D6B5A; margin-top: 28px; }

.toggle {
  width: 44px; height: 24px; background: rgba(45,122,86,.12);
  border: none; border-radius: 100px; cursor: pointer;
  position: relative; transition: background .25s;
}
.toggle[aria-pressed="true"] { background: #1B4332; }
.toggle[aria-pressed="true"] .toggle__knob { transform: translateX(20px); }
.toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(13,43,31,.06);
  transition: transform .25s cubic-bezier(0.16,1,0.3,1);
}
.toggle__label { font-size: .85rem; color: #4D6B5A; }
.toggle__save {
  font-style: normal; font-size: .7rem; font-weight: 600; color: #52D9A4;
  background: rgba(82,217,164,.12); border-radius: 100px; padding: 1px 8px; margin-left: 4px;
}

.plan-card {
  background: #fff; border: 1.5px solid rgba(45,122,86,.12);
  border-radius: 18px; padding: 24px; position: relative;
  transition: all .28s cubic-bezier(0.16,1,0.3,1);
}
.plan-card:hover { box-shadow: 0 8px 32px rgba(13,43,31,.1); transform: translateY(-3px); }
.plan-card--popular { border-color: #1B4332; box-shadow: 0 8px 32px rgba(13,43,31,.1); transform: translateY(-8px); }
.plan-card--popular:hover { transform: translateY(-12px); box-shadow: 0 24px 60px rgba(13,43,31,.14); }
@media (max-width: 900px) {
  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-3px); }
}
.plan-card--gold { background: linear-gradient(160deg, #fdf6e3, #fff 40%); border-color: rgba(212,168,83,.35); }
.plan-card__popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #1B4332; color: #fff; font-size: .65rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px; border-radius: 100px;
}
.plan-card__tier {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-block; padding: 3px 10px; border-radius: 100px;
}
.plan-card__tier--bronze { background: rgba(193,125,74,.1); color: #C17D4A; }
.plan-card__tier--silver { background: rgba(142,175,193,.12); color: #5a8a9e; }
.plan-card__tier--gold   { background: rgba(212,168,83,.15); color: #b8892e; }
.plan-card__price { display: flex; align-items: flex-start; gap: 2px; margin-bottom: 8px; }
.plan-card__currency { font-size: 1rem; color: #4D6B5A; margin-top: 6px; }
.plan-card__amount { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 600; color: #1A2E24; line-height: 1; }
.plan-card__price-right {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 2px; margin-left: 4px; align-self: flex-end;
}
.plan-card__cop {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  color: #4D6B5A; text-transform: uppercase; line-height: 1.2;
}
.plan-card__period { font-size: .68rem; color: #4D6B5A; line-height: 1.3; }
.plan-card__desc {
  font-size: .83rem; color: #4D6B5A; line-height: 1.55;
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(45,122,86,.12);
}
.plan-card__features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.plan-card__features li {
  display: flex; align-items: center; gap: 9px; font-size: .81rem; color: #4D6B5A;
}
.plan-card__features li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
}
.plan-card__features li.yes {
  color: #1A2E24;
}
.plan-card__features li.yes::before {
  background: rgba(82,217,164,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-7' stroke='%2352D9A4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-card__features li.no { opacity: .4; text-decoration: line-through; }
.plan-card__features li.no::before {
  background: rgba(77,107,90,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%234D6B5A' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan-card__features li.ai-feat::before {
  background: rgba(212,168,83,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-7' stroke='%23D4A853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 80px 0; background: #fff; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.testimonial {
  background: #F7FBFA; border: 1px solid rgba(45,122,86,.12);
  border-radius: 18px; padding: 24px; transition: all .28s cubic-bezier(0.16,1,0.3,1);
}
.testimonial:hover { border-color: rgba(82,217,164,.3); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(13,43,31,.1); }
.testimonial__stars { color: #D4A853; font-size: .9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { font-size: .87rem; line-height: 1.65; color: #4D6B5A; margin-bottom: 20px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__author strong { display: block; font-size: .85rem; color: #1A2E24; }
.testimonial__author span { font-size: .73rem; color: #4D6B5A; }
.testimonial__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1B4332, #2D7A56);
  color: #fff; font-size: .72rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 80px 0; background: #0D2B1F; position: relative; overflow: hidden; }
.cta-section::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,217,164,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: 36px; } }
.cta-inner__content h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff; margin-bottom: 12px; }
.cta-inner__content h2 em { color: #52D9A4; }
.cta-inner__content p { font-size: .95rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.cta-inner__form { display: flex; flex-direction: column; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .76rem; color: rgba(255,255,255,.6); font-weight: 500; }
.form-group input, .form-group select {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 10px 14px;
  font-family: 'DM Sans', sans-serif; font-size: .88rem; color: #fff; transition: all .2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #52D9A4;
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(82,217,164,.15);
}
.form-group select option { background: #0D2B1F; color: #fff; }
.form-note { font-size: .73rem; color: rgba(255,255,255,.35); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0a2218; padding: 48px 0 28px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; margin-bottom: 36px; align-items: start; }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer__links { display: flex; gap: 48px; }
@media (max-width: 560px) { .footer__links { gap: 28px; } }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px;
}
.footer__col a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer__col a:hover { color: rgba(255,255,255,.9); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: .75rem; color: rgba(255,255,255,.25);
}
@media (max-width: 560px) { .footer__bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ============================================================
   STYLE IMPROVEMENTS
   ============================================================ */

/* 1. Keyboard focus rings — accessible & on-brand */
.btn:focus-visible {
  outline: 2px solid #52D9A4;
  outline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid #52D9A4;
  outline-offset: 2px;
  border-radius: 4px;
}
input:focus-visible, select:focus-visible { outline: none; }

/* 2. Nav active link subtle underline */
.nav__links a {
  position: relative; padding-bottom: 2px;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: #1B4332; transform: scaleX(0);
  transform-origin: left; transition: transform .2s cubic-bezier(0.16,1,0.3,1);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* 3. Hero badge centered on mobile */
@media (max-width: 900px) {
  .hero__badge { display: inline-flex; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { text-align: center; }
}

/* 4. Sections with alternating bg get a subtle divider instead of abrupt cut */
.features, .testimonials {
  border-top: 1px solid rgba(45,122,86,.07);
  border-bottom: 1px solid rgba(45,122,86,.07);
}

/* 5. Feature card icon gets mint tint on dark card hover */
.feature-card--ai:hover .feature-card__icon {
  background: rgba(82,217,164,.22);
}

/* 6. Plan card savings chip shown next to annual price */
.plan-card__savings {
  display: inline-block; font-size: .65rem; font-weight: 700;
  color: #52D9A4; background: rgba(82,217,164,.1);
  border: 1px solid rgba(82,217,164,.25); border-radius: 100px;
  padding: 2px 8px; margin-left: 6px; vertical-align: middle;
  opacity: 0; transform: scale(.8);
  transition: opacity .2s, transform .2s;
}
.annual-active .plan-card__savings {
  opacity: 1; transform: scale(1);
}

/* 7. Gold plan — slightly warmer headings for the amber feel */
.plan-card--gold .plan-card__amount { color: #3d2800; }
.plan-card--gold .plan-card__currency { color: #7a5c1e; }
.plan-card--gold .plan-card__cop { color: #7a5c1e; }
.plan-card--gold .plan-card__period { color: #7a5c1e; }

/* 8. Testimonial quote mark decoration */
.testimonial { position: relative; }
.testimonial::before {
  content: '\201C';
  font-family: 'Fraunces', Georgia, serif;
  font-size: 5rem; line-height: 1;
  color: rgba(82,217,164,.12);
  position: absolute; top: 16px; right: 20px;
  pointer-events: none; user-select: none;
}

/* 9. CTA button inner glow on hover */
.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(27,67,50,.25), inset 0 1px 0 rgba(255,255,255,.08);
}

/* 10. Better mobile nav menu animation */
.nav__links--open {
  display: flex !important;
  flex-direction: column;
  position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(247,251,250,.97);
  backdrop-filter: blur(20px);
  padding: 24px 5% 32px;
  gap: 20px;
  border-bottom: 1px solid rgba(45,122,86,.1);
  z-index: 99;
  animation: slideDown .25s cubic-bezier(0.16,1,0.3,1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 11. Smoother hero mockup 3D on mobile — disable tilt */
@media (max-width: 900px) {
  .dashboard-mockup { transform: none !important; }
}

/* 12. plans__grid on mid-size: 2 col + gold full width */
@media (min-width: 560px) and (max-width: 900px) {
  .plans__grid { grid-template-columns: 1fr 1fr; max-width: 720px; margin: 0 auto; }
  .plan-card--gold { grid-column: 1 / -1; max-width: 380px; margin: 0 auto; }
}

/* 13. Slightly larger line-height for plan desc readability */
.plan-card__desc { line-height: 1.65; }

/* 14. ai-section tag on mobile  */
@media (max-width: 900px) {
  .ai-section__content { text-align: center; }
  .ai-features li { justify-content: center; }
  .ai-section__content .btn { margin: 0 auto; }
}