/* WELCOME SCREEN */
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-content {
  text-align: center;
  animation: welcomeFadeUp 1s ease;
}

.welcome-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.18);
}

.welcome-content h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.04em;
}

.welcome-content p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #64748b;
  font-weight: 500;
}

@keyframes welcomeFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.logo span {
  color: #3b82f6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #0f172a;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sign-in {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.nav-btn {
  text-decoration: none;
  background: #3b82f6;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #2563eb;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: #0f172a;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  z-index: 999;

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding: 16px 20px;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e7eb;

  /* REMOVE floating look */
  border-radius: 0;
  box-shadow: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.25s ease;
}

.mobile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.mobile-menu a:hover {
  background: #f1f5f9;
}

.mobile-btn {
  display: inline-block;
  text-align: center;
  background: #3b82f6;
  color: #ffffff !important;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-sign-in {
  color: #64748b !important;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}

/* DESKTOP NAV LINKS */
.nav-links {
  display: flex;
  gap: 28px;
}

/* HIDE LINKS ON MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* =========================
   HERO SECTION
========================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
}

/* HERO */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

/* CONTENT */
.hero-content {
  max-width: 700px;
}

/* HEADING */
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

/* TEXT */
.hero p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 35px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: #3b82f6;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #2563eb;
}

/* SECONDARY BUTTON */
.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #f1f5f9;
}


.hero-trust-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  flex-wrap: nowrap;
  margin-top: 24px;
}

.hero-trust-stat {
  flex: 1 1 0;
  max-width: 280px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  opacity: 0;
  transform: translateY(18px);
  animation: trustFadeUp 0.7s ease forwards;
}

.hero-trust-stat:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-trust-stat:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff4ff;
  color: #2563eb;
  flex-shrink: 0;
}

.hero-trust-icon svg {
  width: 24px;
  height: 24px;
}

.hero-trust-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-trust-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.hero-trust-content span {
  font-size: 0.98rem;
  color: #6b7280;
  line-height: 1.35;
}

@keyframes trustFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-trust-stats {
    flex-wrap: wrap;
  }

  .hero-trust-stat {
    max-width: none;
    min-width: 260px;
  }
}

@media (max-width: 640px) {
  .hero-trust-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-trust-stat {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }
}

.home-cta {
  padding: 90px 20px;
}

.home-cta-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.home-cta-eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.home-cta-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111827;
}

.home-cta-text {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-cta-btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.home-cta-btn-primary:hover {
  transform: translateY(-1px);
}

.home-cta-btn-secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.home-cta-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

@media (max-width: 640px) {

  .home-cta-inner {
    padding: 36px 18px;
  }

  .home-cta-actions {
    width: 100%;
    margin-top: 22px;
  }

  .home-cta-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 16px;
    font-size: 1rem;
  }

}



.faq-section {
  padding: 80px 20px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #111827;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #6b7280;
  transition: 0.3s;
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-bottom: 16px;
}

/* =========================
   HOW IT WORKS SECTION
========================= */

.how-it-works-section {
  padding: 90px 20px;
  background: #f8fafc;
  overflow: hidden;
}

.how-it-works-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.how-it-works-header {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.how-it-works-eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.how-it-works-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

.how-it-works-subtext {
  margin: 16px auto 0;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.75;
}

/* TABS */
.how-it-works-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}

