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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f2f5;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ─────────────────────────────────────────── */
.aw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* =========================================================
   NAVBAR
   ========================================================= */
.aw-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.aw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

.aw-logo-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.aw-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.aw-logo-text span {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.02em;
  line-height: 1;
}

.aw-logo-text strong { color: #1a56db; font-weight: 700; }

.aw-logo-text small {
  font-size: 0.625rem;
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.aw-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  background: #fbbf24;
  border-radius: 8px;
  padding: 8px 16px;
  transition: background 0.15s ease;
}

.aw-nav-cta:hover { background: #f59e0b; }

.aw-nav-free {
  font-size: 0.625rem;
  font-weight: 800;
  color: #111827;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px 5px;
  letter-spacing: 0.05em;
}


/* =========================================================
   HERO
   ========================================================= */
.aw-hero {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 42px 0 0px;
}

.aw-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #1a56db;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.aw-hero-eyebrow svg {
  width: 13px;
  height: 13px;
}

.aw-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.aw-hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  max-width: 600px;
}


/* =========================================================
   MAIN CONTENT WRAPPER
   ========================================================= */
.aw-main {
  padding: 36px 0 60px;
}

.aw-main > .aw-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* =========================================================
   POINTS EXCHANGE RATE SECTION
   ========================================================= */
.aw-points-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.aw-points-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.aw-points-title svg {
  width: 16px;
  height: 16px;
  color: #1a56db;
  flex-shrink: 0;
}

.aw-rate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Rate card */
.aw-rate-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.aw-rate-card-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

.aw-rate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
}

.aw-rate-badge svg {
  width: 13px;
  height: 13px;
}

.aw-rate-badge--green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.aw-rate-badge--blue {
  background: #eff6ff;
  color: #1a56db;
  border: 1px solid #bfdbfe;
}

.aw-rate-rows {
  padding: 4px 0;
}

.aw-rate-row {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid #f9fafb;
  gap: 8px;
}

.aw-rate-row:last-child { border-bottom: none; }

.aw-rate-from {
  font-size: 0.78125rem;
  color: #6b7280;
  flex: 1;
}

.aw-rate-eq {
  font-size: 0.78125rem;
  color: #d1d5db;
  font-weight: 500;
}

.aw-rate-to {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  flex: 1;
  text-align: right;
}

/* Info note inside grid */
.aw-rate-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
}

.aw-rate-info svg {
  width: 15px;
  height: 15px;
  color: #1a56db;
  flex-shrink: 0;
  margin-top: 1px;
}

.aw-rate-info p {
  font-size: 0.78125rem;
  color: #374151;
  line-height: 1.6;
}


/* =========================================================
   AD SECTION — shared structure
   ========================================================= */
