html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* =========================
   PAGE TRANSITION
========================= */

.page-transition {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}

.page-transition.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition.fade-in {
  opacity: 0;
  transform: translateY(-20px);
}
/* =========================
   NAVBAR
========================= */

.navbar{
position:sticky;
top:0;
width:100%;
z-index:1000;
background:rgba(10,15,30,0.7);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,0.05);
}

.nav-container{
display:flex;
align-items:center;
justify-content:space-between;
padding:18px 40px;   /* controls left/right spacing */
width:100%;
}

.logo{
font-size:22px;
font-weight:700;
color:#fff;
}

.logo img{
height:50px;
width:auto;
display:block;
}

.logo span{
color:#06b6d4;
}

.nav-links{
display:flex;
gap:35px;                 /* more space between links */
align-items:center;
}

.nav-links a{
text-decoration:none;
color:#ccc;
letter-spacing:0.5px;  
font-size:15px;
transition:0.3s;
padding: 8px 0;
}

.nav-links a:hover{
color:#06b6d4;
}

.nav-actions{
display:flex;
align-items:center;
gap:25px;
}

.hamburger{
display:none;
font-size:24px;
cursor:pointer;
color:white;
}

/* =========================
   MOBILE NAVBAR
========================= */

@media(max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
flex-direction:column;
background:#0b1220;
display:none;
padding:20px;
gap:15px;
}

.nav-links.active{
display:flex;
}

.hamburger{
display:block;
}

}

/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0b1220;
    color: #fff;
    overflow-x: hidden;
    transition: .3s;
}

body.light {
    background: #f8f9fc;
    color: #111;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    position: relative;
    z-index: 2;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo img {
    width: 180px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.btn {
      width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #06b6d4;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #111;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 60px;
    gap: 50px;
      overflow: hidden;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 62px;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #b8c0d4;
    margin-bottom: 25px;
}

.hero-text a {
    margin-right: 10px;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-12px);
    }
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

/* ATM CARD */
.atm-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    animation: floatCard 4s ease-in-out infinite;
}

.hero-visual::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,255,163,.25), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-visual {
    perspective: 1000px;
}

.atm-card {
    transition: transform .2s ease;
    transform-style: preserve-3d;
}
/* ATM Glow Wrapper */
.hero-visual {
    position: relative;
}

/* Layered Glow */
.hero-visual::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%);
    filter: blur(70px);
    z-index: 0;
}

/* Make sure card is above glow */
.atm-card {
    position: relative;
    z-index: 2;
}
/* FLOAT ANIMATION */
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* METRIC CARDS */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 420px;
}

.fin-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    transition: .3s;
}

@media(max-width:768px){

.hero {
    flex-direction: column;
    text-align: center;
}

.hero-text h1 {
    font-size: 38px;
}

.atm-card {
    max-width: 220px;
}

.metrics {
    grid-template-columns: 1fr;
}

}
.fin1 {
    top: 20px;
    left: 20px;
}

.fin2 {
    top: 170px;
    right: 20px;
}

.fin3 {
    bottom: 20px;
    left: 130px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* FINTECH GLOW EFFECT */
.board,
.glass,
.fin-card {
    border: 1px solid rgba(255, 255, 255, .1);
    transition: .3s;
}

.board:hover,
.glass:hover,
.fin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(6, 182, 212, .4);
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, .25), transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(60px);
    z-index: -1;
}
.coin-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.coin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: coinFloat 6s infinite ease-in-out;
}
.coin {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f7931a, #ffb347);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
    animation: coinFloat 6s infinite ease-in-out;
}

.btc {
    top: 60px;
    right: 120px;
    background: #f7931a;
}

.eth {
    top: 250px;
    left: 90px;
    background: #627eea;
}

.sol {
    bottom: 80px;
    right: 80px;
    background: #00ffa3;
}

@keyframes coinFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(0)
    }

    50% {
        transform: translateY(-18px) rotateY(180deg)
    }
}

/* Crypto board */
.crypto-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.board {
    background: rgba(255, 255, 255, .08);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
}

/* SVG Wave */
.wave {
    margin-top: -1px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 70px 0;
}

.glass {
    background: rgba(255, 255, 255, .08);
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(16px);
}

/* Carousel */
.carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 18s linear infinite;
}

.slide {
    min-width: 320px;
    background: rgba(255, 255, 255, .08);
    padding: 30px;
    border-radius: 18px;
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 60px 0;
}

