* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: #07090d;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    top: -200px;
    left: -150px;
    background: #00ff9d;
}

.glow-2 {
    right: -200px;
    top: 500px;
    background: #6c5ce7;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding: 26px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-symbol {
    width: 36px;
    height: 36px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;

    background: #00e891;
    color: #06100b;

    font-weight: 900;
}

.logo-highlight {
    color: #00e891;
}

.nav-button {
    text-decoration: none;
    color: white;

    padding: 10px 18px;

    border: 1px solid #252a32;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s;
}

.nav-button:hover {
    border-color: #00e891;
    color: #00e891;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 900px;
    margin: auto;

    padding: 90px 20px 80px;

    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border: 1px solid #242a31;
    border-radius: 100px;

    background: rgba(255,255,255,0.02);

    color: #9ba3ad;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.live-dot {
    width: 7px;
    height: 7px;

    background: #00e891;

    border-radius: 50%;

    box-shadow: 0 0 12px #00e891;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}

.hero h1 {
    margin-top: 28px;

    font-size: clamp(44px, 7vw, 78px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 850;
}

.hero h1 span {
    display: block;

    color: #00e891;
}

.hero-description {
    max-width: 620px;

    margin: 28px auto 0;

    color: #8d96a2;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================
   CALCULATOR
========================= */

.calculator-card {
    max-width: 720px;

    margin: 50px auto 0;

    padding: 25px;

    border: 1px solid #252b34;

    border-radius: 22px;

    background: rgba(16,19,25,0.88);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.card-top {
    display: grid;

    grid-template-columns: 1fr 190px;

    gap: 18px;

    text-align: left;
}

label {
    display: block;

    margin-bottom: 9px;

    color: #858e9a;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.salary-input-wrapper {
    position: relative;
}

.currency-symbol {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 22px;

    font-weight: 700;

    color: #00e891;
}

#salary {
    width: 100%;

    height: 58px;

    padding: 0 20px 0 45px;

    border: 1px solid #303640;

    outline: none;

    border-radius: 13px;

    background: #0a0d12;

    color: white;

    font-size: 22px;

    font-weight: 700;

    transition: 0.25s;
}

#salary:focus {
    border-color: #00e891;

    box-shadow: 0 0 0 3px rgba(0,232,145,0.08);
}

#period {
    width: 100%;

    height: 58px;

    padding: 0 15px;

    border: 1px solid #303640;

    outline: none;

    border-radius: 13px;

    background: #0a0d12;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;
}

#period:focus {
    border-color: #00e891;
}


/* =========================
   WORK SETTINGS
========================= */

.work-settings {
    margin-top: 22px;

    padding-top: 22px;

    border-top: 1px solid #20252d;

    text-align: left;
}

.settings-title {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;
}

.settings-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.small-input-wrapper {
    display: flex;

    align-items: center;

    height: 55px;

    border: 1px solid #303640;

    border-radius: 13px;

    background: #0a0d12;

    overflow: hidden;
}

.small-input-wrapper input {
    width: 100%;

    height: 100%;

    padding: 0 15px;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    font-size: 18px;

    font-weight: 700;
}

.small-input-wrapper span {
    padding-right: 15px;

    color: #66707b;

    font-size: 12px;

    white-space: nowrap;
}


/* =========================
   CALCULATE BUTTON
========================= */

.calculate-button {
    width: 100%;

    margin-top: 20px;

    height: 60px;

    border: none;

    border-radius: 13px;

    background: #00e891;

    color: #04110b;

    font-size: 16px;

    font-weight: 850;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    transition: 0.25s;
}

.calculate-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 30px rgba(0,232,145,0.18);
}

.button-arrow {
    font-size: 22px;
}


/* =========================
   RESULTS
========================= */

.results-section {
    max-width: 1050px;

    margin: auto;

    padding: 60px 20px 100px;
}

.section-heading {
    text-align: center;

    margin-bottom: 35px;
}

.small-label {
    color: #00e891;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(30px, 5vw, 48px);

    letter-spacing: -2px;
}

.section-heading p {
    margin-top: 10px;

    color: #777f8a;
}


/* =========================
   LIVE COUNTER
========================= */

.live-counter-card {
    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 55px 20px;

    border: 1px solid #26312e;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(0,232,145,0.08),
            transparent 60%
        ),
        #0c1110;
}

