/* ============================================
   PERKLY MARKETING WEBSITE — MAIN STYLESHEET
   Design System: Royal Indigo / Deep Purple
   ============================================ */

/* ---- Google Fonts ---- */
/* Plus Jakarta Sans: wide geometric display font for headlines */
/* Inter: clean UI font for nav, body, buttons */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --brand-primary: #4F46E5;
  --brand-deep: #1E1B4B;
  --brand-purple: #7B2FBE;
  --brand-violet: #7C3AED;
  --brand-accent: #0EA5E9;
  --brand-success: #10B981;
  --brand-warn: #F59E0B;
  --brand-pink: #EC4899;

  --bg-white: #FFFFFF;
  --bg-light: #F5F3FF;
  --bg-subtle: #EDE9FE;
  --bg-dark: #1E1B4B;
  --bg-darker: #0F0D2A;

  --text-heading: #1E1B4B;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;
  --text-indigo-light: #C7D2FE;

  --border-light: #E8E3FF;
  --border-subtle: #EDE9FE;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(79,70,229,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(79,70,229,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(79,70,229,0.18), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(79,70,229,0.3);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- Container ---- */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-indigo { color: var(--brand-primary); }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.badge--primary {
  background: var(--bg-subtle);
  color: var(--brand-primary);
  border: 1px solid var(--border-light);
}

.badge--dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-success);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--brand-primary);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,0.45);
}

.btn--outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--border-light);
}

.btn--outline:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--bg-white);
  color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
}

.navbar__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--brand-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__login {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.navbar__login:hover {
  color: var(--brand-primary);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  opacity: 0.5;
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  animation: fade-up 0.7s ease both;
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__headline em {
  font-style: normal;
  color: var(--brand-primary);
  display: block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--brand-primary);
}

.hero__visual {
  position: relative;
  animation: fade-up 0.7s 0.2s ease both;
}

.hero__dashboard-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  border: 1px solid var(--border-light);
}

.hero__float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

.hero__float-card--points {
  bottom: -24px;
  left: -32px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: 0.5s;
}

.hero__float-card--tier {
  top: -20px;
  right: -24px;
  animation-delay: 1s;
}

.float-points-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-violet));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.float-points-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.float-points-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  font-family: var(--font-display);
}

.float-tier-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.float-tier-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-warn);
  font-family: var(--font-display);
}

.float-tier-bar {
  width: 120px;
  height: 5px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  margin-top: 6px;
  overflow: hidden;
}

.float-tier-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--brand-warn), #FBBF24);
  border-radius: var(--radius-full);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   WHY LOYALTY SECTION
   ============================================ */

.why-loyalty {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-violet));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--bg-subtle);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card__icon {
  width: 56px;
  height: 56px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: all var(--transition-base);
}

.stat-card:hover .stat-card__icon {
  background: var(--brand-primary);
  transform: scale(1.1);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-card__text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.features__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features__content {}

.features__title {
  margin-bottom: 16px;
}

.features__sub {
  margin-bottom: 48px;
  max-width: 440px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: all var(--transition-base);
  cursor: default;
}

.feature-item:hover {
  background: var(--bg-light);
  border-color: var(--bg-subtle);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.feature-item__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.features__visual {
  position: relative;
}

.features__image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.features__image-wrap img {
  width: 100%;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-violet), var(--brand-pink), var(--brand-success));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-card__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
}

.step-card:hover .step-card__number {
  transform: scale(1.12);
  box-shadow: var(--shadow-glow);
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 180px;
  margin: 0 auto;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(79,70,229,0.3) 0%, transparent 70%);
}

.cta-section__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-section__inner {
  position: relative;
  text-align: center;
}

.cta-section__title {
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section__sub {
  color: var(--text-indigo-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-darker);
  color: var(--text-indigo-light);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brand {}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__brand-mark {
  width: 34px;
  height: 34px;
  background: var(--brand-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(199,210,254,0.7);
  margin-bottom: 24px;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-indigo-light);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(199,210,254,0.65);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.84rem;
  color: rgba(199,210,254,0.45);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 0.84rem;
  color: rgba(199,210,254,0.45);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--text-white);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(30,27,75,0.96);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.mobile-nav__link:hover {
  opacity: 1;
  color: #A5B4FC;
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-base);
}

.mobile-nav__close:hover {
  background: rgba(255,255,255,0.15);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features__inner { grid-template-columns: 1fr; gap: 48px; }
  .features__image-wrap { max-width: 600px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .navbar__nav { gap: 20px; }
  .navbar__link { font-size: 0.85rem; }
}

@media (max-width: 900px) {
  .navbar__nav { display: none; }
  .navbar__login { display: none; }
  .navbar__hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .navbar__nav,
  .navbar__login { display: none; }
  .navbar__hamburger { display: flex; }

  /* Prevent Book a Demo btn from overflowing */
  .navbar__actions .btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__sub { margin: 0 auto 36px; }
  .hero__ctas { justify-content: center; }
  .hero__trust { justify-content: center; }

  .hero__float-card--points { left: -8px; }
  .hero__float-card--tier { right: -8px; }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .steps-grid::before { display: none; }

  .cta-section__inner { padding: 0 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .ai-section__inner { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Hide Book a Demo in navbar on very small screens, show hamburger only */
  .navbar__actions .btn { display: none; }
}

/* ============================================
   FEATURES DUAL VISUAL
   ============================================ */

.features__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features__image-wrap--hub {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.features__image-wrap--hub img {
  width: 100%;
}

.features__image-wrap--rewards {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.features__image-wrap--rewards img {
  width: 100%;
}

/* ============================================
   HOW IT WORKS — IMAGE LAYOUT
   ============================================ */

.steps-visual {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.steps-visual__img {
  width: 100%;
  display: block;
}

/* ============================================
   RESULTS SECTION
   ============================================ */

.results-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.results-visual {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.results-visual__img {
  width: 100%;
  display: block;
}

/* ============================================
   AI SECTION
   ============================================ */

.ai-section {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.ai-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.ai-section .section-label {
  color: #818CF8;
}

.ai-section .section-title {
  color: var(--text-white);
}

.ai-section .section-sub {
  color: var(--text-indigo-light);
}

.ai-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}

.ai-section__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(79,70,229,0.35);
  border: 1px solid rgba(79,70,229,0.3);
}

.ai-section__visual img {
  width: 100%;
  display: block;
}

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition-base);
}

.ai-feature-row:hover {
  background: rgba(79,70,229,0.12);
  border-color: rgba(79,70,229,0.3);
  transform: translateX(6px);
}

.ai-feature-row__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ai-feature-row__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3px;
}

.ai-feature-row__desc {
  font-size: 0.84rem;
  color: rgba(199,210,254,0.65);
  line-height: 1.5;
}

.ai-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.4);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #A5B4FC;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin-top: 32px;
}

.ai-section__badge::before {
  content: '✦';
  color: var(--brand-primary);
}

@media (max-width: 1024px) {
  .ai-section__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-section {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-section__left {}

.contact-section__title {
  margin-bottom: 16px;
}

.contact-section__sub {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.contact-perk__icon {
  width: 34px;
  height: 34px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Form card */
.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-form-card__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 7px;
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-heading);
  background: var(--bg-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.form-success__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-success__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}

/* ============================================
   LOGO IMAGE
   ============================================ */

.navbar__logo {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
}
