:root{
    --purple:#5b2cff;
    --dark:#0b0f2b;
    --dark-2:#13164a;
    --text:#ffffff;
    --muted:#cdd2ff;
    --card-bg:#1a1f4d;
    --green:#4ade80;
    --red:#f87171;
    --btn-bg:#5b2cff;
}
*{margin:0;padding:0;box-sizing:border-box}
body{
    font-family:Inter,system-ui,sans-serif;
    background:linear-gradient(180deg,#2a166f 0%, #0b0f2b 70%);
    color:var(--text);
    overflow-x:hidden;
    position:relative;
}
html, body{
    overflow-x: hidden;
}

.web3-section{
overflow: hidden;
}

.web3-inner{
perspective: 1000px;
}


/* ========================================STARS LIKE SAFEPAL */
.star{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,0.7);
    box-shadow:0 0 8px rgba(255,255,255,0.5);
}
.star.blink{
    animation: blink 1.5s infinite alternate;
}
@keyframes blink{
    0%{opacity:0.2;transform:scale(0.5)}
    50%{opacity:1;transform:scale(1)}
    100%{opacity:0.2;transform:scale(0.5)}
}

/*========================================== HEADER */
header{
    background:var(--dark-2);
    padding:16px 42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    z-index:999;
}
.main-header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(11, 8, 48, 0.95);
    backdrop-filter: blur(12px);
}
.main-header[data-aos] {
    transform: none !important;
}



