/* H1 automaticallly change effect */

header {
    margin-top: 60px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    line-height: 1.25;
    color: #fff;
}

.typing-wrapper {
    display: inline-flex;
    align-items: baseline;
    color: #4ade80;
    min-width: 260px;
    /* prevents layout shift */
}

#typing-text {
    white-space: nowrap;
}

.cursor {
    margin-left: 4px;
    animation: blink 1s infinite;
    font-weight: 400;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .typing-wrapper {
        min-width: 200px;
    }
}




/* SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: #151515;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid #1f1f1f;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 166, 0.25);
}

.service-card p {
    color: #aaa
}

/* STEPS */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.step {
    background: #151515;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

/* BOT */
.bot {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #1f2933;
}

/* PRICING CALCULATOR */
.pricing-box {
    background: #151515;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    margin: auto;
    border: 1px solid #1f1f1f;
}

.pricing-box label {
    display: block;
    margin: 15px 0 6px;
    color: #aaa;
}

/* ============================
   PREMIUM SELECT DROPDOWNS
=============================== */

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #9fffdc;
}

select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #eafff6;

    background:
        linear-gradient(145deg, rgba(0, 255, 156, 0.08), rgba(0, 255, 156, 0.02));

    border: 1px solid rgba(0, 255, 156, 0.25);
    border-radius: 12px;
    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 0 rgba(0, 255, 156, 0);
}

/* Hover */
select:hover {
    border-color: #00ff9c;
    box-shadow: 0 0 12px rgba(0, 255, 156, 0.25);
}

/* Focus */
select:focus {
    border-color: #00ff9c;
    box-shadow:
        0 0 0 2px rgba(0, 255, 156, 0.15),
        0 0 18px rgba(0, 255, 156, 0.35);
}

/* Options */
select option {
    background: #050807;
    color: #d1ffe7;
    font-size: 14px;
}

/* Wrapper for arrow */
.select-wrap {
    position: relative;
    width: 100%;
}

/* Custom Arrow */
.select-wrap::after {
    content: "▾";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #00ff9c;
    transition: 0.3s;
}

/* Rotate arrow on focus */
.select-wrap:has(select:focus)::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Mobile friendly */
@media(max-width:600px) {
    select {
        font-size: 14px;
        padding: 12px 40px 12px 14px;
    }
}

/* =========================
   HELP BOX (INFO STRIP)
========================= */

.help-box {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: linear-gradient(135deg,
            rgba(0, 255, 156, 0.08),
            rgba(0, 255, 156, 0.02));

    border: 1px solid rgba(0, 255, 156, 0.25);
    box-shadow: 0 0 18px rgba(0, 255, 156, 0.08);
}

.help-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00ff9c;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.help-text strong {
    color: #eafff6;
    font-size: 14px;
}

.help-text p {
    margin: 4px 0 6px;
    font-size: 13px;
    color: #9fffdc;
}

.help-text a {
    font-size: 13px;
    color: #00ff9c;
    text-decoration: none;
    font-weight: 500;
}

.help-text a:hover {
    text-decoration: underline;
}

/* Mobile */
@media(max-width:600px) {
    .help-box {
        padding: 12px;
    }
}

.pricing-box input,
.pricing-box select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #0b0b0b;
    color: #fff;
}

.price-output {
    margin-top: 20px;
    font-size: 1.4rem;
    color: #4ade80;
    font-weight: 600;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 38px;
    background: #4ade80;
    border-radius: 30px;
    font-weight: 600;
    color: #000;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.08);
}

/* =========================
   MODAL BACKDROP
========================= */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
    animation: fadeIn .25s ease;
}

/* =========================
   MODAL BOX
========================= */

