/* ==========================================================================
   Opeego Marketing Site — Design System & Styles
   Inspired by original Ilova template: dynamic gradients, floating images,
   green accent buttons, hover-to-gradient cards.
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0a3aca;
  --primary-light: #6d91fb;
  --primary-dark: #0830a0;
  --accent: #4919ae;
  --green: #00d578;
  --green-light: #81ee8e;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f7faff;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 0 30px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--text-light);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: normal;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 15px;
}

p { margin-bottom: 15px; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover, a:focus {
  text-decoration: none;
  color: var(--primary);
  outline: none;
}

img { max-width: 100%; }

ul { list-style: none; margin: 0; padding: 0; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
}

.section--light {
  background: var(--bg-light);
}

.text-center { text-align: center; }

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.section__title {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 35px;
}

.section__heading {
  margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
}

.btn--green {
  padding: 10px 35px;
  background-color: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn--green:hover,
.btn--green:focus {
  color: #fff;
  background-color: transparent;
  border-color: var(--green);
}

.btn--green-outline {
  padding: 10px 35px;
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--green-outline:hover,
.btn--green-outline:focus {
  color: var(--green);
}

.btn--gradient {
  padding: 17px 40px;
  background: linear-gradient(to right, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-color: transparent;
}
.btn--gradient:hover,
.btn--gradient:focus {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--white {
  padding: 10px 35px;
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn--white:hover,
.btn--white:focus {
  background-color: transparent;
  color: #fff;
}

.btn--primary-nav {
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(0, 213, 120, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary-nav:hover,
.btn--primary-nav:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 213, 120, 0.5);
  color: #fff;
  opacity: 1;
}

.btn--large {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 35px 0 25px;
  transition: 0.4s;
  background: transparent;
}

.navbar.scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 25px 0;
}

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

.navbar__logo {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.navbar__logo img {
  width: 40px;
  height: 40px;
}

.navbar.scrolled .navbar__logo {
  color: #012970;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar__link {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  text-transform: capitalize;
  transition: var(--transition);
}
.navbar__link:hover {
  color: var(--green);
}

.navbar.scrolled .navbar__link {
  color: var(--text);
}
.navbar.scrolled .navbar__link:hover {
  color: var(--green);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-transform: capitalize;
  transition: var(--transition);
  padding: 0;
}
.navbar__dropdown-toggle:hover {
  color: var(--green);
}

.navbar.scrolled .navbar__dropdown-toggle {
  color: var(--text);
}
.navbar.scrolled .navbar__dropdown-toggle:hover {
  color: var(--green);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 100;
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown.open .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.navbar__dropdown-item {
  display: block;
  padding: 0 30px;
  color: #313131;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 2.3;
  transition: var(--transition);
}
.navbar__dropdown-item:hover {
  color: var(--green);
}

.navbar__login {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}
.navbar.scrolled .navbar__login {
  color: var(--text);
}
.navbar__login:hover {
  color: var(--green);
}
.navbar.scrolled .navbar__login:hover {
  color: var(--green);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.navbar.scrolled .navbar__hamburger span {
  background: var(--text);
}

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 80px 24px 24px;
  transition: right var(--transition);
  z-index: 999;
  overflow-y: auto;
}

.navbar__mobile-menu.open {
  right: 0;
}

.navbar__mobile-menu a,
.navbar__mobile-menu button {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.navbar__mobile-menu a:hover {
  color: var(--green);
}

.navbar__mobile-submenu {
  padding-left: 16px;
  display: none;
}

.navbar__mobile-submenu.open {
  display: block;
}

.navbar__mobile-submenu a {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 8px 0;
}

.navbar__mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-overlay.open {
  display: block;
}


/* ====================================================================
   HERO — Split layout with floating image (like original)
   ==================================================================== */

.hero {
  position: relative;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  padding-top: 18%;
  padding-bottom: 12%;
  color: #fff;
  overflow: hidden;
}

.hero__row {
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  flex: 0 0 50%;
}

.hero__title {
  color: #fff;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero__title span {
  font-weight: 700;
}

.hero__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  line-height: 28px;
  font-weight: 500;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.store-badge i {
  font-size: 1.2rem;
}

/* Light variant for gradient CTA section */
.store-badges--light .store-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.store-badges--light .store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero__image {
  position: absolute;
  right: 0;
  top: 15%;
  width: 50%;
  z-index: 1;
}

