/* GLOBAL */
body {
    background: #f5f7fb;
}

* {
    transition: all 0.25s ease;
}

.nexora {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
}

.nx-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px; /* 🔥 important */
}

.nx-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left; /* 🔥 as you wanted */
    font-family: 'Poppins', sans-serif;
}

.nx-section {
    margin-top: 140px;
}

/* HERO */
.nx-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, #dbeafe, #f8fbff);
}

.nx-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.nx-title span {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    color: transparent;
}

.nx-subtitle {
    margin-top: 15px;
    font-size: 18px;
    color: #555;
}

/* BUTTONS */
.nx-btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nx-primary {
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37,117,252,0.3);
}

.nx-primary:hover {
    transform: translateY(-3px);
}

.nx-outline {
    border: 1px solid #ccc;
    background: #fff;
}

.nx-outline:hover {
    background: #f1f5f9;
}

/* GLASS EFFECT */
.nx-glass-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* STATS */
.nx-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nx-stat-box {
    background: linear-gradient(135deg, #ffffff, #f1f5ff);
    border: 1px solid #e6ebff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.nx-stat-box h3 {
    font-size: 32px;
    color: #2575fc;
}

.nx-stat-box:hover {
    transform: translateY(-5px);
}

/* FEATURES */
.nx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nx-features .nx-grid {
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.nx-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.nx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    opacity: 0;
    transition: 0.3s;
}

.nx-card:hover::before {
    opacity: 0.08;
}

.nx-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.nx-card span {
    font-size: 36px;
}

/* STEPS */
.nx-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.nx-steps-grid::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    z-index: 0;
}

.nx-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.nx-step span {
    display: inline-block;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    margin-bottom: 10px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(37,117,252,0.3);
}

/* DEMO */
.nx-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nx-demo-card {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.nx-demo-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.nx-demo-grid .nx-glass-card {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.nx-demo-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* TESTIMONIAL */
.nx-test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.nx-test-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.nx-test-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nx-test-top img {
    border-radius: 50%;
}

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

/* CTA */
.nx-final-cta {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: #fff;
    border-radius: 20px;
    margin: 80px auto;
    width: 90%;
}

.nx-final-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.nx-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nx-hero-content {
    flex: 0 0 40%;
}

.nx-hero-preview {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

.nx-hero-preview img {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(37,117,252,0.25);
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: 0.3s;
}

.nx-hero-preview img:hover {
    transform: perspective(1200px) rotateY(0deg) scale(1.02);
}

.nx-section .nx-grid .nx-card {
    text-align: left;
    padding: 25px;
}

.nx-card h4 {
    margin-bottom: 10px;
}

.nx-title span {
    text-shadow: 0 10px 30px rgba(106,17,203,0.4);
}

/* RESPONSIVE */
@media(max-width:768px){
    .nx-title {
        font-size: 40px;
    }
}

/* --------------------------------------------------
    Toggle Butoon on Login and registration Page
-------------------------------------------------- */
.password-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
}

/* Switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.3s;
}

/* Circle */
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

/* Active state */
.switch input:checked + .slider {
    background-color: #2563eb;
}

.switch input:checked + .slider:before {
    transform: translateX(18px);
}

.toggle-label {
    font-size: 14px;
    color: #444;
}