  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #0b0f18;
      --bg2:       #111827;
      --bg3:       #162032;
      --border:    rgba(255,255,255,0.07);
      --green:     #00e676;
      --green-dim: #00c060;
      --white:     #f0f4ff;
      --muted:     #6b7a99;
      --accent:    #1de9b6;
      --card:      rgba(255,255,255,0.04);
      --input-bg:  #0d1520;
      --receive-bg:#0e1f18;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--white);
      min-height: 100vh;
      overflow-x: hidden;
    }

 /* ── BACKGROUND GLOW ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(0, 81, 255, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0, 60, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

    /* ── NAV ── */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; align-items: center; gap: 2rem;
      padding: 0 2.5rem;
      height: 64px;
      background: rgba(11,15,24,0.85);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }

    .logo {
      display: flex; align-items: center; gap: .55rem;
      font-family: 'Syne', sans-serif;
      font-weight: 800; font-size: 1.15rem;
      color: var(--white); text-decoration: none;
      flex-shrink: 0;
    }

    .logo-icon {
      width: 32px; height: 32px;
    
      border-radius: 8px;
      display: grid; place-items: center;
      font-size: .8rem; font-weight: 900; color: #000;
    }

    .nav-links {
      display: flex; align-items: center; gap: .25rem;
      list-style: none; margin-left: 1.5rem;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: .9rem; font-weight: 500;
      padding: .45rem .85rem;
      border-radius: 6px;
      transition: color .2s, background .2s;
    }
    .nav-links a:hover { color: var(--white); background: var(--card); }
    .nav-links a.active { color: var(--green); }

    .nav-right { margin-left: auto; display: flex; align-items: center; gap: .75rem; }

    .btn-ghost {
      display: flex; align-items: center; gap: .5rem;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--white);
      font-size: .85rem; font-weight: 500;
      padding: .45rem .9rem;
      cursor: pointer; transition: border-color .2s;
      
    }
    .btn-ghost:hover { border-color: rgba(255,255,255,0.18); }
    .btn-ghost svg { opacity: .7; }

    .chevron { font-size: .65rem; opacity: .6; }

    .btn-connect {
      background: var(--red);
      color: #000;
      border: none;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 700; font-size: .9rem;
      padding: .5rem 1.25rem;
      cursor: pointer;
      transition: background .2s, transform .15s;
    }
    .btn-connect:hover { background: #00ff88; transform: translateY(-1px); }

    /* ── MAIN ── */
    main {
      position: relative; z-index: 1;
      max-width: 1260px;
      margin: 0 auto;
      padding: 3.5rem 2.5rem 6rem;
    }

    /* ── HERO ROW ── */
    .hero-row {
      display: flex; align-items: flex-start;
      gap: 3rem; flex-wrap: wrap;
      margin-bottom: 3.5rem;
    }

    .hero-left { flex: 1; min-width: 260px; }

    .hero-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 4vw, 2.9rem);
      font-weight: 800; line-height: 1.15;
      margin-bottom: 1rem;
    }
    .hero-title span { color: var(--green); }

    .hero-desc {
      font-size: .95rem; line-height: 1.65;
      color: #9bacc8; max-width: 500px;
      margin-bottom: .75rem;
    }

    .hero-link {
      color: var(--green); font-size: .9rem; font-weight: 500;
      text-decoration: none;
      display: inline-flex; align-items: center; gap: .3rem;
    }
    .hero-link:hover { text-decoration: underline; }

    /* ── STATS ── */
    .stats-grid {
      display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: flex-start;
    }

    .stat { text-align: right; }
    .stat-label { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; letter-spacing: .04em; }
    .stat-value { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; }
    .stat-value.green { color: var(--green); }

    .wallet-stat-row {
      display: flex; gap: 2.5rem; flex-wrap: wrap;
      margin-top: 1.25rem; align-items: center;
    }

    .wallet-stat {
      text-align: right;
    }
    .wallet-stat .stat-label { margin-bottom: .25rem; }
    .wallet-stat .stat-dash { font-size: 1.1rem; color: var(--muted); }

    .connect-btn-sm {
      display: flex; align-items: center; gap: .5rem;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--muted);
      font-size: .82rem; padding: .5rem .9rem;
      cursor: pointer; transition: border-color .2s, color .2s;
      white-space: nowrap;
    }
    .connect-btn-sm:hover { border-color: var(--green); color: var(--green); }

    .connect-pair {
      display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem;
    }

    /* ── NETWORK SELECT ── */
    .network-select {
      display: flex; align-items: center; gap: .55rem;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: .5rem 1rem;
      font-size: .88rem; font-weight: 500;
      cursor: pointer; width: fit-content;
      margin-bottom: 2rem;
      transition: border-color .2s;
    }
    .network-select:hover { border-color: rgba(255,255,255,0.18); }

    .net-dot {
      width: 10px; height: 10px; border-radius: 50%;
      background: #627eea; /* Ethereum blue */
      box-shadow: 0 0 6px #627eea;
    }

    /* ── TABS ── */
    .tabs { display: flex; gap: 0; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }

    .tab {
      background: none; border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: .95rem; font-weight: 500;
      color: var(--muted);
      padding: .6rem 1.25rem;
      cursor: pointer; position: relative;
      transition: color .2s;
    }
    .tab:hover { color: var(--white); }
    .tab.active { color: var(--green); }
    .tab.active::after {
      content: '';
      position: absolute; bottom: -1px; left: 0; right: 0;
      height: 2px; background: var(--green);
      border-radius: 2px 2px 0 0;
    }

    /* ── STAKE PANEL ── */
    .stake-panel {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 1.5rem;
      align-items: center;
    }

    @media (max-width: 680px) {
      .stake-panel { grid-template-columns: 1fr; }
      .arrow { transform: rotate(90deg); }
    }

    .input-group { display: flex; flex-direction: column; gap: .55rem; }
    .input-label { font-size: .82rem; color: var(--muted); font-weight: 500; }

    .token-input {
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1rem 1.1rem;
      display: flex; align-items: center; gap: .75rem;
      transition: border-color .25s;
    }
    .token-input:focus-within { border-color: rgba(0,230,118,0.4); }

    .token-input input {
      flex: 1;
      background: none; border: none; outline: none;
      color: var(--white);
      font-family: 'Syne', sans-serif;
      font-size: 1.5rem; font-weight: 700;
      min-width: 0;
    }
    .token-input input::placeholder { color: var(--muted); }

    .max-btn {
      background: none; border: none;
      color: var(--muted); font-size: .78rem; font-weight: 600;
      cursor: pointer; letter-spacing: .06em;
      transition: color .2s;
    }
    .max-btn:hover { color: var(--green); }

    .token-badge {
      display: flex; align-items: center; gap: .45rem;
      background: rgba(255,255,255,0.06);
      border-radius: 8px;
      padding: .3rem .65rem;
      font-size: .88rem; font-weight: 600;
    }
    .token-dot {
      width: 18px; height: 18px; border-radius: 50%;
    }
    .dot-usdt { background: #26a17b; }
    .dot-stusdt { background: #f5a623; }

    .input-footer {
      display: flex; justify-content: space-between;
      font-size: .8rem; color: var(--muted);
    }

    /* receive box */
    .receive-input {
      background: var(--receive-bg);
      border: 1px solid rgba(0,230,118,0.12);
      border-radius: 12px;
      padding: 1rem 1.1rem;
      display: flex; align-items: center; gap: .75rem;
    }
    .receive-input .big-num {
      flex: 1;
      font-family: 'Syne', sans-serif;
      font-size: 1.5rem; font-weight: 700;
      color: var(--muted);
    }

    .arrow {
      display: grid; place-items: center;
      width: 44px; height: 44px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 50%;
      font-size: 1.1rem;
      color: var(--muted);
      flex-shrink: 0;
    }

    /* ── CONNECT WALLET BIG BTN ── */
    .btn-connect-big {
      display: block; width: 100%; max-width: 340px;
      margin: 2.5rem auto 0;
      background: var(--green);
      border: none; border-radius: 12px;
      color: #000;
      font-family: 'Syne', sans-serif;
      font-weight: 800; font-size: 1rem;
      padding: 1rem 2rem;
      cursor: pointer;
      transition: background .2s, transform .15s, box-shadow .2s;
      letter-spacing: .02em;
    }
    .btn-connect-big:hover {
      background: #00ff88;
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0,230,118,0.3);
    }

    /* ── DIVIDER ── */
    hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-title  { animation: fadeUp .6s ease both; }
    .hero-desc   { animation: fadeUp .6s .1s ease both; }
    .hero-link   { animation: fadeUp .6s .15s ease both; }
    .stats-grid  { animation: fadeUp .6s .2s ease both; }
    .tabs        { animation: fadeUp .6s .25s ease both; }
    .stake-panel { animation: fadeUp .6s .32s ease both; }
    .btn-connect-big { animation: fadeUp .6s .4s ease both; }

    /* number pulse on stat values */
    .stat-value { animation: fadeUp .7s .3s ease both; }

    /* ── SECTION DIVIDER BAND ── */
    .section-band {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      margin: 0;
      padding: 3rem 0;
    }

    .section-inner {
      max-width: 1260px;
      margin: 0 auto;
      padding: 0 2.5rem;
    }

    /* ── INTRODUCTION ── */
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 2.5rem;
      align-items: start;
    }

    @media (max-width: 780px) {
      .intro-grid { grid-template-columns: 1fr; }
    }

    .intro-left {}

    .section-heading {
      font-family: 'Syne', sans-serif;
      font-size: 1.35rem; font-weight: 800;
      margin-bottom: 1.1rem;
      display: flex; align-items: center; gap: .85rem;
    }

    .btn-learn {
      display: inline-flex; align-items: center;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 7px;
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: .8rem; font-weight: 500;
      padding: .3rem .85rem;
      cursor: pointer; text-decoration: none;
      transition: border-color .2s;
    }
    .btn-learn:hover { border-color: rgba(255,255,255,0.25); }

    .intro-para {
      font-size: .92rem; line-height: 1.75;
      color: #9bacc8; margin-bottom: 1rem;
    }

    .contract-row {
      display: flex; gap: 3rem; flex-wrap: wrap;
      margin-top: 1.8rem;
    }

    .contract-item {}
    .contract-name {
      display: flex; align-items: center; gap: .5rem;
      font-size: .92rem; font-weight: 600;
      margin-bottom: .3rem;
    }
    .green-dot {
      width: 9px; height: 9px; border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 6px var(--green);
      flex-shrink: 0;
    }
    .contract-addr {
      font-size: .75rem; color: var(--muted);
      font-family: 'DM Sans', monospace;
      letter-spacing: .01em;
    }

    /* ── FEES CARD ── */
    .fees-card {
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.5rem 1.75rem;
    }

    .fees-title {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem; font-weight: 700;
      margin-bottom: 1.4rem;
    }

    .fee-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: .7rem 0;
      border-bottom: 1px solid var(--border);
      font-size: .88rem;
    }
    .fee-row:last-child { border-bottom: none; padding-bottom: 0; }
    .fee-key { color: var(--muted); }
    .fee-val { font-weight: 600; font-family: 'Syne', sans-serif; }
    .fee-val.free { color: var(--green); }

    /* ── APY SECTION ── */
    .apy-section {
      max-width: 1260px;
      margin: 0 auto;
      padding: 3rem 2.5rem 5rem;
      position: relative; z-index: 1;
    }

    .apy-header {
      display: flex; align-items: center; gap: .85rem;
      margin-bottom: 2rem;
    }

    .apy-grid {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 2rem;
      align-items: start;
    }

    
