/* ==================================================
   GLOBAL RESET & TYPOGRAPHY
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================================================
   HEADER / NAVBAR
================================================== */

.top-header {
    padding: clamp(16px, 3vw, 30px) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #1e73be;
    text-decoration: none;
}

.logo span {
    color: #000;
    font-weight: 600;
}

.logo-icon {
    width: clamp(28px, 4vw, 32px);
    height: clamp(28px, 4vw, 32px);
    border-radius: 50%;
    background: #1e73be;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* NAV MENU */

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 4vw, 35px);
    position: sticky;
}

.nav-menu .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus {
    color: #1e73be;
}

.nav-menu .cta {
    color: #1e73be;
}

/* ==================================================
   STICKY HEADER
================================================== */

.top-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

/* Optional shadow when scrolling */
.top-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ==================================================
   HERO SECTION
================================================== */

.hero-section {
    padding: clamp(40px, 8vw, 100px) 0;
}

.hero-title {
    font-size: clamp(30px, 7vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title .blue {
    color: #1e73be;
}

.hero-sub {
    margin-top: clamp(20px, 5vw, 40px);
    display: flex;
      flex-direction: column;
    gap: 12px;
}

.hero-sub .years {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    color: #1e73be;
}

.hero-sub .text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* DIVIDER */

.divider {
    width: 2px;
    background: #cfcfcf;
    min-height: 350px; /* increased */
    margin: auto;
}


/* SERVICES */

.services {
    font-size: clamp(14px, 2.5vw, 15px);
    line-height: 2;
}



.hero-wrapper {
    border: 2px solid #8a4fff;   /* purple border */
    padding: clamp(16px, 3vw, 24px);
}

/* ==================================================
   SERVICES LINKS (NO UNDERLINE)
================================================== */

.services a {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    line-height: 2.1;
    transition: color 0.3s ease;
}

.services a:hover,
.services a:focus {
    color: #1e73be; /* blue on hover */
}

/* ==================================================
   PREVIEW BORDER
================================================== */

.preview-border {
    border: 2px solid #8a4fff;
    padding: clamp(20px, 5vw, 40px);
}


/* ===============================
   FORCE DESKTOP LOOK ON MOBILE
================================ */
@media (max-width: 768px) {

  .hero-section {
    padding: 100px 0;
  }

  .hero-title {
    font-size: 58px;
    line-height: 1.1;
  }

  .hero-sub {
    margin-top: 40px;
    gap: 12px;
  }

  .hero-sub .years {
    font-size: 28px;
  }

  .hero-sub .text {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .divider {
    min-height: 350px;
  }

  .services {
    font-size: 15px;
    line-height: 2;
  }

  .hero-wrapper {
    padding: 24px;
  }
}



/* ==================================================
   MICRO DEVICES (≤ 576px)
================================================== */

@media (max-width: 576px) {

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

    .divider {
        display: none;
    }

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

    .hero-sub {
        justify-content: center;
        text-align: center;
    }
}

/* ==================================================
   TABLETS (≤ 991px)
================================================== */

@media (max-width: 991px) {

    .nav-menu .nav-link {
        padding: 8px 0;
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 44px);
    }
}

/* ==================================================
   MACRO / ULTRA-WIDE SCREENS (≥ 1600px)
================================================== */

@media (min-width: 1600px) {

    .hero-section {
        padding: 120px 0;
    }

    .hero-title {
        font-size: 64px;
    }

    .services {
        font-size: 16px;
    }
}

/*Starting service*/


/* STICKY */
.sticky-wrapper{
    position:sticky;
    top:0;
    z-index:100;
    transition:.4s ease;
}

/* GLASS CARD */
.glass-card{
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(18px);
    border-radius:22px;
    padding:22px;
    border:1px solid rgba(255,255,255,.85);
    box-shadow:
        0 18px 45px rgba(0,0,0,.06),
        0 0 28px rgba(120,170,255,.18);
    transition:.35s ease;
    height:100%;
}

/* HEADER / EXPAND JOIN */
.header-card{
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}

.expanded-card{
    border-top-left-radius:0;
    border-top-right-radius:0;
    margin-top:-1px;
}

/* SHRINK */
.sticky-wrapper.shrink .header-card{
    padding:14px;
}

.sticky-wrapper.shrink .header-card h4{
    font-size:16px;
}

/* IMAGE */
.card-img{
    width:58px;
    margin-bottom:10px;
}

/* POPULAR */
.popular{
    box-shadow:
        0 22px 55px rgba(0,0,0,.08),
        0 0 35px rgba(120,180,255,.28);
}

.glass-badge{
    display:inline-block;
    margin-top:6px;
    background:rgba(255,255,255,.85);
    border-radius:20px;
    padding:4px 12px;
    font-size:12px;
}

/* FEATURES */
.feature-list{
    list-style:none;
    padding:0;
    margin-bottom:20px;
}

.feature-list li{
    margin-bottom:10px;
}

/* BUTTONS */
.glass-btn{
    background:#000;
    color:#fff;
    border-radius:30px;
    padding:10px 30px;
}

.glass-outline-btn{
    border:1px solid #000;
    background:transparent;
    border-radius:30px;
    padding:10px;
}

.glass-dark-btn{
    background:#111;
    color:#fff;
    border-radius:30px;
    padding:10px;
}

/* EXPAND */
#expandSection{
    display:none;
    margin-top:0;
    animation:expand .4s ease;
}

@keyframes expand{
    from{opacity:0; transform:translateY(14px)}
    to{opacity:1; transform:translateY(0)}
}

.stripe-evolution {
  background: #f6f9fc;
  color: #0a2540;
}

/* Sticky workflow */
.sticky-workflow {
  position: sticky;
  top: 100px;
  height: 460px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e6edf5;
  box-shadow: 0 25px 70px rgba(0, 50, 100, 0.08);
  overflow: hidden;
}

/* Core */
.core-box {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dbe7f3;
  box-shadow: inset 0 0 20px rgba(0, 120, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.core-box strong {
  color: #635bff;
}

.core-box small {
  font-size: 12px;
  opacity: 0.6;
}

/* Workflow grid */
.workflow-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px;
  z-index: 2;
}

.node {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e6edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #635bff;
  box-shadow: 0 10px 30px rgba(0, 80, 160, 0.08);
}

/* Canvas */
#neuronCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Content */
.stripe-content h2,
.stripe-content h3 {
  font-weight: 700;
}

.stripe-content p {
  max-width: 520px;
  color: #425466;
  line-height: 1.7;
}

/* Graph */
.graph-container {
  position: relative;
  height: 320px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e6edf5;
  padding: 15px;
}

.graph-tooltip {
  position: absolute;
  background: #ffffff;
  border: 1px solid #dbe7f3;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 50, 100, 0.12);
  pointer-events: none;
  display: none;
}