.testimonial {
    background: rgba(255, 255, 255, .08);
    padding: 25px;
    border-radius: 16px;
}

/* Dashboard & Charts */
.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 70px 0;
}

.dashboard-box {
    background: rgba(255, 255, 255, .08);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.chart {
    height: 250px;
    background: rgba(255, 255, 255, .08);
    border-radius: 18px;
    margin: 50px 0;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 20px;
}

.bar {
    flex: 1;
    background: #06b6d4;
    border-radius: 8px;
    animation: grow 2s ease forwards;
}

@keyframes grow {
    from {
        height: 0;
    }
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
}

/* Modal Login Glassmorphism Login UI*/
.modal {
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.65);
backdrop-filter:blur(10px);
justify-content:center;
align-items:center;
z-index:9999;
opacity:0;
transition:opacity .3s ease;
}

.modal.show{
opacity:1;
}

.modal-content{
background:rgba(255,255,255,0.08);
backdrop-filter:blur(25px);
padding:40px;
border-radius:22px;
width:90%;
max-width:400px;
border:1px solid rgba(255,255,255,0.15);
box-shadow:0 25px 60px rgba(0,0,0,0.6);
position:relative;

transform:translateY(-30px) scale(.9);
opacity:0;
transition:all .35s cubic-bezier(.17,.67,.32,1.27);
}

.modal-content input {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #33a9e4;
    border-radius:8px;
    transition:.3s;
}

.modal-content input:focus{
outline:none;
border:1px solid #06b6d4;
box-shadow:0 0 15px rgba(6,182,212,.4);
}

/* Active animation */
.modal.show .modal-content{
transform:translateY(0) scale(1);
opacity:1;
}
/* =========================
   LOGIN MODAL CLOSE BUTTON
========================= */

/* Close Button */
.close-modal{
position:absolute;
top:10px;
right:15px;
font-size:28px;
cursor:pointer;
color:white;
transition:.3s;
}

.close-modal:hover{
color:#06b6d4;
}

/* Password wrapper */
.password-wrapper{
position:relative;
}

.toggle-password{
position:absolute;
right:12px;
top:50%;
transform:translateY(-50%);
cursor:pointer;
font-size:18px;
color:#ccc;
}

.toggle-password:hover{
color:#06b6d4;
}

.full-btn{
width:100%;
}

/* Spinner */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Error Message */
.error-message {
    color: #ff4d4d;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.3s;
}

/* AI Widget */
.ai-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: calc(100vw - 40px);
    white-space: nowrap;
    background: #06b6d4;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

/* Mobile */
@media(max-width:768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    header a.btn {
        display: none;
    }  
}

/* Mobile hero adjustments: ATM card behind metric cards */
@media(max-width:768px) {
    .hero-right {
        flex-direction: column;
        /* stack items vertically */
        height: auto;
        align-items: center;
          overflow: hidden;
    }

    .atm-card {
        position: relative;
        /* so it's in the flow */
        z-index: 0;
        /* behind the metric cards */
        width: 220px;
        /* smaller on mobile */
        margin-bottom: 20px;
        /* spacing from metric cards */
        transform: none;
        animation: none;
        /* optional: stop float animation */
    }

    .fin-card {
        position: relative;
        /* stacked above ATM card */
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 10px 0;
        width: 220px;
        z-index: 1;
        /* ensure cards appear above ATM card */
        animation: none;
    }
}

/* Live Blockchain Transaction Feed */
#txFeed {
    list-style: none;
    max-height: 250px;
    overflow: hidden;
}

#txFeed li {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    animation: fadeIn .6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1
    }
}

/* Animated Money Transfers */
.transfer-line {
    height: 4px;
    background: rgba(255, 255, 255, .2);
    margin: 60px 0;
    position: relative;
}

.money {
    width: 20px;
    height: 20px;
    background: #06b6d4;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    animation: transfer 4s infinite linear;
}

@keyframes transfer {
    0% { left: 0 }
    100% { left: calc(100% - 20px); }
}

/* Mobile menu */
#mobileNav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(12px);
    padding-top: 80px;
    flex-direction: column;
    gap: 25px;
    transform: translateX(100%);
    /* fully off-screen */
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow: hidden;
    /* prevent swipe leaks */
}

#mobileNav.active {
    transform: translateX(0);
    /* slide in */
}

