:root {
    --purple: #3b2a78;
    --purple-dark: #211646;
    --purple-soft: #f3f0ff;
    --violet: #7257d9;
    --cyan: #16b8c8;
    --orange: #ff8a3d;
    --ink: #18202e;
    --muted: #657083;
    --line: #e5e8ef;
    --white: #fff;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.display {
    font-family: "Manrope", sans-serif;
}
a {
    text-decoration: none;
}

/* ---------- motion ---------- */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(12px, -10px);
    }
}
@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    75%,
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}
@keyframes shine {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}
@keyframes pop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.float {
    animation: float 5s ease-in-out infinite;
}
.float2 {
    animation: float2 7s ease-in-out infinite;
}
.shine-btn {
    position: relative;
    overflow: hidden;
}
.shine-btn:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: translateX(-120%);
    animation: shine 3.5s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 12%,
            rgba(22, 184, 200, 0.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 8% 82%,
            rgba(255, 138, 61, 0.2),
            transparent 28%
        ),
        linear-gradient(135deg, #211646 0%, #3b2a78 55%, #4b4ba0 100%);
}
.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent);
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}
.orb.one {
    width: 230px;
    height: 230px;
    background: rgba(22, 184, 200, 0.12);
    right: -70px;
    top: 90px;
}
.orb.two {
    width: 170px;
    height: 170px;
    background: rgba(255, 138, 61, 0.12);
    left: -65px;
    bottom: 80px;
}

/* ---------- form ---------- */
.form-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 35px 90px rgba(17, 10, 49, 0.34);
}
.field {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 13px;
    padding: 13px 14px;
    background: #fff;
    outline: none;
    color: var(--ink);
    transition: 0.18s ease;
}
.field:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(114, 87, 217, 0.11);
}
.cat-card,
.type-chip {
    display: block;
    cursor: pointer;
    border: 1.5px solid var(--line);
    background: #fff;
    transition: 0.18s ease;
}
.cat-card {
    border-radius: 15px;
    padding: 14px;
}
.type-chip {
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
}
input:checked + .cat-card {
    border-color: var(--violet);
    background: var(--purple-soft);
    box-shadow: 0 7px 18px rgba(114, 87, 217, 0.1);
}
input:checked + .type-chip {
    border-color: var(--cyan);
    background: #eafbfd;
    color: #087984;
    font-weight: 700;
}
.hidden-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.type-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        margin 0.35s ease;
    margin-top: 0;
}
.type-wrap.open {
    max-height: 240px;
    opacity: 1;
    margin-top: 12px;
}

/* ---------- cards ---------- */
.service-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.service-card:hover {
    transform: translateY(-7px);
    border-color: #cfc8f2;
    box-shadow: 0 22px 45px rgba(43, 34, 83, 0.1);
}
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-soft);
    color: var(--purple);
}

/* ---------- moving trust strip ---------- */
.ticker {
    overflow: hidden;
    white-space: nowrap;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 24s linear infinite;
}
.ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* ---------- process ---------- */
.process-line {
    position: relative;
}
.process-line:before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 24px;
    border-top: 2px dashed #d8d4ea;
}
@media (max-width: 767px) {
    .process-line:before {
        display: none;
    }
}

/* ---------- sticky actions ---------- */
.sticky-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 13px 28px rgba(15, 20, 40, 0.2);
    position: relative;
    transition: transform 0.2s ease;
}
.fab:hover {
    transform: translateY(-3px);
}
.ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulseRing 2.4s ease-out infinite;
}
.ring.call {
    background: rgba(255, 138, 61, 0.55);
}
.ring.wa {
    background: rgba(37, 211, 102, 0.5);
    animation-delay: 0.5s;
}

/* ---------- success ---------- */
.success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9faf5;
    color: #0c9b74;
    font-size: 35px;
    animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@media (max-width: 767px) {
    body {
        padding-bottom: 66px;
    }
    .sticky-actions {
        display: none;
    }
}

.mobile-actions {
    display: none;
}
@media (max-width: 767px) {
    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 55;
        padding: 7px;
        gap: 6px;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 25px rgba(20, 25, 45, 0.09);
    }
}