.brand{font-size:20px;font-weight:800}
.header-right{display:flex;gap:16px;align-items:center;position:relative}
.btn{padding:8px 18px;border-radius:999px;border:none;font-weight:700;cursor:pointer}
.login{background:transparent;color:#fff;border:1px solid #fff}
.signup{background:var(--btn-bg);color:#fff}

/*=================================== HERO =============================*/

.hero{padding:60px 42px 40px;
    margin-top:10rem;}
.hero-inner{max-width:1300px;margin:auto;display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center}

h1{font-size:clamp(50px,6.5vw,96px);font-weight:900;letter-spacing:-0.03em;line-height:1.05}
.subtitle{margin-top:20px;font-size:18px;color:var(--muted);max-width:520px}

/* DASHBOARD PHONE */
/* ================= DASHBOARD PHONE (RESTYLED) ================= */

.dashboard-wrapper{
display:flex;
justify-content:center;
align-items:center;
animation: float 4s ease-in-out infinite;
}

@keyframes float{
0%,100%{ transform: translateY(0) }
50%{ transform: translateY(-14px) }
}

.dashboard{
position:relative;
width:320px;
height:560px;
border-radius:40px;
padding:18px 16px 20px;
background:linear-gradient(180deg,#111,#0b0b14);
box-shadow:
    0 40px 120px rgba(0,0,0,.65),
    inset 0 0 0 1px rgba(255,255,255,.06);
display:flex;
flex-direction:column;
z-index:2;
backdrop-filter: blur(12px);
}

/*============================================================ NOTCH */
.notch{
width:120px;
height:18px;
background:#000;
border-radius:0 0 14px 14px;
margin:0 auto 12px;
box-shadow: inset 0 -2px 0 rgba(255,255,255,.08);
}

/* ==========================================================HEADER */
.dash-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:18px;
}

.site-name{
font-weight:800;
font-size:15px;
letter-spacing:.3px;
}

.dash-header div:last-child{
font-size:18px;
opacity:.85;
}

/* ==================================================BALANCE */
.balance{
font-size:30px;
font-weight:900;
letter-spacing:-0.02em;
}

.balance-sub{
font-size:13px;
color:var(--muted);
margin-bottom:16px;
}

/* ================================================CARDS LIST */
.cards{
display:flex;
flex-direction:column;
gap:12px;
flex-grow:1;
overflow-y:auto;
padding-right:6px;
}

/* =====================================================CARD */
.card{
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 16px;
border-radius:18px;
background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 10px 20px rgba(0,0,0,.25);
transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover{
transform: translateY(-3px);
box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 16px 30px rgba(0,0,0,.4);
}

.card-name{
font-weight:600;
font-size:14px;
}

.card-amount{
font-weight:700;
font-size:14px;
}

/* ===============================================PRICE CHANGE */
.up{
color:#3ddc97;
font-weight:600;
margin-left:6px;
}

.down{
color:#ff5c5c;
font-weight:600;
margin-left:6px;
}

/* ====================================================SCROLLBAR */
.cards::-webkit-scrollbar{
width:5px;
}

.cards::-webkit-scrollbar-thumb{
background:linear-gradient(#555,#333);
border-radius:4px;
}

/* ===========================================================GLOW */
.glow{
position:absolute;
border-radius:50%;
filter:blur(100px);
opacity:.4;
z-index:0;
}

.g1{
width:280px;
height:280px;
background:#6f7dff;
top:60px;
left:120px;
}

.g2{
width:360px;
height:360px;
background:#4b2cff;
bottom:-40px;
right:100px;
}


/*============================ SECTION 2========================== */
.section {
    width: 92%;
    max-width: 1200px;
    background: radial-gradient(1200px 600px at 50% -200px, #2b1f7a, #0b0830 60%);
    border-radius: 28px;
    padding: 80px 80px 90px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff22 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.tag { text-align: center; font-size: 11px; letter-spacing: 2px; color: #6ef3c5; font-weight: 600; margin-bottom: 14px; }
.section h1 { text-align: center; font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section .subtitle { max-width: 640px; margin: 0 auto 60px; text-align: center; font-size: 13px; line-height: 1.7; color: #cfd2ff; }
.section .cars { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; flex-wrap: wrap; }
.section .car { text-align: center; }
.visual { height: 240px; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; }
.stack { display: flex; align-items: flex-end; gap: 14px; }
.coins { width: 46px; background: repeating-linear-gradient(to top, #42f5c2, #42f5c2 6px, #2bd3a3 6px, #2bd3a3 12px); border-radius: 10px; }
.h1 { height: 160px; } .h2 { height: 120px; } .h3 { height: 90px; }
.coin { width: 42px; height: 42px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 8px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.phone { width: 260px; height: 180px; background: linear-gradient(180deg, #ffffff, #eaeaff); border-radius: 18px; position: relative; transform: rotate(-6deg); box-shadow: 0 40px 90px rgba(0,0,0,.4); }
.screen { position: absolute; inset: 10px; background: #fff; border-radius: 12px; }
.section .car h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.section .car p { font-size: 12px; line-height: 1.6; color: #cfd2ff; max-width: 320px; margin: 0 auto; }
@media (max-width: 900px) { .hero-inner{grid-template-columns:1fr} .section { padding:60px 30px; } .section .cards { grid-template-columns:1fr; gap:60px; } }

/*=================================================== FOOTER */
footer{
    background:#13164a; color:#cdd2ff; padding:60px 42px; font-family:Inter,system-ui,sans-serif; margin-top:60px;
}
footer h4{color:#fff; margin-bottom:16px; font-weight:700;}
footer ul{list-style:none; line-height:2; font-size:14px; padding:0;}
footer a{color:#6ef3c5; text-decoration:none;}
footer .footer-bottom{ text-align:center; margin-top:60px; font-size:13px; color:#888; }
footer .footer-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:40px; max-width:1300px; margin:auto; }

    /* =============================================== */
    /* ================= RESPONSIVE ONLY ================= */


/* Small phones */
@media (max-width: 480px){

    .header-right{
    gap:10px;
    }

    .btn{
    padding:5px 12px;
    font-size:12px;
    }

    .dashboard-wrapper{
    transform: scale(.85);
    }

    .dashboard{
    width:270px;
    height:550px;
    }

    .balance{
    font-size:24px;
    }

    .section{
    padding:40px 18px;
    }

    footer{
    padding:40px 18px;
    }

    footer .footer-grid{
    gap:30px;
    }
}
/* ======================================================== */
 /* ================= HEADER ================= */

.main-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 8, 48, 0.95);
  backdrop-filter: blur(12px);
}


.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Right buttons */
.nav {
  display: flex;
  gap: 14px;
}

.btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

.login {
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff44;
}

.signup {
  background: #6ef3c5;
  color: #000;
  font-weight: 600;
}

/* ========== MOBILE MENU ICON ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

/* ================= RESPONSIVENESS ================= */

/* Tablet & below */
@media (max-width: 900px) {
  .main-header {
    padding: 16px 30px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(11, 8, 48, 0.95);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 12px;
    display: none;
  }

  .nav.active {
    display: flex;
  }
}

/* ================= HERO STARS ================= */
.hero-stars{
position:absolute;
inset:0;
pointer-events:none;
overflow:hidden;
z-index:0;
}

.f-star{
position:absolute;
color:#fff;
opacity:.85;
filter: drop-shadow(0 0 8px rgba(255,255,255,.6));
}

.f-star.small{ font-size:12px; }
.f-star.medium{ font-size:18px; }
.f-star.big{ font-size:26px; }

.blink{
animation: blink 2.5s infinite ease-in-out;
}

@keyframes blink{
0%,100%{ opacity:.2 }
50%{ opacity:1 }
}

/* ============================================= */

.features-section{
/* background:#4b2cff; */
padding:100px 40px 120px;
text-align:center;
color:#fff;
margin-top: 4rem;
}

.features-section h2{
font-size:32px;
font-weight:800;
margin-bottom:80px;
line-height:1.25;
}

.features-grid{
max-width:1200px;
margin:0 auto;
display:flex;
flex-wrap: wrap;
grid-template-columns:repeat(3,1fr);
gap:80px 60px;
}

.feature{
max-width:320px;
margin:0 auto;
}

.feature h3{
font-size:16px;
font-weight:700;
margin:18px 0 12px;
}

.feature p{
font-size:13px;
line-height:1.7;
color:#e6e6ff;
}

/* Center last two items */
.center-item{
grid-column: span 3;
justify-self: center;
max-width:320px;
}

/* Responsive */
@media(max-width:900px){
.features-grid{
    grid-template-columns:1fr;
    gap:60px;
}
.center-item{
    grid-column:auto;
}
}
/* ================================================= */
/* ===== SafePal-style subtle motion ===== */

/* Icon floating (very subtle) */
.enumera-img{
animation: floatIcon 6s ease-in-out infinite;
will-change: transform;
}

/* Slight variation so they don’t move together */
.enumera-1{ animation-delay: 0s; }
.enumera-2{ animation-delay: .5s; }
.enumera-3{ animation-delay: 1s; }
.enumera-4{ animation-delay: 1.5s; }
.enumera-5{ animation-delay: 2s; }

    @keyframes floatIcon{
    0%{ transform: translateY(0); }
    50%{ transform: translateY(-8px); }
    100%{ transform: translateY(0); }
    }

/* Card hover — very premium & soft */
.feature{
transition: transform .4s ease, box-shadow .4s ease;
}

.feature:hover{
transform: translateY(-6px);
}

/* Icon micro scale on hover */
.feature:hover .enumera-img{
transform: translateY(-8px) scale(1.05);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
.enumera-img{
    animation: none;
}
}

/* =========================================================================== */

.web3-section{
  background:#4b2cff;
  padding-top: 120px;
  padding-bottom: 120px;
  padding-left: 90px;
  color:#fff;
}

.web3-inner{
  max-width:1300px;
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr 0.8fr; /* slightly wider left column */
  align-items:center;
  gap:80px;
}

/* LEFT */
.eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  opacity:.9;
}

.web3-text{
  margin-left:10px; /* small left margin */
}

.web3-text h1{
  font-size:56px; /* slightly larger */
  font-weight:800;
  line-height:1.15;
  margin:18px 0 28px;
}

.desc{
  font-size:15px; /* increased for readability */
  line-height:1.9;
  color:#e6e6ff;
  max-width:560px; /* slightly wider */
}

/* Bottom features */
.web3-features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:70px;
}

.w-feature{
  max-width:220px;
}

.w-feature .icon{
  width:40px; /* slightly bigger */
  height:40px;
  border-radius:8px;
  background:rgba(255,255,255,.15);
  margin-bottom:14px;
}

.w-feature p{
  font-size:13px; /* slightly bigger for clarity */
  line-height:1.6;
  color:#e6e6ff;
}

/* RIGHT */
.web3-visual{
  position:relative;
  margin-right: -1.5rem; 
}

.web3-visual img{
  width:100%;
  max-width:540px; /* slightly bigger */
  display:block;
}

/* Responsive */
@media(max-width:900px){
  .web3-inner{
    grid-template-columns:1fr;
    text-align:center;
  }

  .web3-features{
    grid-template-columns:1fr;
    gap:30px;
    justify-items:center;
  }

  .desc{
    margin:auto;
  }

  .web3-visual{
    margin-left:0;
  }
}

  @media(max-width:900px){
    .hero{
      margin-top:3rem;
    }
    .visual{
      margin-top: 10rem;
      /* margin-bottom: 2rem; */
    }
     .cars { 
      flex-wrap: wrap;
      }
    .web3-section{ 
      padding-left: 5% !important;
      margin-left: 0% !important;
    }
    .web3-visual{
     margin-left: 50% !important;
    }

  }

  @media(max-width:1000px){
       .section {
      /* width: 92%;
      max-width: 1200px; */

        margin-left: 5% !important;
        margin-right: 5% !important;
      
    }

 
  }
  /* =========================
   RESPONSIVENESS – SECTION 2
   ========================= */

/* ---------- <= 1200px ---------- */
@media (max-width: 1200px) {
  .section {
    margin-left: 30px;
    margin-right: 30px;
  }

  .section .cars {
    gap: 60px;
  }
}

/* ---------- <= 900px (TABLET) ---------- */
@media (max-width: 900px) {
  .section {
    padding: 60px 40px 70px;
    margin-right:10% !important ;
  }

  .section h1 {
    font-size: 34px;
  }

  .section .subtitle {
    font-size: 12.5px;
    margin-bottom: 45px;
  }

  /* Stack cards vertically */
  .section .cars {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .visual {
    height: 220px;
  }
}

/* ---------- <= 600px (MOBILE) ---------- */
@media (max-width: 600px) {
  .section {
    width: 100%;
    padding: 50px 22px 60px;
    margin-right: 2% !important;
    margin-left: 0% !important;
    border-radius: 20px;
  }

  .tag {
    font-size: 10px;
  }

  .section h1 {
    font-size: 28px;
  }

  .section .subtitle {
    font-size: 12px;
    line-height: 1.6;
  }

  .visual {
    height: auto;
  }

  .stack {
    gap: 10px;
  }

  .coins {
    width: 38px;
  }

  .coin {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .section .car p {
    max-width: 100%;
  }
  .web3-visual{
     margin-left: 27% !important;
    }
}

/* ---------- <= 420px (SMALL PHONES) ---------- */
@media (max-width: 420px) {
  .section h1 {
    font-size: 24px;
  }
   .visual{
      margin-top: 3rem !important;
      /* margin-bottom: 2rem; */
    }

  .section {
    padding: 45px 18px 55px;
  }
    .web3-visual{
     margin-left: 20% !important;
    }
}

/* -============================================ */
.cta-wave{
  position:absolute;
  top:-1px; /* adjust to overlap previous section */
  left:0;
  width:100%;
  height:80px;
  z-index:0;
}
.cta-inner{
  position:relative;
  z-index:1; /* above wave and stars */
}

/* CTA Section */
.cta-section{
  background:#ffffff;
  color:#0b0f2b;
  padding:80px 42px;
  text-align:center;
  position:relative;
  overflow:hidden; /* ensure stars don't overflow */
}

/* CTA Stars */
.cta-stars{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}

.c-star{
  position:absolute;
  background:#0b0f2b; /* dark stars for white background */
  border-radius:50%;
  opacity:.6;
}

/* Small stars */
.c-star.small{
  width:3px;
  height:3px;
  box-shadow:0 0 6px rgba(11,15,43,.6);
}

/* Big stars */
.c-star.big{
  width:12px;
  height:12px;
  box-shadow:
    0 0 12px rgba(11,15,43,.9),
    0 0 24px rgba(140,160,255,.4);
}

/* Blinking animation */
.c-star.blink{
  animation: ctaBlink 1.8s ease-in-out infinite;
}

@keyframes ctaBlink{
  0%{
    opacity:.2;
    transform:scale(.6);
  }
  50%{
    opacity:1;
    transform:scale(1);
  }
  100%{
    opacity:.2;
    transform:scale(.6);
  }
}

/* CTA Inner Content */
.cta-inner{
  max-width:900px;
  margin:auto;
  position:relative;
  z-index:1; /* above stars */
}

.cta-section h2{
  font-size:32px;
  font-weight:800;
  margin-bottom:20px;
}

.cta-section p{
  font-size:16px;
  color:#555555;
  margin-bottom:36px;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.cta-btn{
  padding:14px 28px;
  border-radius:30px;
  font-weight:700;
  text-decoration:none;
  transition:all 0.3s ease;
  display:inline-block;
}

.cta-btn.primary{
  background:#5b2cff;
  color:#fff;
}

.cta-btn.primary:hover{
  background:#4620d9;
}

.cta-btn.secondary{
  background:#f3f3f3;
  color:#0b0f2b;
  border:1px solid #ccc;
}

.cta-btn.secondary:hover{
  background:#e6e6e6;
}

/* Responsive */
@media(max-width:768px){
  .cta-section h2{
    font-size:26px;
  }
  .cta-section p{
    font-size:14px;
  }
}
/* =========================================================== */

/* ===========================Footer Stars */
.f-star.small{
  width:3px; height:3px; background:#fff; border-radius:50%;
  opacity:.6; box-shadow:0 0 6px rgba(255,255,255,.6);
  position:absolute;
}
.f-star.big{
  font-size:18px;
  color:#fff;
  position:absolute;
  text-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 24px rgba(140,160,255,.6);
}
.f-star.blink{
  animation: footerBlink 1.8s ease-in-out infinite;
}
@keyframes footerBlink{
  0%{opacity:.2; transform:scale(.6);}
  50%{opacity:1; transform:scale(1);}
  100%{opacity:.2; transform:scale(.6);}
}

/* Links & socials */
.safepal-footer a{
  color:#cdd2ff;
  text-decoration:none;
  transition:color .2s ease, opacity .2s ease;
}
.safepal-footer a:hover{color:#ffffff; opacity:.9;}
.socials a{font-size:2rem; opacity:.8;}
.socials a:hover{opacity:1;}

/* Footer container */
.safepal-footer{
  background: radial-gradient(1200px 600px at 80% -200px, #2b2f86, #0b0f2b 60%);
  padding:80px 42px 40px;
  color:#cdd2ff;
  position:relative;
  overflow:hidden;
}
.safepal-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(#ffffff22 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
}

/* Footer content */
.footer-inner{max-width:1300px; margin:auto; position:relative; z-index:1;}
.footer-cols{display:grid; grid-template-columns:repeat(5,1fr); gap:60px;}
.col h4{color:#fff; font-size:15px; margin-bottom:18px;}
.col ul{list-style:none; font-size:14px; line-height:2.1;}
.footer-bottom{
  margin-top:70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:#9aa0ff;
  flex-wrap:wrap;
  gap:20px;
}
.footer-bottom a{color:#9aa0ff; text-decoration:none;}
.socials{display:flex; gap:16px; font-size:13px; opacity:.85;}
@media(max-width:1000px){.footer-cols{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.footer-cols{grid-template-columns:1fr} .footer-bottom{flex-direction:column;align-items:flex-start}}

/* Footer Stars */
.footer-stars{position:absolute; inset:0; pointer-events:none; z-index:0;}

/* Small stars */
.f-star.small{
  width:3px; height:3px;
  background:#ffffff;
  border-radius:50%;
  opacity:.6;
  box-shadow:0 0 6px rgba(255,255,255,.6);
}

/* Big star shape */
.f-star.big.star-shape{
  width:12px; height:12px;
  background:transparent;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 
    79% 91%, 50% 70%, 21% 91%, 32% 57%, 
    2% 35%, 39% 35%
  );
  background:white;
  opacity:1;
  box-shadow:0 0 12px rgba(255,255,255,.9), 0 0 24px rgba(140,160,255,.6);
}

/* Blinking animation */
.f-star.blink{
  animation: footerBlink 1.8s ease-in-out infinite;
}
@keyframes footerBlink{
  0%{opacity:.2; transform:scale(.6);}
  50%{opacity:1; transform:scale(1);}
  100%{opacity:.2; transform:scale(.6);}
}