.modal-box {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #0d0d0d, #080808);
    padding: 28px 26px 30px;
    border-radius: 20px;
    color: #fff;
    position: relative;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .85);
    animation: popIn .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes popIn {
    0% {
        transform: scale(.8);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

/* =========================
   CLOSE BUTTON
========================= */

.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: .25s;
}

.close-btn:hover {
    color: #00ff9c;
    transform: rotate(90deg);
}

/* =========================
   HEADER
========================= */

.title {
    text-align: center;
    margin-bottom: 18px;
}

.title h2 {
    font-size: 30px;
    font-weight: 700;
}

.title p {
    font-size: 14px;
    color: #9ca3af;
}

/* =========================
   STEP HEADER
========================= */

.step-header {
    text-align: center;
    margin-bottom: 18px;
}

.step-title {
    color: #00ff9c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* =========================
   DOTS
========================= */

.step-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    transition: .3s;
}

.dot.active {
    background: #00ff9c;
    box-shadow: 0 0 12px #00ff9c;
}

/* =========================
   PRICE
========================= */

.price-row {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 18px;
}

.price-row strong {
    color: #4ade80;
    font-size: 20px;
}

/* =========================
   PROGRESS BAR
========================= */

.progress-wrap {
    height: 6px;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

#stepProgress {
    height: 100%;
    width: 33%;
    background: linear-gradient(90deg, #00ff9c, #22c55e);
    transition: width .5s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 0 15px #00ff9c;
}

/* =========================
   STEPS
========================= */

.step {
    display: none;
    animation-duration: .45s;
    animation-fill-mode: both;
}

/* forward */
.step.slide-in-right {
    animation-name: slideInRightBounce;
}

/* backward */
.step.slide-in-left {
    animation-name: slideInLeftBounce;
}

/* RIGHT */
@keyframes slideInRightBounce {
    0% {
        opacity: 0;
        transform: translateX(60px)
    }

    60% {
        opacity: 1;
        transform: translateX(-6px)
    }

    80% {
        transform: translateX(3px)
    }

    100% {
        transform: translateX(0)
    }
}

/* LEFT */
@keyframes slideInLeftBounce {
    0% {
        opacity: 0;
        transform: translateX(-60px)
    }

    60% {
        opacity: 1;
        transform: translateX(6px)
    }

    80% {
        transform: translateX(-3px)
    }

    100% {
        transform: translateX(0)
    }
}

/* =========================
   INPUTS
========================= */

input,
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid #222;
    background: #141414;
    color: #fff;
    font-size: 15px;
    transition: .25s;
}

textarea {
    min-height: 110px;
    resize: none;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #00ff9c;
    box-shadow: 0 0 0 2px rgba(0, 255, 156, .15);
}

/* =========================
   FILE INPUT
========================= */

input[type=file] {
    background: #141414;
}

input[type=file]::-webkit-file-upload-button {
    background: #00ff9c;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    margin-right: 12px;
    cursor: pointer;
}

/* =========================
   NOTE
========================= */

.note {
    background: #111827;
    border-left: 4px solid #00ff9c;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ff9c, #22c55e);
    color: #052e16;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 255, 156, .35);
}

.btn:active {
    transform: scale(.97);
}

.btn.ghost {
    background: #222;
    color: #fff;
}

.row-btns {
    display: flex;
    gap: 12px;
}

/* =========================
   PREVIEW
========================= */

.preview p {
    font-size: 15px;
    margin-bottom: 10px;
}

.preview b {
    color: #00ff9c;
}

/* =========================
   SUCCESS SCREEN (UPGRADED)
========================= */

.success-screen {
    display: none;
    text-align: center;
    padding: 50px 15px 40px;
    position: relative;
}

/* ---------- Gradient Ring ---------- */

.success-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 22px;
    background:
        conic-gradient(#00ff9c,
            #22c55e,
            #00ffc6,
            #00ff9c);
    padding: 4px;
    animation: spin 3s linear infinite;
}

.success-ring-inner {
    width: 100%;
    height: 100%;
    background: #050505;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Checkmark ---------- */

.checkmark {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #00ff9c;
    position: relative;
    animation: pop .5s ease forwards, pulse 1.6s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(0, 255, 156, .5);
}

.checkmark::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 32px;
    width: 12px;
    height: 26px;
    border-right: 4px solid #00ff9c;
    border-bottom: 4px solid #00ff9c;
    transform: rotate(45deg);
}

/* ---------- Text ---------- */

.success-screen h2 {
    color: #00ff9c;
    font-size: 26px;
    margin-bottom: 6px;
}

.success-screen p {
    color: #b5b5b5;
    font-size: 15px;
}

/* ---------- Animations ---------- */

/* @keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
} */

@keyframes pop {
    from {
        transform: scale(.3)
    }

    to {
        transform: scale(1)
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(0, 255, 156, .4)
    }

    50% {
        box-shadow: 0 0 45px rgba(0, 255, 156, .9)
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:480px) {
    .modal-box {
        padding: 22px 18px;
    }

    .title h2 {
        font-size: 24px;
    }
}

/* DEV ASSISTANT */
#assistant {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.bot {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #1f2933;
}

.bot-header {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #4ade80;
    font-weight: 600;
}

.bot-desc {
    color: #9ca3af;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.chat-preview {
    background: #000;
    border-radius: 14px;
    padding: 15px;
    max-width: 420px;
    margin: auto;
    border: 1px solid #1f1f1f;
    text-align: left;
}

.chat-label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.chat-message {
    background: #151515;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.9rem;
}

.chat-preview input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #0b0b0b;
    color: #777;
    outline: none;
}