.how-tab {
  position: relative;
  min-height: 76px;
  padding: 0 12px;
  border: none;
  border-right: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.how-tab:last-child {
  border-right: none;
}

.how-tab.active {
  background: #f8fbff;
  color: #2563eb;
}

.how-tab span {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: #2563eb;
}

.how-tab.active span {
  animation: howProgress 6s linear forwards;
}

@keyframes howProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* PANEL */
.how-it-works-panel-wrap {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.how-panel {
  display: none;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
  padding: 34px;
}

.how-panel.active {
  display: grid;
}

/* IMAGE */
.how-panel-media {
  width: 100%;
  height: 390px;
  border-radius: 28px;
  overflow: hidden;
  background: #eef5ff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.how-panel-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* CONTENT */
.how-panel-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.how-panel-label {
  margin: 0 0 10px;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.how-panel-content h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #111827;
}

.how-panel-content p {
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.75;
}

.how-panel-content ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.how-panel-content li {
  position: relative;
  padding-left: 22px;
  color: #374151;
  line-height: 1.6;
}

.how-panel-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
}

/* BUTTONS DESKTOP */
.how-panel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.how-panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
  box-sizing: border-box;
}

.how-panel-btn.primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
}

.how-panel-btn.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.how-panel-btn:hover {
  transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 1080px) {
  .how-it-works-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-panel {
    grid-template-columns: 1fr;
  }

  .how-panel-media {
    height: 340px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .how-it-works-section {
    padding: 64px 14px;
  }

  .how-it-works-header {
    margin-bottom: 28px;
  }

  .how-it-works-header h2 {
    font-size: 2.15rem;
  }

  .how-it-works-subtext {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .how-it-works-tabs {
    display: none;
  }

  .how-it-works-panel-wrap {
    border-radius: 24px;
  }

  .how-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px;
  }

  .how-panel.active {
    display: grid;
  }

  .how-panel-media {
    height: 220px;
    border-radius: 20px;
  }

  .how-panel-media img {
    object-fit: contain;
    object-position: center;
    background: #eef5ff;
  }

  .how-panel-content {
    text-align: left;
  }

  .how-panel-label {
    font-size: 0.76rem;
  }

  .how-panel-content h3 {
    font-size: 2rem;
  }

  .how-panel-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .how-panel-content li {
    font-size: 0.95rem;
  }

  /* REAL MOBILE BUTTON FIX */
  .how-panel-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
  }

  .how-panel-btn {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    margin: 0 auto;
    border-radius: 14px;
    font-size: 0.95rem;
    text-align: center;
    box-sizing: border-box;
  }
}

/* SMALL MOBILE */
@media (max-width: 420px) {
  .how-it-works-section {
    padding: 58px 12px;
  }

  .how-panel {
    padding: 16px;
  }

  .how-panel-media {
    height: 190px;
  }

  .how-panel-content h3 {
    font-size: 1.75rem;
  }

  .how-panel-btn {
    max-width: 290px;
  }
}


/* =========================
   BRAIN SECTION
========================= */

.sf-brain-section {
  padding: 110px 20px;
  background: #f8fafc;
  overflow: hidden;
}

.sf-brain-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.sf-brain-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.sf-brain-header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

.sf-brain-header p {
  max-width: 680px;
  margin: 20px auto 0;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.8;
}

.sf-brain-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.sf-brain-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease;
}

.sf-brain-card:hover {
  transform: translateY(-4px);
}

.sf-brain-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 900;
  color: #111827;
}

.sf-brain-card h3 span {
  color: #2563eb;
}

.sf-brain-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
  font-size: 0.98rem;
}

.sf-brain-center {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-radius: 30px;
  background: linear-gradient(180deg, #eef4ff, #ffffff);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-brain-icon {
  width: 180px;
  height: 180px;
  border-radius: 50px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.3);
}

/* TABLET */
@media (max-width: 900px) {
  .sf-brain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sf-brain-center {
    display: none;
  }
}

/* =========================
   BRAIN SECTION - MOBILE CENTERED BLOCKS
========================= */

@media (max-width: 768px) {
  .sf-brain-grid {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
  }

  .sf-brain-center {
    display: none !important;
  }

  .sf-brain-card {
    width: 100%;
    max-width: 360px;
    min-height: 260px;
    aspect-ratio: 1 / 0.82;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 26px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    text-align: left;
    overflow: hidden;
  }

  .sf-brain-card h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .sf-brain-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .sf-brain-grid {
    max-width: 340px;
  }

  .sf-brain-card {
    max-width: 320px;
    min-height: 250px;
    padding: 24px;
  }
}