/* faq */

.con{
    height: 33.7rem;
    width: 90rem;
    background-color: #243338;
    margin: auto;
    margin-top: 6.5rem;
    border-radius: 10px;
    padding-top: 18px;
}

.text-1{
    font-size: 27px;
    color: white;
    margin-bottom: 30px;
    margin-left: 2.5rem;
}

.box-1{
    height: 4rem;
    width: 85rem;
    background-color: #202E32;
    border-radius: 4px;
    margin: auto;
    cursor: pointer;
}

.p-tag{
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 1rem;
}

.summ{
    color: white;
    margin-top: 1rem;
    padding-top: 1.3rem;
}

.box-2{
    height: 3.8rem;
    width: 85rem;
    background-color: #202E32;
    margin-bottom: 1rem;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    position: initial;
}

.dropdown{
    margin-right: auto;
}

.green{
    color: rgb(125, 251, 196);
}

.green:hover{
    cursor: pointer;
    text-decoration: underline;
}
/* faq end */
/* FOOTER */
footer {
  border-top: 1px solid #0f2a2e;
  padding: 15px 20px;
  font-size: 13px;
  color: #8aa2a5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

    @media (max-width: 640px) {
      .apy-grid { grid-template-columns: 1fr; }
    }

    .apy-stats {}
    .apy-stat { margin-bottom: 1.6rem; }
    .apy-stat-label { font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
    .apy-stat-value {
      font-family: 'Syne', sans-serif;
      font-size: 1.6rem; font-weight: 800;
    }

    /* ── CHART ── */
    .chart-wrap {
      position: relative;
      height: 200px;
    }

    canvas#apyChart {
      width: 100% !important;
      height: 100% !important;
    }

    /* y-axis labels drawn manually */
    .y-labels {
      position: absolute;
      left: 0; top: 0; bottom: 0;
      display: flex; flex-direction: column;
      justify-content: space-between;
      pointer-events: none;
      padding: 4px 0;
    }
    .y-label {
      font-size: .75rem; color: var(--muted);
      line-height: 1;
    }

/* ===============================
   🔥 CLEAN MOBILE SYSTEM (FINAL)
================================= */

/* GLOBAL MOBILE SCALE */
@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  main {
    padding: 2rem 1rem 4rem;
  }

  .hero-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .stats-grid {
    gap: 1.5rem;
    justify-content: space-between;
  }

  .stat,
  .wallet-stat {
    text-align: left;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .wallet-stat-row {
    gap: 1.5rem;
  }
}


/* ===============================
   🔥 INPUT + STAKE PANEL FIX
================================= */
@media (max-width: 768px) {

  .stake-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .arrow {
    transform: rotate(90deg);
    margin: auto;
  }

  .token-input {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
  }

  .token-input input {
    font-size: 1.1rem;
  }

  .receive-input {
    padding: 0.7rem 0.8rem;
  }

  .receive-input .big-num {
    font-size: 1.1rem;
  }

  .token-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .token-dot {
    width: 14px;
    height: 14px;
  }

  .max-btn {
    font-size: 0.7rem;
  }
}


/* ===============================
   🔥 BUTTONS + NETWORK
================================= */
@media (max-width: 768px) {

  .btn-connect-big {
    font-size: 0.9rem;
    padding: 0.8rem;
    width: 100%;
  }

  .connect-btn-sm {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
    width: 100%;
    justify-content: center;
  }

  .connect-pair {
    flex-direction: column;
    align-items: stretch;
  }

  .network-select {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
}


/* ===============================
   🔥 NAVBAR (FIXED + CLEAN)
================================= */

/* hide mobile extras on desktop */
.mobile-only {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--white);
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 75%;
    height: calc(100vh - 64px);
    background: var(--bg2);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
    z-index: 200;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-right {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
}


/* ===============================
   🔥 INTRO + APY
================================= */
@media (max-width: 780px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .apy-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   🔥 FAQ FIX
================================= */
@media (max-width: 768px) {

  .con {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 3rem;
    padding: 1rem;
  }

  .text-1 {
    font-size: 18px;
    margin-left: 0;
  }

  .box-1,
  .box-2 {
    width: 100%;
    height: auto;
    padding: 1rem;
    font-size: 0.85rem;
  }
}


/* ===============================
   🔥 EXTRA SMALL PHONES
================================= */
@media (max-width: 480px) {

  .hero-title {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .token-input input {
    font-size: 1rem;
  }

  .receive-input .big-num {
    font-size: 1rem;
  }

  .btn-connect-big {
    font-size: 0.85rem;
  }
}
/* ===============================
   🔥 CONNECT BUTTONS (FINAL FIX)
================================= */

.connect-pair {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  .connect-pair {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔥 side by side */
    gap: 0.6rem;
    width: 100%;
  }

  .connect-btn-sm {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}