.hero__image img {
  max-width: 100%;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.img-placeholder span {
  position: relative;
  z-index: 1;
}

.img-placeholder--hero {
  min-height: 360px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
}

.img-placeholder--white {
  background: linear-gradient(135deg, #e8ecf4 0%, #d5dbe8 100%);
  color: var(--text-muted);
}

.img-placeholder--white::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.3) 10px,
    rgba(255, 255, 255, 0.3) 20px
  );
  opacity: 0.5;
}

.img-placeholder--icon {
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: rgba(10, 58, 202, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  min-height: 0;
  padding: 0;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}

.img-placeholder--icon-sm {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  min-height: 0;
  padding: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8ecf4 0%, #d5dbe8 100%);
  color: var(--text-muted);
}

.img-placeholder--avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  min-height: 0;
  padding: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8ecf4 0%, #d5dbe8 100%);
  color: var(--text-muted);
}

.img-placeholder--profession {
  width: 100px;
  height: 100px;
  line-height: 100px;
  background-image: url(../assets/images/icon_bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  border-radius: 0;
  min-height: 0;
  margin: 0 auto 18px;
  padding: 0;
}

.img-placeholder--step {
  width: 100%;
  min-height: 240px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e8ecf4 0%, #d5dbe8 100%);
  color: var(--text-muted);
}

.img-placeholder--step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.3) 10px,
    rgba(255, 255, 255, 0.3) 20px
  );
  opacity: 0.5;
}


/* ====================================================================
   PHONE FRAME — CSS device mockup for mobile screenshots
   ==================================================================== */

.phone-frame {
  position: relative;
  display: inline-block;
  max-width: 280px;
  margin: 0 auto;
}

.phone-frame__bezel {
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-frame__bezel::before {
  /* Notch */
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-frame__screen {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.phone-frame__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Multiple phones side by side */
.phone-showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.phone-showcase .phone-frame:nth-child(2) {
  margin-top: 40px;
}

/* Phone frame in promo rows - size adjustments */
.promo-row__image .phone-frame {
  max-width: 260px;
}

.promo-row__image .phone-showcase {
  gap: 16px;
}

.promo-row__image .phone-showcase .phone-frame {
  max-width: 200px;
}

/* Screenshot as regular image (non-phone) with rounded corners and shadow */
.screenshot-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

/* Decorative floating elements */
.decorative-float {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.decorative-float--cloud {
  width: 120px;
}

/* Pain section with illustration */
.pain-section__row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.pain-section__illustration {
  flex: 0 0 42%;
  max-width: 42%;
}

.pain-section__illustration img {
  border-radius: var(--radius-sm);
  max-width: 100%;
}

.pain-section__cards {
  flex: 1;
}


/* ====================================================================
   PAIN POINTS — Cards with gradient icons
   ==================================================================== */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pain-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 38px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pain-card:hover .img-placeholder--icon {
  background: rgba(10, 58, 202, 0.14);
}

.pain-card__text {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
  font-style: italic;
  transition: var(--transition);
}


/* ====================================================================
   HOW IT WORKS — Alternating layout with promo-style sections
   ==================================================================== */

.promo-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 80px;
}

.promo-row:last-child {
  margin-bottom: 0;
}

.promo-row--reverse {
  flex-direction: row-reverse;
}

.promo-row__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.promo-row__image img {
  border-radius: var(--radius-sm);
  max-width: 100%;
}

.promo-row__text {
  flex: 1;
}

.promo-row__text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 35px;
}

.promo-row__text p {
  margin-bottom: 20px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}


/* ====================================================================
   FEATURES — Cards with gradient-on-hover (like original about cards)
   ==================================================================== */

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 35px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon-text {
  font-size: 30px;
  margin-bottom: 18px;
  display: inline-block;
  color: var(--primary);
  transition: var(--transition);
}

/* Background watermark icon like original */
.feature-card__watermark {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 80px;
  color: rgba(0, 0, 0, 0.022);
  z-index: 0;
  line-height: 1;
}
.feature-card:hover .feature-card__watermark {
  color: rgba(0, 0, 0, 0.04);
}

.feature-card__title {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}


/* ====================================================================
   PROFESSION CARDS — 4 use-case cards
   ==================================================================== */

.professions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.profession-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 35px 15px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-md);
}
.profession-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.profession-card__title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text);
  transition: var(--transition);
}

.profession-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0;
  transition: var(--transition);
}


/* ====================================================================
   DOWNLOAD / CTA SECTION — Gradient band (like original download section)
   ==================================================================== */