.aw-ad-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--aw-accent, #1a56db);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Color themes via CSS custom properties */
.aw-ad--blue  { --aw-accent: #1a56db; --aw-light: #eff6ff; --aw-border: #bfdbfe; --aw-text: #1e40af; }
.aw-ad--red   { --aw-accent: #dc2626; --aw-light: #fef2f2; --aw-border: #fecaca; --aw-text: #991b1b; }
.aw-ad--green { --aw-accent: #059669; --aw-light: #ecfdf5; --aw-border: #a7f3d0; --aw-text: #065f46; }
.aw-ad--violet{ --aw-accent: #7c3aed; --aw-light: #f5f3ff; --aw-border: #ddd6fe; --aw-text: #5b21b6; }
.aw-ad--amber { --aw-accent: #d97706; --aw-light: #fffbeb; --aw-border: #fde68a; --aw-text: #92400e; }
.aw-ad--teal  { --aw-accent: #0d9488; --aw-light: #f0fdfa; --aw-border: #99f6e4; --aw-text: #134e4a; }
.aw-ad--indigo{ --aw-accent: #4338ca; --aw-light: #eef2ff; --aw-border: #c7d2fe; --aw-text: #3730a3; }

/* ── Section header ─────────────────────────────────────── */
.aw-ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 18px;
  flex-wrap: wrap;
}

.aw-ad-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

/* Icon badge */
.aw-ad-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--aw-light);
  border: 1px solid var(--aw-border);
  color: var(--aw-accent);
  flex-shrink: 0;
}

.aw-ad-icon svg {
  width: 22px;
  height: 22px;
}

/* Title */
.aw-ad-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aw-ad-sub-label {
  font-size: 0.78125rem;
  font-weight: 400;
  color: #6b7280;
}

.aw-ad-desc {
  font-size: 0.78125rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Action chips */
.aw-ad-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.aw-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--aw-text);
  background: var(--aw-light);
  border: 1px solid var(--aw-border);
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.aw-action-chip svg {
  width: 12px;
  height: 12px;
}

.aw-action-chip:hover {
  background: var(--aw-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}


/* =========================================================
   PRICING ROW + CARDS
   ========================================================= */
.aw-pricing-row {
  display: grid;
  padding: 20px 24px;
  gap: 12px;
}

.aw-pricing-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.aw-pricing-row--6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Individual price card */
.aw-price-card {
  position: relative;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 14px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aw-price-card:hover {
  border-color: var(--aw-accent);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Highlighted card */
.aw-price-card--highlight {
  background: var(--aw-light);
  border-color: var(--aw-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

/* Popular badge */
.aw-price-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--aw-accent);
  border-radius: 0 0 6px 6px;
  padding: 2px 9px;
  white-space: nowrap;
  line-height: 1.4;
}

/* Period label */
.aw-price-period {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-top: 8px;
}

.aw-price-card--highlight .aw-price-period {
  color: var(--aw-text);
}

/* Big number */
.aw-price-amt {
  font-size: 1.625rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 0;
}

.aw-price-card--highlight .aw-price-amt {
  color: var(--aw-accent);
}

/* "Points" unit */
.aw-price-unit {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 10px;
}

.aw-price-card--highlight .aw-price-unit {
  color: var(--aw-text);
  opacity: 0.7;
}

/* CTA button inside card */
.aw-price-cta {
  display: block;
  width: 100%;
  padding: 7px 10px;
  font-size: 0.71875rem;
  font-weight: 600;
  text-align: center;
  border-radius: 7px;
  border: 1px solid #e5e7eb;
  color: #374151;
  background: #ffffff;
  margin-top: auto;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.aw-price-cta:hover {
  background: var(--aw-light);
  border-color: var(--aw-accent);
  color: var(--aw-accent);
}

.aw-price-card--highlight .aw-price-cta {
  background: var(--aw-accent);
  border-color: var(--aw-accent);
  color: #ffffff;
}

.aw-price-card--highlight .aw-price-cta:hover {
  opacity: 0.88;
}


/* =========================================================
   SECTION FOOTER (notes)
   ========================================================= */
.aw-ad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 24px 14px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.aw-ad-footer--two-col {
  justify-content: flex-start;
  gap: 24px;
}

.aw-ad-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71875rem;
  color: #6b7280;
}

.aw-ad-note svg {
  width: 12px;
  height: 12px;
  color: #9ca3af;
  flex-shrink: 0;
}

.aw-free-note {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-style: italic;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .aw-rate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aw-rate-info {
    grid-column: 1 / -1;
  }

  .aw-pricing-row--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  .aw-hero-title { font-size: 1.75rem; }

  .aw-ad-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px 14px;
  }

  .aw-pricing-row {
    padding: 16px 18px;
  }

  .aw-pricing-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .aw-pricing-row--6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .aw-ad-footer {
    padding: 10px 18px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ── 560px ── */
@media (max-width: 560px) {
  .aw-hero { padding: 32px 0 28px; }
  .aw-hero-title { font-size: 1.5rem; }
  .aw-hero-sub { font-size: 0.875rem; }

  .aw-rate-grid {
    grid-template-columns: 1fr;
  }

  .aw-pricing-row--3 {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px;
    gap: 8px;
  }

  .aw-pricing-row--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .aw-price-amt { font-size: 1.25rem; }

  .aw-price-card { padding: 14px 10px 12px; }

  .aw-ad-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 400px ── */
@media (max-width: 400px) {
  .aw-container { padding: 0 16px; }

  .aw-pricing-row--6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}


/* =========================================================
   SECTION TABS — sticky, color-coded, scroll-spy
   ========================================================= */

/* ── Outer sticky wrapper ───────────────────────────────── */
.aw-tabs {
  position: sticky;
  top: 60px;           /* sits flush under the 60px navbar */
  z-index: 90;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* ── Scrollable inner track ─────────────────────────────── */
.aw-tabs-track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  scroll-behavior: smooth;
}

.aw-tabs-track::-webkit-scrollbar { display: none; }

/* ── Single tab ─────────────────────────────────────────── */
.aw-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 48px;
  font-size: 0.78125rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid #f3f4f6;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.aw-tab:last-child { border-right: none; }

/* Color dot */
.aw-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* Tab icon */
.aw-tab-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

/* Bottom active indicator line */
.aw-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
  transition: background 0.2s ease;
}

/* ── Hover ──────────────────────────────────────────────── */
.aw-tab:hover {
  color: #374151;
  background: #f9fafb;
}

.aw-tab:hover .aw-tab-dot  { transform: scale(1.2); }
.aw-tab:hover .aw-tab-icon { opacity: 0.75; }

/* ── Active state — shared ──────────────────────────────── */
.aw-tab--active {
  font-weight: 600;
  background: #fafafa;
}

.aw-tab--active .aw-tab-icon { opacity: 1; }

/* ── Per-color active states ───────────────────────────── */
.aw-tab--blue.aw-tab--active  { color: #1a56db; }
.aw-tab--blue.aw-tab--active  .aw-tab-dot  { background: #1a56db; }
.aw-tab--blue.aw-tab--active::after        { background: #1a56db; }

.aw-tab--red.aw-tab--active   { color: #dc2626; }
.aw-tab--red.aw-tab--active   .aw-tab-dot  { background: #dc2626; }
.aw-tab--red.aw-tab--active::after         { background: #dc2626; }

.aw-tab--green.aw-tab--active { color: #059669; }
.aw-tab--green.aw-tab--active .aw-tab-dot  { background: #059669; }
.aw-tab--green.aw-tab--active::after       { background: #059669; }

.aw-tab--violet.aw-tab--active{ color: #7c3aed; }
.aw-tab--violet.aw-tab--active .aw-tab-dot { background: #7c3aed; }
.aw-tab--violet.aw-tab--active::after      { background: #7c3aed; }

.aw-tab--amber.aw-tab--active { color: #d97706; }
.aw-tab--amber.aw-tab--active .aw-tab-dot  { background: #d97706; }
.aw-tab--amber.aw-tab--active::after       { background: #d97706; }

.aw-tab--teal.aw-tab--active  { color: #0d9488; }
.aw-tab--teal.aw-tab--active  .aw-tab-dot  { background: #0d9488; }
.aw-tab--teal.aw-tab--active::after        { background: #0d9488; }

.aw-tab--indigo.aw-tab--active{ color: #4338ca; }
.aw-tab--indigo.aw-tab--active .aw-tab-dot { background: #4338ca; }
.aw-tab--indigo.aw-tab--active::after      { background: #4338ca; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .aw-tabs {
    border-radius: 10px;
  }

  .aw-tab {
    padding: 0 14px;
    height: 44px;
    font-size: 0.75rem;
    gap: 5px;
  }
}

@media (max-width: 560px) {
  .aw-tabs {
    top: 56px;
  }

  .aw-tab {
    padding: 0 12px;
    height: 40px;
    font-size: 0.6875rem;
  }

  .aw-tab-icon { display: none; }
}