.sf-before-after-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.sf-before-after-container {
  max-width: 1180px;
  margin: 0 auto;
}

.sf-before-after-header {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.sf-before-after-header p {
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-before-after-header h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #111827;
}

.sf-before-after-header span {
  display: block;
  margin-top: 18px;
  color: #6b7280;
  line-height: 1.75;
}

.sf-before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sf-ba-card {
  border-radius: 30px;
  padding: 34px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.06);
}

.sf-ba-before {
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.sf-ba-after {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-color: rgba(37, 99, 235, 0.25);
}

.sf-ba-tag {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.sf-ba-card h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #111827;
}

.sf-ba-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.sf-ba-card li {
  position: relative;
  padding-left: 30px;
  color: #374151;
  line-height: 1.65;
  font-weight: 600;
}

.sf-ba-before li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: #dc2626;
  font-weight: 900;
  font-size: 1.1rem;
}

.sf-ba-after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: 900;
  font-size: 1.05rem;
}

@media (max-width: 850px) {
  .sf-before-after-grid {
    grid-template-columns: 1fr;
  }
}

.sf-way-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.sf-way-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.sf-way-header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

.sf-way-header h2 span {
  color: #2563eb;
  font-style: italic;
}

.sf-way-header p {
  margin: 18px auto 0;
  max-width: 620px;
  color: #6b7280;
  line-height: 1.8;
}

.sf-way-compare {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sf-way-logo {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.28);
  z-index: 3;
}

.sf-way-card {
  min-height: 440px;
  border-radius: 28px;
  padding: 48px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sf-way-card.old {
  background: linear-gradient(180deg, #f4eee8, #eee3db);
}

.sf-way-card.new {
  background: linear-gradient(180deg, #e9f7ed, #d8eedf);
}

.sf-way-card h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 1.45rem;
  color: #111827;
}

.sf-way-pill {
  width: fit-content;
  max-width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #374151;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.sf-way-pill.bad::before {
  content: "✕ ";
  color: #dc2626;
  font-weight: 900;
}

.sf-way-pill.good::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 900;
}

.sf-way-card.old .sf-way-pill:nth-child(3),
.sf-way-card.old .sf-way-pill:nth-child(5) {
  align-self: flex-end;
}

.sf-way-card.new .sf-way-pill {
  align-self: center;
}

@media (max-width: 700px) {
  .sf-way-compare {
    grid-template-columns: 1fr;
  }

  .sf-way-logo {
    top: -26px;
  }

  .sf-way-card {
    min-height: auto;
  }
}

/* =========================
   ACCESS SECTION
========================= */

.sf-access-section {
  padding: 105px 20px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32%),
    linear-gradient(180deg, #0b1220, #111827);
  color: #ffffff;
  overflow: hidden;
}

.sf-access-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.sf-access-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.sf-access-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sf-access-header p {
  margin: 16px auto 0;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 1rem;
}

.sf-access-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.sf-access-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.sf-access-main h3,
.sf-access-info h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.sf-access-main p,
.sf-access-info p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.75;
}

.sf-access-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  text-align: center;
}

