*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* --------------------------real css------------------------ */

body{
    overflow-x: hidden;
}

.NightMode {
    background-color: #1d1d1d;
    color: #37FF8B;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    padding: 20px 0;
}

.left-header {
    display: flex;
    align-items: center;
    gap: 50px;
}

nav{
    display: none;
}

.right-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sign{
    display: none;
}

#modes {
    background-color: #1d1d1d;
    border: 1px solid #1d1d1d;
    color: #37FF8B;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
}

.burger{
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 30px;
}

.burger span{
    height: 4px;
    background-color: #37FF8B;
    border-radius: 2px;
    width: 100%;
}

/* ---------------hero--------------------- */

.hero{
    max-width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    align-items: center;
    background: linear-gradient(135deg, #d9e8d8 0%, #d9e8d850 100%);
    border-radius: 15px;
    padding: 20px;
}

.highlight{
    color: #37FF8B;
    font-family: "Arial";
}

.group{
    margin-top: 40px;
}

.hero-p{
    margin-top: 50px;
    color: #409161;
    font-family: "Arial";
    text-align: center;
    max-width: 400px;
}


.extra-p{
    display: none;
}

.more-btn, .less-btn{
    color: #37FF8B;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

.extra-p-show {
    display: inline;
}

.NightMode .hero{
    background: linear-gradient(135deg, #2a2a2a 0%, #2a2a2a50 100%);
}

/* --------------------------about section--------------------- */

#about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    width: 300px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.badge {
    background: #4a148c;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-content {
    padding: 40px 30px;
    text-align: center;
}

.plan-name {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.price-box {
    margin-bottom: 30px;
}

.amount {
    font-size: 48px;
    font-weight: bold;
    color: #1d1d1d;
}

.currency, .period {
    font-size: 20px;
    color: #666;
}

.upgrade-btn {
    background: #ff0050; 
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.upgrade-btn:hover {
    background: #e60048;
    box-shadow: 0 5px 15px rgba(255, 0, 80, 0.3);
}

.features {
    list-style: none;
    text-align: left;
    padding: 0;
}

.features li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    background: #efefff;
    color: #6366f1;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.NightMode .pricing-card {
    background: #2a2a2a;
    border-color: #444;
}

.NightMode .plan-name, .NightMode .amount {
    color: #37FF8B;
}

.NightMode .features li {
    color: #ccc;
}

/* --------------------------nav bar--------------------- */
.nav-link {
    position: fixed;
    top: 80px;
    right: 0;
    width: 50%;  
    height: calc(100vh - 80px);
    background-color: rgb(240, 240, 240);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    padding: 20px; 
    gap: 30px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: .5s;
    z-index: 10;
    border-radius: 15px 0 0 15px;
}

.nav-link nav {
    display: block !important;
}

.nav-link nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.nav-link nav ul li a {
    color: #37FF8B;
    font-size: 1.5em;
    font-family: "Arial";
    transition: 0.3s;
}

.signs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    width: 100%; 
}

.sign-nav {
    display: block;
    background-color: transparent;
    border: 1px solid #37FF8B;
    color: #37FF8B;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    width: 80%;
    max-width: 150px;
}

.nav-link.active {
    transform: translateX(0);
}

.NightMode .nav-link {
    background-color: #2a2a2a;
}

.NightMode .nav-link a {
    color: #37FF8B;
}
/* --------------------------logo------------------------ */


.button {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

.button {
    --border-right: 6px;
    --text-stroke-color: rgba(46, 46, 46, 0.6);
    --animation-color: #37FF8B;
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
}

.NightModeLogo{
    --text-stroke-color: rgba(255, 255, 255, 0.6);
}

.hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
}

.button:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color))
}


/* ------------------------search-hero--------------------- */

/* From Uiverse.io by alexruix */ 
.group {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    max-width: 300px;
}

.input {
    height: 40px;
    line-height: 28px;
    padding: 0 1rem;
    width: 100%;
    padding-left: 2.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    background-color: #D9E8D8;
    color: #0d0c22;
    box-shadow: 0 0 5px #C1D9BF, 0 0 0 10px #f5f5f5eb;
    transition: .3s ease;
}

.input::placeholder {
    color: #777;
}

.icon {
    position: absolute;
    left: 1rem;
    fill: #777;
    width: 1rem;
    height: 1rem;
}

.NightMode .input {
    background-color: #2a2a2a; 
    color: #37FF8B;         
    box-shadow: 0 0 5px #111, 0 0 0 10px #252525; 
}

.NightMode .input::placeholder {
    color: #555;
}

.NightMode .icon {
    fill: #37FF8B;
}

.NightMode .input:focus {
    border-color: #37FF8B;
    box-shadow: 0 0 15px rgba(55, 255, 139, 0.2), 0 0 0 10px #252525;
}






/* ----------------------meadia---------------------------- */

@media (min-width: 768px) {
    .sign{
        display: block;
        background-color: transparent;
        border: none;
        color: #37FF8B;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 8px;
        border: #37FF8B solid 1px;
    }

    .nav-link {
        padding: 60px;
    }

    .hero h1{
        font-size: 2.3em;
    }

    .group{
        width: 900px;
    }

    summary{
        font-size: 20px;
    }

    .extra-text{
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    nav{
        display: block;
    }

    nav ul{
        display: flex;
        gap: 20px;
    }

    nav ul li a{
        color: #37FF8B;
        font-size: 1.2em;
        font-family: "Arial";
        transition: 0.3s;
    }

    .burger{
        display: none;
    }

    .hero h1{
        font-size: 3em;
    }

    .group{
        max-width: 350px;
    }
}

@media (min-width: 1300px) {
    .header-container{
        max-width: 1200px;
    }

    .hero{
        max-width: 1200px;
    }
}