/* ====================================
   FONTS
==================================== */

@font-face {
    font-family: "PP Neue Montreal";
    src: url("assets/fonts/PPNeueMontreal/ppneuemontreal-book.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "PP Neue Montreal";
    src: url("assets/fonts/PPNeueMontreal/ppneuemontreal-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "PP Neue Montreal";
    src: url("assets/fonts/PPNeueMontreal/ppneuemontreal-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew/PPEditorialNew-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew/PPEditorialNew-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew/PPEditorialNew-Ultrabold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}

/* ====================================
   ROOT / RESET
==================================== */

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:auto; }
body { overflow-x:hidden; }

/* ====================================
   HERO BG – ensure it covers on mobile
==================================== */

@media (max-width: 768px) {
    .hero-bg { min-width: 1200px; }
}
@media (max-width: 480px) {
    .hero-bg { min-width: 1000px; }
}

/* ====================================
   HERO HIGHLIGHT — "Engage Users" ellipse
==================================== */

.engage::after {
    content: "";
    position: absolute;
    left: -25px;
    right: -25px;
    bottom: 12px;
    height: 86px;
    width: 446px;
    border: 2px solid #40FF82;
    border-radius: 100%;
    transform: rotate(-3.77deg);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .engage::after {
        left: -6px;
        right: -6px;
        height: 34px;
        width: 166px;
        bottom: 4px;
    }   
}

/* ====================================
   NAVBAR — glow on CTA button hover
==================================== */

.nav-btn:hover {
    background: #000;
    border: 2px solid #C0F53D;
    color: #FAFFF3;
    box-shadow:
        0 0 3px rgba(183,255,43,.9),
        0 0 12px rgba(183,255,43,.45),
        0 0 24px rgba(183,255,43,.25),
        0 0 48px rgba(183,255,43,.12),
        0 0 90px rgba(183,255,43,.08);
}

/* ====================================
   HERO BUTTON — glow effect
==================================== */

.hero-btn {
    box-shadow:
        0 0 3px rgba(183,255,43,.9),
        0 0 12px rgba(183,255,43,.45),
        0 0 24px rgba(183,255,43,.25),
        0 0 48px rgba(183,255,43,.12),
        0 0 90px rgba(183,255,43,.08);
}

.hero-btn:hover {
    color: #000;
    background: linear-gradient(90deg, #C0F53D, #40FF82);
    box-shadow: none;
    border-color: transparent;
}

/* ====================================
   PORTFOLIO BUTTON — glow + arrow swap
==================================== */

.portfolio-btn {
    box-shadow:
        0 0 3px rgba(183,255,43,.9),
        0 0 12px rgba(183,255,43,.45),
        0 0 24px rgba(183,255,43,.25),
        0 0 48px rgba(183,255,43,.12),
        0 0 90px rgba(183,255,43,.08);
}

.portfolio-btn:hover {
    background: linear-gradient(90deg, #C0F53D, #40FF82);
    color: #000;
    box-shadow: none;
    border-color: transparent;
}

.portfolio-btn:hover .arrow-default {
    opacity: 0;
    transform: translateX(6px);
}

.portfolio-btn:hover .arrow-hover {
    opacity: 1;
    transform: translateX(0);
}

/* ====================================
   CTA BUTTON — arrow swap on hover
==================================== */

.cta-btn:hover {
    background: #000;
    color: #FAFFF3;
    border: 2px solid #C0F53D;
    box-shadow:
        0 0 3px rgba(183,255,43,.9),
        0 0 12px rgba(183,255,43,.45),
        0 0 24px rgba(183,255,43,.25),
        0 0 48px rgba(183,255,43,.12),
        0 0 90px rgba(183,255,43,.08);
}

.cta-btn:hover .arrow-default {
    opacity: 0;
    transform: translateX(6px);
}

.cta-btn:hover .arrow-hover {
    opacity: 1;
    transform: translateX(0);
}

/* ====================================
   CASE REVEAL — clip-path animation
==================================== */

.case-reveal {
    clip-path: circle(2% at 8% 96%);
    transition: clip-path .6s cubic-bezier(.65,0,.35,1), opacity .2s ease .1s;
}

.case-card.is-active .case-reveal {
    clip-path: circle(150% at 8% 96%);
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Overlay gradient on case cards */

.case-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
    z-index: 1;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

/* ====================================
   PROCESS — hover glow on number
==================================== */


.process-card:hover .process-number {
    color: #40FF82;
}

/* ====================================
   TESTIMONIAL CARD — avatar scale on hover
==================================== */

.testimonial-card:hover .testimonial-user img {
    transform: scale(1.08);
}

/* ====================================
   CONTACT SUBMIT — hover state
==================================== */

.contact-submit:hover img {
    transform: translateX(5px);
}

/* ====================================
   CHALLENGE ITEM — checked state
==================================== */

.challenge-item input:checked + .checkmark {
    background: #B7FF2B;
    border-color: #B7FF2B;
}

.challenge-item input:checked + .checkmark::after {
    transform: translate(-50%, -55%) scale(1);
}

.checkmark::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%) scale(0);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    transition: .25s;
}

/* ====================================
   PHONE INPUT — intl-tel-input theming
==================================== */

.iti { width: 100%; }

.iti input {
    width: 100%;
    border-radius: 100px;
    padding-left: 100px !important;
    color: #fff;
    background: rgba(10,13,4,.46);
    border: 1px solid rgba(255,255,255,.08);
}

.iti__selected-country { padding-left: 16px; }
.iti__selected-dial-code { color: #fff; }
.iti__arrow { border-top-color: #A8FF2A; }

.iti__country-list {
    background: #101010 !important;
    color: #fff !important;
    border: 1px solid rgba(177,255,43,.15);
    border-radius: 16px;
}

.iti__country {
    padding: 14px 18px !important;
    border-radius: 14px;
    margin-bottom: 4px;
}

.iti__country:hover,
.iti__highlight { background: #202020 !important; }

.iti__dial-code { color: #B1FF2B !important; }

.iti__search-input {
    height: 44px !important;
    padding: 0 16px !important;
    background: #101010 !important;
    border: 1px solid rgba(177,255,43,.15) !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 16px;
}

.iti__search-input::placeholder { color: #6d6d6d; }

.iti__country-list::-webkit-scrollbar { width: 6px; }
.iti__country-list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.iti__dropdown-content {
    background: #101010 !important;
    padding: 12px !important;
    border: 1px solid rgba(177,255,43,.15) !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5) !important;
}

.iti__country-container,
.iti__search-container { background: transparent !important; }

.iti__country-list {
    margin-top: 8px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* ====================================
   AUTOFILL — keep dark bg
==================================== */

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #FAFFF3 !important;
    -webkit-box-shadow: 0 0 0 1000px #070707 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ====================================
   REDUCED MOTION
==================================== */

@media (prefers-reduced-motion: reduce) {
    .case-reveal { transition: none; }
    .case-icon:hover { transform: none; }
    .portfolio-track,
    .portfolio-track.reverse,
    .clients-track { animation: none; }
}
