
/* ================================
   FONT: SATOSHI VARIABLE
================================= */
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/satoshi_variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/satoshi_variable_italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ================================
   GLOBAL RESET & BASE STYLES
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Satoshi', sans-serif;
}

html,
body {
  height: 100%;
  max-width: 100vw;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

/* ================================
   STICKY HEADER
================================= */
.sticky-header,
header {
  position: fixed;               /* FIXED POSITION */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0B66FF;     /* SOLID BACKGROUND COLOR */
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  padding-top: 40px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #0B66FF; /* SAME COLOR TO AVOID WHITE LINE */
  will-change: transform;            /* PERFORMANCE BOOST */
  backface-visibility: hidden;      /* FIX FOR SAFARI LINE BUG */
}

/* REMOVE MARGIN COLLAPSE AND DEFAULT SPACING */
html, body {
  margin: 0;
  padding: 0;
  background-color: #0B66FF; /* PROTECT TOP BACKGROUND */
  overflow-x: hidden;
  overflow-y: auto;
}


/* LOGO IMAGE STYLE */
.sticky-header .logo {
  height: 32px;             /* SMALLER HEIGHT FOR COMPACT LOOK */
}

/* LOGIN TEXT LINK */
.login-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.login-link:hover {
  opacity: 0.8;
}

/* ENSURE HERO DOES NOT GET COVERED BY HEADER */
.with-sticky-header .page-container {
  padding-top: 48px; /* MATCHES STICKY HEADER HEIGHT */
}

/* ================================
   PAGE STRUCTURE CONTAINER
================================= */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main,
.section {
  flex: 1;
}

/* ================================
   LOGO STYLE
================================= */
header .logo {
  height: 32px;
}

/* ================================
   LOGIN LINK STYLE
================================= */
.login-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.login-link:hover {
  opacity: 0.8;
}


/* ================================
   LOGOS
================================= */
.logo-large {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 1rem;
  display: block;
}

.logo-small {
  width: 160px;
  display: block;
  margin: 1rem auto 20px;
}

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

/* ================================
   HERO SECTION
================================= */
.hero {
  background: linear-gradient(135deg, #0B66FF, #00A6FB);
  text-align: center;
  padding: 40px 20px 20px;
  color: white;
  animation: fadeInDown 1.2s ease;
}

.logo-hero {
  width: 240px;
  margin: 0 auto 16px;
  display: block;
}

.hero-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 20px;
  color: #e3f2fd;
}

.cta-button {
  background-color: #fff;
  color: #0B66FF;
  font-weight: bold;
  padding: 14px 28px;
  margin: 0 auto 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #f1f1f1;
}

/* ================================
   ABOUT SECTION
================================= */
.about {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #0B66FF;
}

.about-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #333;
}

.about-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-card {
  background-color: #f5faff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  color: #0B66FF;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.95rem;
  color: #555;
}

.emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

/* ================================
   HOW IT WORKS SECTION
================================= */
.how-it-works {
  background-color: #f0f7ff;
  padding: 80px 20px;
  text-align: center;
}

.how-title {
  font-size: 2rem;
  color: #0B66FF;
  margin-bottom: 40px;
}

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.step {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step h3 {
  color: #0B66FF;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: #444;
}

.step .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

/* ================================
   TESTIMONIALS SECTION
================================= */
.testimonials {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-title {
  font-size: 2rem;
  color: #0B66FF;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.avatar {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.role {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.comment {
  font-size: 0.95rem;
  color: #333;
}

/* ================================
   FORM SECTION
================================= */
.form-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
  animation: fadeInUp 1.5s ease;
}

.form-section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-section p {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: #444;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

input {
  width: 280px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 12px 24px;
  background-color: #0B66FF;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #084ec1;
}

/* ================================
   FINAL CTA
================================= */
.final-cta {
  background: linear-gradient(135deg, #0B66FF, #00A6FB);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  color: #e3f2fd;
}

/* ================================
   FOOTER
================================= */
.footer-extended {
  background-color: #111;
  color: white;
  text-align: center;
  padding-top: calc(10px);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-decoration: none;
  transition: color 0.3s ease;
  color: #ccc;
}

.footer-content a {
  color: #00A6FB;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
  color: white;
}

footer p {
  font-size: 0.85rem;
  color: #aaa;
}

/* ================================
   ANIMATIONS
================================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 600px) {
  input {
    width: 90%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .logo-hero {
    width: 180px;
  }

  .feature h2 {
    font-size: 1.25rem;
  }
}