#mobileNav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 20px;
}

#mobileNav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

/* Show toggle button only on mobile */
@media(max-width:768px) {
    .menu-toggle {
        display: block;
    }

    header a.btn {
        display: none;
    }
}

/* AI Widget css */
.ai-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 15px;
    display: none;
}

#aiChat {
    height: 200px;
    overflow: auto;
    margin-bottom: 10px;
    font-size: 14px;
}

/* <!-- 3D Globe With Global Transactions --> */
.globe-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

#globeViz {
    width: 100%;
    height: 500px;
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#globeViz canvas {
    position: absolute !important;
    inset: 0;
}

/* AI Fraud detection css */
.fraud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

#fraudFeed {
    list-style: none;
    max-height: 200px;
    overflow: auto;
}

#fraudFeed li {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

#globeViz canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 0 !important;
}

/* ABOUT PAGE */
/* Hero Section */
.about-hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #04121c, #0a1f2d);
  position: relative;
    overflow: hidden;
}
.about-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.about-hero p {
    max-width: 650px;
    margin: auto;
    opacity: .8;
}
/* Mission & Vision */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 80px 0;
}

/* Feature Cards (Glassmorphism) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.08);
}


/* 🔥 Stats Section */
.about-stats {
    padding: 80px 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.stats-grid h2 {
    font-size: 40px;
    color: #06b6d4;
}

/* Reveal Base State */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.about-cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0a1f2d, #04121c);
}

.primary-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background: linear-gradient(90deg, #06b6d4, #00ffa3);
    border-radius: 30px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.particle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.particle-bg span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(6,182,212,.4);
    border-radius: 50%;
    animation: floatParticle 15s linear infinite;
}

.particle-bg span:nth-child(1){ left:10%; animation-delay:0s; }
.particle-bg span:nth-child(2){ left:25%; animation-delay:3s; }
.particle-bg span:nth-child(3){ left:50%; animation-delay:6s; }
.particle-bg span:nth-child(4){ left:75%; animation-delay:9s; }
.particle-bg span:nth-child(5){ left:90%; animation-delay:12s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(.5); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0;
}

.ceo-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(6,182,212,.4);
}

.ceo-text h2 {
    margin-bottom: 20px;
}

@media(max-width:768px){
  .ceo-grid{
    grid-template-columns: 1fr;
    text-align:center;
  }
}

.timeline {
    padding: 100px 0;
    text-align: center;
}

.timeline-line {
    position: relative;
    margin-top: 60px;
    padding-left: 20px;
    border-left: 2px solid rgba(6,182,212,.4);
}

.timeline-item {
    margin-bottom: 50px;
    text-align: left;
}

.timeline-item h3 {
    color: #06b6d4;
    margin-bottom: 10px;
}

/* =========================
   SERVICES PAGE STYLING
========================= */
/* ==============================
   PREMIUM CRYPTO THEME
============================== */

/* HERO SECTION */

.services-hero {
    position: relative;
    padding: 9rem 2rem 7rem;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, #1a1f3c, #0b0f1f 60%);
    overflow: hidden;
}

/* Animated crypto grid background */
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.hero-text {
    position: relative;
    z-index: 1;
}

/* Animated gradient heading */

.services-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00f0ff, #7b2cff, #00f0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 4s linear infinite;
}

@keyframes textGlow {
    to { background-position: 200% center; }
}

.services-hero p {
    margin-top: 1rem;
    font-size: 1.2rem;
    opacity: 0.85;
}

/* BUTTON */

.primary-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    background: linear-gradient(135deg, #7b2cff, #00f0ff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s ease;
    box-shadow: 0 0 20px rgba(0,240,255,0.4);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(123,44,255,0.7);
}

/* ==============================
   SERVICES GRID
============================== */

.services-section {
    padding: 6rem 2rem;
    background: #070b18;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* PREMIUM GLASS CARD */

.service-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 25px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0,240,255,0.15);
    color: #fff;
    text-align: center;
    transition: 0.4s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Neon border glow */
.service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, #7b2cff, #00f0ff);
    z-index: -1;
    opacity: 0;
    transition: 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
    filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 30px rgba(0,240,255,0.4);
}

/* Icon glow */

.service-card .icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    transition: 0.3s ease;
}

.service-card:hover .icon {
    text-shadow: 0 0 20px #00f0ff;
}

