/* ============================
   BRAND COLOR VARIABLES (default: teal)
   Override via JS using document.documentElement.style.setProperty
   ============================ */
:root {
  --bc: #3d6fd4;
  --bc-hover: #2f5bb5;
}

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

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #2b2b2b;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ============================
   HEADER
   ============================ */
.header {
  padding: 10px 20px;
  border-bottom: 2px solid #eaeaea;
  background: #fafbfc;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-icon--lg {
  width: 90px;
  height: 90px;
}

.logo-icon--home {
  width: 100px;
  height: 100px;
}

.logo-text {
  font-size: 16px;
  font-weight: 500;
  color: #2b2b2b;
}

/* ============================
   MAIN
   ============================ */
.main {
  padding: 0 24px;
}

/* ============================
   STEPS SECTION
   ============================ */
.steps-section {
  text-align: center;
  padding: 24px 0 20px;
}

.steps-title {
  font-size: 21px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  display: inline-flex;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  flex-shrink: 0;
}

.step-label {
  font-size: 15px;
  color: #3a3a3a;
  font-weight: 500;
}

/* ============================
   ACTIVATION SECTION
   ============================ */
.activation-section {
  text-align: center;
  padding: 8px 0 16px;
}

.activation-title {
  font-size: 26px;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 22px;
}

.activation-title strong {
  font-weight: 800;
}

.btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  background: var(--bc);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-continue:hover {
  background: var(--bc-hover);
  transform: translateY(-1px);
}

.btn-arrow {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.activation-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: #777;
  line-height: 1.65;
}

/* ============================
   FEATURES SECTION
   ============================ */
.features-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin: 12px 0 36px;
}

.feature-card {
  background: #f2f4f7;
  padding: 26px 16px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #e4e6ea;
}

.feature-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #1b1b2f;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: #777;
}

/* ============================
   BILLING SECTION
   ============================ */
.billing-section {
  padding: 28px 0 44px;
}

.billing-text {
  font-size: 11px;
  color: #999;
  line-height: 1.75;
  text-align: center;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  border-top: 2px solid #eaeaea;
  padding: 28px 20px 36px;
  text-align: center;
  background: #fafbfc;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 8px;
}

.footer-nav a,
.footer-nav-single {
  font-size: 13px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav-single:hover {
  text-decoration: underline;
  color: var(--bc);
}

.footer-nav-single {
  display: block;
  margin-bottom: 24px;
}

.footer-company {
  font-size: 11px;
  color: #aaa;
  line-height: 1.8;
}

.company-name {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
}

/* ============================
   POPUP OVERLAY
   ============================ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}

.overlay.active {
  display: flex;
}

.popup {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
}

.popup-header {
  background: #1b1b2f;
  padding: 22px 22px 20px;
}

.popup-subtitle {
  font-size: 14px;
  color: #b8b8c8;
  font-weight: 400;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.popup-title-bold {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.popup-body {
  padding: 26px 22px 30px;
}

.popup-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.popup-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.popup-step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  flex-shrink: 0;
}

.popup-step-num.active {
  background: #1b1b2f;
  border-color: #1b1b2f;
  color: #fff;
}

.popup-step-label {
  font-size: 15px;
  color: #3a3a3a;
  padding-top: 6px;
  line-height: 1.4;
}

.popup-step.active .popup-step-label {
  font-weight: 700;
  color: #1b1b2f;
}

.btn-popup {
  border-radius: 10px;
  font-size: 18px;
  padding: 16px;
}

.popup-consent {
  margin-top: 14px;
  font-size: 11px;
  color: #aaa;
  text-align: center;
  line-height: 1.6;
}

/* ============================
   CONTENT PLACEHOLDER SECTIONS
   ============================ */
.content-section {
  padding: 36px 0;
  border-top: 1px solid #eaeaea;
}

.content-section__title {
  font-size: 19px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.content-section__body {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}

/* ============================
   FAQ SECTION
   ============================ */
.faq-section {
  padding: 36px 0 10px;
  border-top: 1px solid #eaeaea;
}

.faq-title {
  font-size: 19px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 22px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #eaeaea;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #1b1b2f;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--bc);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}

.faq-answer.open {
  display: block;
}

/* ============================
   HOMEPAGE
   ============================ */
.home-hero {
  text-align: center;
  padding: 48px 0 32px;
}

.home-hero__title {
  font-size: 26px;
  font-weight: 700;
  color: #1b1b2f;
  line-height: 1.3;
  margin-bottom: 12px;
}

.home-hero__sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.home-hero__cta {
  display: inline-flex;
  width: auto;
  padding: 16px 32px;
}

.home-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 8px 0 40px;
}

.home-card {
  background: #f2f4f7;
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1b1b2f;
  margin-bottom: 4px;
}

.home-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ============================
   HOMEPAGE: TEXT SECTION
   ============================ */
.home-text-section {
  padding: 32px 0;
  border-top: 1px solid #eaeaea;
}

.home-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.home-text-section p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ============================
   HOMEPAGE: BLOG
   ============================ */
.home-blog {
  padding: 32px 0;
  border-top: 1px solid #eaeaea;
}

.blog-card {
  margin-bottom: 28px;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
  overflow: hidden;
}

.blog-card:last-child {
  margin-bottom: 0;
}

.blog-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 16px;
}

.blog-card__meta {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-weight: 600;
}

.blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1b1b2f;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ============================
   HOMEPAGE: FAQ spacing
   ============================ */
.home-faq {
  border-top: 1px solid #eaeaea;
}

/* ============================
   STATIC PAGES
   ============================ */
.page-content {
  padding-top: 36px;
  padding-bottom: 48px;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 20px;
}

.page-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #1b1b2f;
  margin: 24px 0 8px;
}

