:root {
  --color-hero: #059669;
  --color-hero-deep: #047857;
  --color-teal: #0891b2;
  --color-cyan-soft: #ecfeff;
  --color-mint: #ecfdf5;
  --color-surface: #ffffff;
  --color-page: #f6fbf8;
  --color-text: #10212b;
  --color-muted: #5b6872;
  --color-line: #d8eee6;
  --color-footer: #151233;
  --color-accent: #f7c948;
  --shadow-soft: 0 18px 50px rgba(15, 78, 58, 0.12);
  --radius-card: 8px;
  --container: 1160px;
  --narrow: 820px;
  --font-ui: "Outfit", "Work Sans", "Noto Sans Bengali", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.72;
}

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

a {
  color: var(--color-hero-deep);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-teal);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.narrow-container {
  width: min(100% - 32px, var(--narrow));
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: #fff;
  border: 2px solid var(--color-hero);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 118, 89, 0.14);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-weight: 800;
  color: var(--color-text);
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.custom-logo {
  width: auto;
  max-width: 144px;
  max-height: 42px;
  object-fit: contain;
}

.brand-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #18313d;
  font-size: 0.95rem;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

.hero-section {
  position: relative;
  isolation: isolate;
  padding: 56px 0 64px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.28), transparent 24rem),
    linear-gradient(135deg, var(--color-hero), #0f9f88 56%, var(--color-teal));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 52px;
}

.eyebrow,
.section-heading p,
.section-kicker,
.card-label {
  margin: 0 0 10px;
  color: var(--color-hero-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.hero-intro {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.search-form button:hover,
.search-form button:focus-visible {
  transform: translateY(-1px);
}

.button-primary,
.search-form button {
  color: var(--color-hero-deep);
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.button-secondary {
  color: #fff;
  background: var(--color-hero);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span,
.category-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-visual-wrap {
  position: relative;
  min-height: 440px;
}

.phone-frame {
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 28px 70px rgba(0, 55, 42, 0.28);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.floating-app-card,
.rating-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.floating-app-card {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: min(86%, 320px);
}

.floating-app-card img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.floating-app-card strong,
.floating-app-card span {
  display: block;
}

.floating-app-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.trust-strip {
  padding: 0 0 36px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-strip-inner div {
  padding: 18px 20px;
  border-right: 1px solid var(--color-line);
}

.trust-strip-inner div:last-child {
  border-right: 0;
}

.trust-strip-inner strong,
.trust-strip-inner span {
  display: block;
}

.trust-strip-inner span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.section {
  padding: 58px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.app-preview-grid h2,
.longform-article h2,
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

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

.feature-card,
.archive-card,
.guide-row,
.longform-article .wp-block-group,
.longform-article table,
.search-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 14px 42px rgba(16, 33, 43, 0.07);
}

.feature-card {
  padding: 24px;
}

.feature-dot {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-hero), var(--color-teal));
}

.feature-card h3 {
  font-size: 1.18rem;
}

.feature-card p,
.app-preview-grid p,
.rating-card p {
  color: var(--color-muted);
}

.app-preview-section {
  background: #fff;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 30px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.category-pills span {
  color: #16333c;
  background: var(--color-cyan-soft);
  border: 1px solid #b7eef5;
}

.rating-card {
  align-items: flex-start;
  background: linear-gradient(180deg, #ffffff, var(--color-mint));
}

.rating-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #3b2b00;
  font-size: 2.1rem;
  font-weight: 900;
}

.article-shell {
  background: linear-gradient(180deg, var(--color-page), #fff 38%);
}

.longform-article {
  font-size: 1.05rem;
}

.longform-article > * + * {
  margin-top: 20px;
}

.longform-article h1,
.longform-article h2,
.longform-article h3 {
  margin-top: 36px;
}

.longform-article h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.longform-article h2 {
  position: relative;
  padding-left: 16px;
}

.longform-article h2::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: var(--color-hero);
}

.longform-article p,
.longform-article li {
  color: #21333d;
}

.longform-article ul,
.longform-article ol {
  padding-left: 1.35rem;
}

.longform-article .wp-block-image {
  margin: 30px 0;
}

.longform-article .wp-block-image img,
.featured-media img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.longform-article .wp-block-group {
  padding: 22px;
  background: var(--color-mint);
}

.longform-article table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.longform-article th,
.longform-article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.longform-article th {
  background: var(--color-cyan-soft);
}

.wp-block-yoast-faq-block {
  display: grid;
  gap: 12px;
}

.schema-faq-section {
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
}

.schema-faq-question {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text);
}

.page-hero {
  padding: 56px 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 211, 238, 0.24), transparent 20rem),
    linear-gradient(135deg, var(--color-mint), #fff);
}

.page-hero h1 {
  max-width: 860px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.archive-card {
  overflow: hidden;
}

.archive-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.archive-card-body {
  padding: 22px;
}

.archive-card h2 {
  font-size: 1.28rem;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.guide-thumb img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.guide-row h3 {
  font-size: 1.04rem;
}

.guide-row p,
.archive-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.read-link {
  font-weight: 800;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  padding: 10px;
  margin-top: 24px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  font: inherit;
}

.site-footer {
  background: var(--color-footer);
  color: #f8fbff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 54px 0;
}

.site-footer .custom-logo {
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-menu {
  display: grid;
  align-items: start;
  gap: 8px;
}

.footer-contact p span {
  display: block;
  color: #fff;
  font-weight: 800;
}

.footer-small {
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  padding: 18px 0;
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-menu {
    display: grid;
    gap: 4px;
  }

  .hero-grid,
  .app-preview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-wrap {
    min-height: auto;
  }

  .floating-app-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .trust-strip-inner,
  .feature-grid,
  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow-container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-name {
    display: none;
  }

  .hero-section {
    padding: 34px 0 48px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: 2.18rem;
  }

  .button {
    width: 100%;
  }

  .hero-meta,
  .category-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hero-meta span,
  .category-pills span {
    flex: 0 0 auto;
  }

  .phone-frame {
    border-radius: 22px;
  }

  .trust-strip-inner,
  .feature-grid,
  .guide-list,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip-inner div {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .trust-strip-inner div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 42px 0;
  }

  .rating-card {
    display: grid;
  }

  .guide-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .guide-thumb img {
    width: 92px;
    height: 92px;
  }

  .longform-article table {
    display: block;
    overflow-x: auto;
  }

  .search-form {
    display: grid;
  }
}