.sf-access-stat strong {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sf-access-stat span {
  margin-top: 10px;
  color: #eff6ff;
  font-weight: 800;
}

.sf-access-devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sf-device-item {
  min-height: 116px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px;
  font-weight: 800;
  color: #f8fafc;
}

.sf-device-item svg {
  width: 30px;
  height: 30px;
  stroke: #93c5fd;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sf-access-action {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.sf-access-action a {
  min-width: 190px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
}

/* TABLET */
@media (max-width: 900px) {
  .sf-access-grid {
    grid-template-columns: 1fr;
  }

  .sf-access-devices {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 560px) {
  .sf-access-section {
    padding: 75px 14px;
  }

  .sf-access-header {
    margin-bottom: 34px;
  }

  .sf-access-header h2 {
    font-size: 2.2rem;
  }

  .sf-access-header p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .sf-access-grid {
    gap: 14px;
  }

  .sf-access-card {
    padding: 22px;
    border-radius: 20px;
  }

  .sf-access-main h3,
  .sf-access-info h3 {
    font-size: 1.35rem;
  }

  .sf-access-main p,
  .sf-access-info p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .sf-device-item {
    min-height: 105px;
    border-radius: 16px;
  }

  .sf-access-action {
    margin-top: 30px;
  }

  .sf-access-action a {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    min-height: 52px;
    margin: 0 auto;
    border-radius: 14px;
    box-sizing: border-box;
  }
}

.quiz-history-card {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
}

.quiz-history-card-header {
  margin-bottom: 16px;
}

.quiz-history-card-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.quiz-history-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #111827;
}

.quiz-history-list {
  display: grid;
  gap: 12px;
}

.quiz-history-item {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  background: #f8fafc;
}

.quiz-history-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.quiz-history-file {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.quiz-history-meta {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
}

.quiz-history-score {
  min-width: 62px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.quiz-history-empty {
  border: 1px dashed #d1d5db;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  color: #6b7280;
  background: #ffffff;
}


@media (max-width: 768px) {
  .hero {
    padding-bottom: 48px;
  }

  .hero-content {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .nav-container {
    padding: 16px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.6rem;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 72px 16px 46px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero p {
    max-width: 340px;
    margin: 0 auto 26px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 15px 10px;
    text-align: center;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .hero-trust-stats {
    width: 100%;
    max-width: 390px;
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-trust-stat {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-trust-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
  }

  .hero-trust-content {
    align-items: flex-start;
  }

  .hero-trust-number {
    font-size: 1.7rem;
  }

  .hero-trust-content span {
    font-size: 0.95rem;
  }

  .how-it-works-section,
  .faq-section,
  .home-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .how-it-works-header h2,
  .faq-title,
  .home-cta-inner h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  .how-it-works-tabs {
    grid-template-columns: 1fr 1fr;
    border-radius: 20px 20px 0 0;
  }

  .how-tab {
    min-height: 58px;
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .how-panel {
    padding: 18px;
  }

  .how-panel-content h3 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .how-panel-content p,
  .how-panel-points li {
    font-size: 0.95rem;
  }

  .how-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .how-panel-btn {
    width: 100%;
  }

  .home-cta-inner {
    padding: 38px 18px;
    border-radius: 24px;
  }

  .home-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero {
    padding-top: 62px;
  }
}

@media (max-width: 900px) {

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
    text-align: center;
  }

}

.sf-footer {
  background: #0b1220;
  color: #ffffff;
  padding: 76px 20px 28px;
}

.sf-footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 42px;
}

.sf-footer-brand h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.sf-footer-brand h3 span {
  color: #2563eb;
}

.sf-footer-brand p {
  margin: 16px 0 0;
  max-width: 380px;
  color: #94a3b8;
  line-height: 1.7;
}

.sf-footer-links h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.95rem;
}

.sf-footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
}

.sf-footer-links a:hover {
  color: #ffffff;
}

.sf-footer-bottom {
  max-width: 1180px;
  margin: 54px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.9rem;
}

.sf-footer-bottom p {
  margin: 0;
}

.sf-footer-bottom div {
  display: flex;
  gap: 18px;
}

.sf-footer-bottom a {
  color: #64748b;
  text-decoration: none;
}

.sf-footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 800px) {
  .sf-footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .sf-footer-container {
    grid-template-columns: 1fr;
  }

  .sf-footer-bottom,
  .sf-footer-bottom div {
    flex-direction: column;
  }
}

html {
  scroll-behavior: smooth;
}