.page-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-content a {
  color: var(--bc);
}

.contact-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #555;
}

/* ============================
   DESKTOP: center popup
   ============================ */
@media (min-width: 600px) {
  .overlay {
    align-items: center;
  }

  .popup {
    border-radius: 16px;
  }
}

/* ============================
   HOMEPAGE: WIDE LAYOUT
   ============================ */
body.home {
  max-width: 100%;
  background: #f0f2f5;
}

/* Inner content containers */
.home-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.home-inner--narrow {
  max-width: 760px;
}

/* Header */
.home-header {
  background: #fff;
  border-bottom: 2px solid #eaeaea;
  padding: 0;
}

.home-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-nav {
  display: flex;
  gap: 32px;
}

.home-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #3a3a3a;
  text-decoration: none;
  transition: color 0.15s;
}

.home-nav a:hover {
  color: var(--bc);
}

/* Main padding reset */
.home-main {
  padding: 0;
}

/* Hero */
.home-hero {
  background: linear-gradient(160deg, #1b1b2f 0%, #2d3a6e 100%);
  padding: 80px 28px;
  text-align: center;
}

.home-hero__inner {
  max-width: 660px;
  margin: 0 auto;
}

.home-hero__title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.home-hero__sub {
  font-size: 17px;
  color: #b0b8d4;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Feature cards section */
.home-cards-section {
  background: #fff;
  padding: 52px 0;
  border-bottom: 2px solid #eaeaea;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-card {
  background: #f5f6f9;
  border-radius: 12px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border: 1px solid #e8eaee;
  transition: box-shadow 0.2s;
}

.home-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.home-card__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 18px;
}

.home-card__title {
  font-size: 16px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 8px;
}

.home-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Text section */
.home-text-section {
  background: #fff;
  padding: 60px 28px;
  border-bottom: 2px solid #eaeaea;
  border-top: none;
}

.home-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #1b1b2f;
  margin-bottom: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-text-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Blog section */
.home-blog {
  background: #f0f2f5;
  padding: 60px 28px;
  border-top: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 0;
}

.blog-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 22px;
  flex: 1;
}

.blog-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1b1b2f;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* FAQ on homepage */
.home-faq {
  background: #fff;
  padding: 60px 28px;
  border-top: none;
}

.home-faq .faq-section {
  padding: 0;
}

/* Footer */
.home-footer {
  background: #fafbfc;
  border-top: 2px solid #eaeaea;
  padding: 0;
}

.home-footer .footer-nav,
.home-footer .footer-nav-single,
.home-footer .footer-company {
  padding: 0;
}

.home-footer > .home-inner {
  padding-top: 36px;
  padding-bottom: 36px;
}

/* Blog post page */
.blog-post {
  background: #fff;
  padding: 52px 28px 60px;
}

.blog-post__title {
  font-size: 32px;
  font-weight: 800;
  color: #1b1b2f;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

.blog-post__hero {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 36px;
  display: block;
}

.blog-post h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1b1b2f;
  margin: 36px 0 14px;
}

.blog-post h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1b1b2f;
  margin: 28px 0 10px;
}

.blog-post p {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
}

.blog-post ul {
  margin: 0 0 16px 20px;
}

.blog-post li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 4px;
}

/* Mobile overrides for homepage */
@media (max-width: 700px) {
  .home-hero__title { font-size: 28px; }
  .home-hero { padding: 52px 20px; }
  .home-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .home-header__inner { padding: 12px 16px; }
  .home-nav { gap: 18px; }
  .blog-post__title { font-size: 24px; }
  .blog-post__hero { height: 200px; }
  .home-text-section,
  .home-blog,
  .home-faq,
  .blog-post { padding-left: 16px; padding-right: 16px; }
}