/* CONTACT ICONS */
.connect-section {
    padding: 80px 20px;
    text-align: center;
    /* background: radial-gradient(circle at top, #111, #000); */
}

.connect-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.connect-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 1.4rem;
    color: #e5e7eb;

    transition: 0.35s ease;
}

.icon:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Brand highlight on hover */
.icon.whatsapp:hover {
    color: #25d32e;
}

.icon.linkedin:hover {
    color: #0A66C2;
}

.icon.github:hover {
    color: #a6a5a5;
}

.icon.instagram:hover {
    color: #E1306C;
}

.icon.twitter:hover {
    color: #404041;
}

.icon.email:hover {
    color: #4ade80;
}

.icon.phone:hover {
    color: #22c55e;
}

.icon.form:hover {
    color: #00f2a6;
}

/* MOBILE */
@media (max-width: 768px) {
    .icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }
}

/* STACK SECTION WRAPPER */
.stack-wrapper {
    position: relative;
    padding: 120px 20px 200px;
}

/* GLASS CARD */
.stack-card {
    position: sticky;
    top: 90px;
    min-height: 100vh;
    border-radius: 50px;
    display: flex;
    align-items: center;

    padding: 120px 8vw;

    background: radial-gradient(circle at top right,
            rgba(0, 242, 166, 0.15),
            rgba(0, 0, 0, 0.95) 65%);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* CONTENT */
.stack-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.stack-content p {
    color: #aaa;
    max-width: 620px;
    font-size: 1.05rem;
}

/* STACK INNER LAYOUT */
.stack-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* PRICING GRID */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

/* PRICE BOX */
.price-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px;

    transition: 0.3s;
}

.price-box h4 {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 6px;
}

.price-box span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00f2a6;
}

.price-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 166, 0.25);
}