.live-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #00e891;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.counter-label {
    margin-top: 25px;

    color: #707984;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.main-counter {
    margin-top: 8px;

    font-size: clamp(48px, 9vw, 92px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -4px;

    color: white;

    text-shadow:
        0 0 40px rgba(0,232,145,0.18);
}

.counter-subtitle {
    margin-top: 15px;

    color: #777f88;

    font-size: 14px;
}

.counter-time {
    margin-top: 25px;

    font-family: monospace;

    color: #00e891;

    font-size: 14px;

    opacity: 0.8;
}


/* =========================
   EARNINGS GRID
========================= */

.earnings-grid {
    margin-top: 18px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.earning-card {
    padding: 24px;

    border: 1px solid #20252d;

    border-radius: 17px;

    background: #0d1015;

    display: flex;

    align-items: center;

    gap: 17px;

    transition: 0.25s;
}

.earning-card:hover {
    transform: translateY(-3px);

    border-color: #343b45;
}

.earning-card.featured {
    border-color: rgba(0,232,145,0.3);

    background:
        linear-gradient(
            135deg,
            rgba(0,232,145,0.07),
            rgba(0,232,145,0.015)
        );
}

.earning-icon {
    min-width: 43px;

    width: 43px;
    height: 43px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 12px;

    background: #171c23;

    color: #00e891;

    font-size: 18px;

    font-weight: 800;
}

.earning-info {
    min-width: 0;
}

.earning-info span {
    display: block;

    color: #737c87;

    font-size: 12px;

    margin-bottom: 5px;
}

.earning-info strong {
    display: block;

    font-size: 19px;

    color: white;

    white-space: nowrap;
}


/* =========================
   SHARE
========================= */

.share-card {
    margin-top: 18px;

    padding: 25px;

    border: 1px solid #20252d;

    border-radius: 18px;

    background: #0d1015;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.share-small {
    color: #69727d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.share-card h3 {
    margin-top: 5px;

    font-size: 20px;
}

.share-button {
    border: 1px solid #303640;

    background: #171c23;

    color: white;

    padding: 13px 20px;

    border-radius: 11px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s;
}

.share-button:hover {
    border-color: #00e891;

    color: #00e891;
}


/* =========================
   INFO
========================= */

.info-section {
    max-width: 1050px;

    margin: auto;

    padding: 80px 20px 110px;
}

.steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.step {
    padding: 30px;

    border: 1px solid #20252d;

    border-radius: 18px;

    background: #0d1015;
}

.step-number {
    color: #00e891;

    font-family: monospace;

    font-size: 13px;

    font-weight: 700;
}

.step h3 {
    margin-top: 25px;

    font-size: 20px;
}

.step p {
    margin-top: 10px;

    color: #747d88;

    line-height: 1.6;

    font-size: 14px;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid #191e25;

    padding: 45px 20px;

    text-align: center;

    color: #59616b;
}

.footer-logo {
    color: white;

    font-weight: 800;

    font-size: 18px;
}

.footer-logo span {
    color: #00e891;
}

footer p {
    margin-top: 8px;

    font-size: 13px;
}

.copyright {
    margin-top: 25px;

    font-size: 11px;

    color: #3f464f;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

    .navbar {
        padding: 18px 16px;
    }

    .logo {
        font-size: 17px;
    }

    .logo-symbol {
        width: 32px;
        height: 32px;
    }

    .nav-button {
        padding: 9px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 65px 16px 60px;
    }

    .hero h1 {
        font-size: 47px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .calculator-card {
        padding: 18px;
        border-radius: 18px;
    }

    .card-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .calculate-button {
        height: 58px;
    }

    .results-section {
        padding: 45px 16px 80px;
    }

    .main-counter {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .earnings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .earning-card {
        padding: 17px;
        gap: 10px;
    }

    .earning-icon {
        min-width: 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .earning-info strong {
        font-size: 15px;
    }

    .share-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .share-button {
        width: 100%;
    }

    .info-section {
        padding: 60px 16px 80px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step {
        padding: 24px;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 40px;
    }

    .earnings-grid {
        grid-template-columns: 1fr;
    }

    .main-counter {
        font-size: 45px;
    }

}