/* ==============================
   CTA SECTION
============================== */

.services-cta {
    padding: 5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, #0d132b, #070b18);
    color: #fff;
    border-top: 1px solid rgba(0,240,255,0.1);
}

/* ==============================
   SCROLL REVEAL
============================== */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   PAGE TRANSITION
============================== */

.page-transition {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.page-transition.fade-out {
    opacity: 0;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {

    .services-hero h1 {
        font-size: 2.3rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Crypto Coin Canvas */

#cryptoCoins {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.services-hero .hero-text {
    position: relative;
    z-index: 2;
}
/* REGISTER PAGE */

.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 30%, #1a1f3c, #0b0f1f 70%);
    padding: 2rem;
}

/* Glass Card */

.register-card {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 25px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,240,255,0.15);
    box-shadow: 0 0 40px rgba(0,240,255,0.1);
    color: #fff;
    text-align: center;
    animation: fadeSlide 0.8s ease;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.register-card h2 {
    font-size: 2rem;
    background: linear-gradient(90deg,#00f0ff,#7b2cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin-bottom: 2rem;
    opacity: 0.7;
}

/* Floating Inputs */

.input-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: #fff;
    outline: none;
    font-size: 1rem;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255,255,255,0.6);
    transition: 0.3s ease;
    pointer-events: none;
}

.input-group input:focus,
.input-group input:valid {
    border-color: #00f0ff;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: #0b0f1f;
    padding: 0 5px;
}

/* Password Toggle */

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Strength Meter */

.strength-meter {
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

#strengthBar {
    height: 100%;
    width: 0%;
    transition: 0.3s ease;
}

/* Button */

.register-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg,#7b2cff,#00f0ff);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(123,44,255,0.6);
}

.login-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-link a {
    color: #00f0ff;
    text-decoration: none;
}

/* Verification Overlay */

.verification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.4s ease forwards;
}

.verification-box {
    background: #111827;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    width: 380px;
    box-shadow: 0 0 40px rgba(0,150,255,0.15);
    animation: scaleIn 0.4s ease forwards;
}
.verification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.verification-box {
    text-align: center;
    color: #fff;
    max-width: 400px;
}

/* Mail Animation */
.mail-animation {
    perspective: 1000px;
    position: relative;
    width: 140px;
    height: 110px;
    margin: 0 auto 20px;
}

/* Envelope Body */
.envelope {
    position: relative;
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Flap */
.flap {
  position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    clip-path: polygon(0 0, 50% 60%, 100% 0);
    transform-origin: top;
    animation: openFlap 0.8s ease forwards;
    z-index: 3;
}

/* Letter */
.letter {
    position: absolute;
    width: 80%;
    height: 65px;
    background: white;
    left: 10%;
    top: 15px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(0);
    animation: slideLetter 0.8s ease forwards 0.7s;
    z-index: 2;
}
/* Add fake lines on letter */
.letter::before {
    content: "";
    position: absolute;
    width: 60%;
    height: 6px;
    background: #e5e7eb;
    top: 15px;
    left: 20%;
    border-radius: 3px;
}

.letter::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 6px;
    background: #e5e7eb;
    top: 30px;
    left: 30%;
    border-radius: 3px;
}

/* Animations */
@keyframes openFlap {
    to {
        transform: rotateX(-180deg);
    }
}

@keyframes slideLetter {
    to {
        transform: translateY(-40px);
    }
}

@keyframes floatMail {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Checkmark */
.checkmark {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(34,197,94,0.6);
    opacity: 0;
    transform: scale(0.5);
    animation: showCheck 0.4s ease forwards 1.8s;
}

.checkmark::after {
    content: "";
    width: 10px;
    height: 18px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

@keyframes pop {
    to { opacity: 1; transform: scale(1); }
}

/* Loading Line */
.loading-line {
    margin-top: 20px;
    height: 4px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
    border-radius: 5px;
}
.loading-line::after {
    content: '';
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg,#2563eb,#60a5fa);
    animation: loadingMove 1.2s infinite;
}

/* Animations */
@keyframes openFlap {
    to { transform: rotateX(180deg); }
}

@keyframes slideLetter {
    to { transform: translateY(-30px); }
}

@keyframes showCheck {
    to { opacity: 1; transform: scale(1); }
}

@keyframes loadingMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* @keyframes loading {
    from { width: 0%; }
    to { width: 100%; }
} */