/* VIDEO BOX */
.stack-video {
    position: relative;
    border-radius: 22px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.stack-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* MOBILE */
@media (max-width: 900px) {
    .stack-inner {
        grid-template-columns: 1fr;
    }

    .stack-video {
        margin-top: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE TWEAKS */
@media (max-width: 768px) {
    .stack-card {
        padding: 40px 26px;
        top: 90px;
    }

    .stack-content h2 {
        font-size: 1.8rem;
    }
}

/* FAQ WRAPPER */
.faq-wrapper {
    max-width: 1100px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(1fr);
    /* DESKTOP */
    gap: 24px;
}

/* FAQ CARD */
.faq-item {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px 24px;
    cursor: pointer;
    transition: 0.35s;
}

/* Hover glow desktop */
.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* QUESTION */
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
}

/* ICON */
.faq-icon {
    color: #4ade80;
    transition: transform 0.3s;
}

/* ANSWER */
.faq-a {
    max-height: 0;
    overflow: hidden;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 10px;
    transition: max-height 0.4s ease;
}

/* ACTIVE */
.faq-item.active .faq-a {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* SMOOTH FAQ OPEN/CLOSE (NO STRUCTURE CHANGE) */
.faq-a {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 0.55s cubic-bezier(.4, 0, .2, 1),
        opacity 0.35s ease,
        transform 0.35s ease;
}

.faq-item.active .faq-a {
    opacity: 1;
    transform: translateY(0);
}

/* ICON SMOOTHER ROTATION */
.faq-icon {
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}

/* CARD MICRO-MOTION */
.faq-item {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.faq-item.active {
    border-color: rgba(74, 222, 128, 0.45);
}

/* ---------------- MOBILE & TABLET ---------------- */
@media (max-width: 900px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        /* STACKED */
        gap: 16px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-q {
        font-size: 1rem;
    }
}

@media (min-width: 900px) {
    .faq-item:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

/* MOBILE FEEL (thumb-friendly) */
@media (max-width: 600px) {
    .faq-item {
        border-radius: 14px;
    }

    .faq-a {
        font-size: 0.9rem;
    }
}

/* =========================
   PROFILE DROPDOWN STYLES
========================= */
.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #18d5d6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    user-select: none;
}

.profile-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.profile-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-info {
    margin-bottom: 10px;
}

.profile-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.profile-email {
    color: #aaa;
    font-size: 13px;
    margin: 0;
    word-break: break-word;
}

.dropdown-btn {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* =========================
   TOAST NOTIFICATION
========================= */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 350px;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.success {
    border-left: 4px solid #4ade80;
}

.custom-toast.error {
    border-left: 4px solid #f87171;
}

.custom-toast.info {
    border-left: 4px solid #60a5fa;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
    .profile-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .profile-dropdown {
        right: -10px;
        min-width: 200px;
    }

    .custom-toast {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}

/* =========================
   NAV ACTION ALIGNMENT FIX
========================= */
.nav-action {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* DEV LOADER */

:root {
    /* Backgrounds */
    --bg-dark: #0a0b10;
    /* Deep Space Black */
    --bg-card: #161b22;
    /* GitHub style card dark */
    --bg-glass: rgba(22, 27, 34, 0.7);

    /* Neon Accents */
    --accent-primary: #58a6ff;
    /* Soft Blue (Pro Dev Look) */
    --accent-secondary: #2f81f7;
    /* Stronger Blue */
    --accent-neon: #7ee787;
    /* GitHub Green for success/loading */

    /* Text Colors */
    --text-main: #e6edf3;
    /* Off-white (easy on eyes) */
    --text-dim: #8b949e;
    /* Muted gray for descriptions */

    /* Shadows & Glow */
    --glow-blue: 0 0 20px rgba(88, 166, 255, 0.3);
    --border-glass: rgba(255, 255, 255, 0.1);
}

/* Tumhare --root variables ka advance use */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: #050505;
    /* Super dark start */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
}

/* Background Noise Effect */
.noise {
    position: absolute;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: clamp(180px, 45vw, 260px);
    height: clamp(180px, 45vw, 260px);
    perspective: 1000px;
}

/* Custom Ring Styles with Nodes */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* R1: Outer Hologram */
.r1 {
    inset: 0;
    border-top: 3px solid var(--accent-primary);
    animation: spin 2s linear infinite;
    filter: drop-shadow(0 0 12px var(--accent-primary));
}

.r1 span {
    top: 10px;
    left: 50%;
    box-shadow: 0 0 15px var(--accent-primary);
}

/* R2: Middle Neon Reverse */
.r2 {
    inset: 12%;
    border-right: 2px solid var(--accent-neon);
    animation: spin-reverse 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

/* R3: Inner Pulsing Blue */
.r3 {
    inset: 25%;
    border-bottom: 4px solid var(--accent-secondary);
    animation: spin 1s ease-in-out infinite;
}

.r3 span {
    bottom: 5px;
    right: 50%;
    background: var(--accent-neon);
}

/* R6: Fast Orbit Dot */
.r6 {
    inset: -15%;
    border: 1px solid rgba(88, 166, 255, 0.1);
    animation: spin 4s linear infinite;
}

/* Percentage with Glitch */
.percentage-container {
    position: absolute;
    text-align: center;
    z-index: 20;
}

.glitch-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2rem, 8vw, 3rem);
    color: var(--text-main);
    font-weight: 900;
    line-height: 1;
}

.sub-text {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--accent-primary);
    opacity: 0.7;
}

/* Progress Bar Shimmer */
.status-bar {
    position: relative;
    width: clamp(200px, 60vw, 320px);
    height: 6px;
    background: #1a1f29;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-neon));
    box-shadow: 0 0 20px var(--accent-primary);
    transition: width 0.3s ease;
}

.shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shim 1.5s infinite;
}

@keyframes shim {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

/* Glitch Animation */
.glitch-text {
    color: var(--text-main);
    font-family: monospace;
    font-size: 14px;
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch-text::before {
    color: #f0f;
    z-index: -1;
    animation: glitch 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
}

.glitch-text::after {
    color: #0ff;
    z-index: -2;
    animation: glitch 0.4s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
}

.console-text {
    font-family: 'Courier New', Courier, monospace;
    color: #7ee787;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Background Canvas */
#loaderCanvas {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    /* Halka rakhenge taaki rings focus mein rahein */
    z-index: 1;
}

/* Vignette effect for depth */
.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, var(--bg-dark) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Loader content ko canvas ke upar lane ke liye */
.loader-content,
.dev-info {
    position: relative;
    z-index: 10;
}