.cta-section {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  padding: 80px 0;
  color: #fff;
}

.cta-section__row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.cta-section__text {
  flex: 1;
}

.cta-section__text h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 25px;
}

.cta-section__text p {
  margin-bottom: 25px;
  color: rgba(255,255,255,0.9);
}

.cta-section__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.cta-section__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


/* ====================================================================
   TESTIMONIALS
   ==================================================================== */

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

.testimonial-card {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 30px 15px;
  text-align: center;
  transition: var(--transition);
}

.testimonial-card__quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 30px;
  margin: 20px 0 10px;
  position: relative;
  z-index: 1;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--text);
  font-size: 20px;
  margin: 20px 0 5px;
  text-transform: capitalize;
}

.testimonial-card__role {
  display: block;
  text-transform: capitalize;
  color: var(--green);
  font-weight: 600;
}


/* ====================================================================
   FOOTER — Gradient background (like original)
   ==================================================================== */

.footer {
  background: linear-gradient(to left, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 0 40px;
  color: #fff;
}

.footer a {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer__logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer__logo img {
  width: 40px;
  height: 40px;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 280px;
  color: rgba(255,255,255,0.85);
}

.footer__heading {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer ul li {
  line-height: 35px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer ul li a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}


/* ====================================================================
   SOLUTION PAGES — Unique components for vertical landing pages
   ==================================================================== */

/* --- Hero Centered (no split, text above screenshot) --- */
.hero--centered .hero__row {
  justify-content: center;
}

.hero--centered .hero__content {
  max-width: 700px;
  flex: 1;
  text-align: center;
}

.hero--centered .hero__buttons {
  justify-content: center;
}

.hero--centered .store-badges {
  justify-content: center;
}

.hero__screenshot-band {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 15px;
  text-align: center;
}

.hero__screenshot-band img {
  max-width: 900px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

/* --- Before / After comparison --- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.compare__side {
  text-align: center;
}

.compare__label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.compare__label--before {
  background: #fde8e8;
  color: #c0392b;
}

.compare__label--after {
  background: #d5f5e3;
  color: #1e8449;
}

.compare__image {
  margin-bottom: 20px;
}

.compare__image img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.compare__list {
  text-align: left;
  padding: 0 10px;
}

.compare__list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.compare__list li i {
  flex-shrink: 0;
  margin-top: 3px;
}

.compare__list--before li i {
  color: #c0392b;
}

.compare__list--after li i {
  color: var(--green);
}

/* --- Workflow timeline (horizontal steps) --- */
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.workflow__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.workflow__number {
  width: 72px;
  height: 72px;
  line-height: 72px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
}

.workflow__step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.workflow__step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* --- Screenshot spotlight (full-width with overlay text) --- */
.spotlight {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.spotlight img {
  display: block;
  width: 100%;
}

.spotlight__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
}

.spotlight__overlay h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.spotlight__overlay p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 500px;
}

/* --- Inline testimonial (gradient banner style) --- */
.testimonial-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.testimonial-banner__quote {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 24px;
  font-weight: 500;
}

.testimonial-banner__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 3px solid rgba(255,255,255,0.3);
}

.testimonial-banner__name {
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-banner__role {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* --- CTA centered (phone above text) --- */
.cta-centered {
  text-align: center;
  padding: 100px 0;
}

.cta-centered__phone {
  margin-bottom: 40px;
}

.cta-centered__phone img {
  max-width: 220px;
}

.cta-centered h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-centered p {
  max-width: 500px;
  margin: 0 auto 25px;
  color: var(--text-light);
}

.cta-centered .store-badges {
  justify-content: center;
  margin-top: 16px;
}

/* --- Features page — sticky sub-navigation --- */
.features-nav {
  position: sticky;
  top: 0;
  z-index: 990;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.features-nav__track {
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-nav__track::-webkit-scrollbar {
  display: none;
}

.features-nav__link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, box-shadow 0.2s;
  border-bottom: 2px solid transparent;
}

.features-nav__link:hover,
.features-nav__link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}


/* ====================================================================
   ANIMATIONS
   ==================================================================== */

/* Scroll fade-in */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left/right (like AOS in original) */
.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Floating animation for hero image */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero__image--animated {
  animation: float 4s ease-in-out infinite;
}

/* Pulse for CTA buttons */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(0, 213, 120, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 213, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 213, 120, 0); }
}

.btn--pulse {
  animation: pulse-green 2s infinite;
}


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

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1060px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card--featured {
  border: 2px solid var(--green);
  box-shadow: 0 8px 28px rgba(0, 213, 120, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card__name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  min-height: 40px;
}

.pricing-card__price {
  font-family: 'Nunito', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.pricing-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 24px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}

.pricing-card__features li i {
  color: var(--green);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card__features li .text-muted {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.pricing-card__cta {
  margin-top: auto;
}

.pricing-card__cta .btn {
  display: block;
  text-align: center;
  width: 100%;
}

.pricing-faq {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.pricing-faq__q {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.pricing-faq__a {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Legal pages --- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
}

.legal-sidebar a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
  color: var(--primary);
  border-left-color: var(--primary);
}

.legal-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style-type: disc;
}

.legal-content ol {
  list-style-type: decimal;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content pre {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  overflow-x: auto;
}

.legal-content .info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.legal-content .info-box--warning {
  border-left-color: #f59e0b;
}

.legal-content .info-box--danger {
  border-left-color: #ef4444;
}

.legal-content .info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .professions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__title {
    font-size: 36px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .legal-sidebar a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .legal-sidebar a:hover,
  .legal-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__row {
    flex-direction: column;
  }

  .hero__content {
    max-width: 100%;
    flex: 1;
    text-align: center;
    margin-bottom: 40px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .store-badges {
    justify-content: center;
  }

  .hero__image {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .promo-row,
  .promo-row--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .promo-row__image {
    flex: 1;
    max-width: 100%;
  }

  .pain-section__row {
    flex-direction: column;
  }

  .pain-section__illustration {
    flex: 1;
    max-width: 100%;
    text-align: center;
  }

  .pain-section__illustration img {
    max-width: 400px;
  }

  .phone-showcase {
    gap: 12px;
  }

  .phone-frame {
    max-width: 200px;
  }

  .promo-row__image .phone-frame {
    max-width: 200px;
  }

  .promo-row__image .phone-showcase .phone-frame {
    max-width: 160px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .professions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-section__row {
    flex-direction: column;
    text-align: center;
  }

  .cta-section__image {
    flex: 1;
    max-width: 100%;
  }

  .cta-section__buttons {
    justify-content: center;
  }

  /* Navbar mobile */
  .navbar__links {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }
  .navbar__mobile-menu {
    display: block;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Solution page components */
  .compare {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .workflow::before {
    display: none;
  }

  .hero__screenshot-band {
    margin-top: -30px;
  }

  .testimonial-banner__quote {
    font-size: 1.1rem;
  }

  .spotlight__overlay {
    padding: 24px 20px 20px;
  }

  .spotlight__overlay h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .professions-grid {
    grid-template-columns: 1fr;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* ==========================================================================
   Blog
   ========================================================================== */

/* --- Blog Hero (listing page) --- */
.blog-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  text-align: center;
}

.blog-hero__title {
  font-size: 42px;
  color: #fff;
  margin-bottom: 12px;
}

.blog-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Blog Grid (listing) --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

/* --- Blog Card --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.blog-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 56px;
}

.blog-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: 16px;
}

.blog-card:hover .blog-card__read-more {
  gap: 10px;
}

/* --- Blog Article (post page) --- */
.blog-article__header {
  padding: 160px 0 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.blog-article__back:hover {
  color: #fff;
}

.blog-article__title {
  font-size: 36px;
  line-height: 1.3;
  color: #fff;
  max-width: 780px;
  margin-bottom: 16px;
}

.blog-article__meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-article__meta-sep {
  margin: 0 8px;
}

/* --- Article Body --- */
.blog-article__body {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 0 80px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.blog-article__body h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.blog-article__body p {
  margin-bottom: 20px;
}

.blog-article__body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-article__body ul li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-article__body .blog-article__lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 32px;
}

.blog-article__cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* --- Blog Responsive --- */
@media (max-width: 768px) {
  .blog-hero {
    padding: 130px 0 50px;
  }

  .blog-hero__title {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__header {
    padding: 130px 0 40px;
  }

  .blog-article__title {
    font-size: 28px;
  }

  .blog-article__body {
    padding: 40px 0 60px;
  }
}

@media (max-width: 480px) {
  .blog-hero__title {
    font-size: 26px;
  }

  .blog-article__title {
    font-size: 24px;
  }

  .blog-card__icon {
    height: 140px;
    font-size: 42px;
  }
}
