:root {
    --primary: #684DF4;
    --primary-dark: #5136e0;
    --primary-soft: #efecfe;
    --dark: #141D38;
    --dark-2: #1b2547;
    --text: #59617b;
    --text-light: #aab1c9;
    --bg: #ffffff;
    --bg-soft: #f7f6fd;
    --border: #e8e8f4;
    --radius: 20px;
    --shadow-sm: 0 6px 20px rgba(20, 29, 56, .06);
    --shadow-md: 0 16px 40px rgba(20, 29, 56, .10);
    --shadow-primary: 0 12px 30px rgba(104, 77, 244, .35);
    --font-head: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .25s;
}

h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--dark);
    line-height: 1.22;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

section, .section {
    scroll-margin-top: 120px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .3s ease;
}

.btn svg {
    transition: transform .3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8a6bff 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--border);
    color: var(--dark);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--dark);
}

.btn-white:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(104, 77, 244, .18);
}

.eyebrow.on-dark {
    background: rgba(255, 255, 255, .1);
    color: #cfc5ff;
}

.sec-title {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 28px 0;
    transition: all .3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-svg {
    height: 52px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 34px;
    list-style: none;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transition: width .3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
}

.header-cta .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all .3s;
}

.header-cta:hover .icon-circle {
    background: var(--primary);
    color: #fff;
}

.header-cta small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.header-cta .num {
    font-size: 15px;
    line-height: 1.3;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    place-items: center;
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav .backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 29, 56, .5);
    opacity: 0;
    transition: opacity .3s;
}

.mobile-nav .panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 85%);
    background: #fff;
    padding: 28px 26px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav.open .backdrop {
    opacity: 1;
}

.mobile-nav.open .panel {
    transform: translateX(0);
}

.mobile-nav .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-nav .panel-head .logo-svg {
    height: 42px;
}

.mobile-nav .close-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul a {
    display: block;
    padding: 14px 4px;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.mobile-nav ul a:hover {
    color: var(--primary);
}

.mobile-nav .btn {
    margin-top: 24px;
    justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 195px 0 110px;
    background:
        radial-gradient(60% 55% at 88% 12%, rgba(104, 77, 244, .12) 0%, transparent 70%),
        radial-gradient(45% 45% at 5% 90%, rgba(104, 77, 244, .08) 0%, transparent 70%),
        linear-gradient(180deg, #f7f6fd 0%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(104, 77, 244, .14) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    mask-image: radial-gradient(55% 55% at 75% 35%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(55% 55% at 75% 35%, #000 0%, transparent 75%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 22px;
}

.hero-title .grad {
    background: linear-gradient(120deg, var(--primary) 0%, #9d7bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    font-size: 17.5px;
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-media {
    position: relative;
}

.hero-media .photo {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid #fff;
}

.hero-media .photo img {
    width: 100%;
    aspect-ratio: 1.05;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 26px -26px -26px 26px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(104, 77, 244, .18), rgba(104, 77, 244, .04));
    z-index: -1;
}

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--dark);
    animation: float 5s ease-in-out infinite;
}

.float-chip .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
}

.chip-1 {
    top: 8%;
    left: -8%;
}

.chip-2 {
    bottom: 22%;
    left: -12%;
    animation-delay: -1.6s;
}

.chip-2 .dot {
    background: #22c55e;
}

.chip-3 {
    top: 30%;
    right: -6%;
    animation-delay: -3.2s;
}

.chip-3 .dot {
    background: #f59e0b;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ---------- Sections ---------- */
.space {
    padding: 110px 0;
}

.title-area.center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #9d7bff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card .box-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    transition: transform .35s ease;
}

.product-card:hover .box-icon {
    transform: scale(1.07) rotate(-3deg);
}

.product-card .box-icon img {
    width: 42px;
    height: 42px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-card p {
    font-size: 15px;
    margin-bottom: 22px;
}

.line-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--primary);
}

.line-btn svg {
    transition: transform .3s;
}

.line-btn:hover svg {
    transform: translateX(5px);
}

/* ---------- About ---------- */
.about-sec {
    background: var(--bg-soft);
    border-radius: 40px;
    margin: 0 clamp(8px, 2vw, 24px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.about-media {
    position: relative;
}

.about-media .photo {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-media .photo img {
    width: 100%;
    aspect-ratio: .92;
    object-fit: cover;
}

.about-media::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -22px;
    width: 130px;
    height: 130px;
    border-radius: 22px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: .35;
    z-index: 0;
}

.counter-card {
    position: absolute;
    right: -18px;
    bottom: 34px;
    background: linear-gradient(135deg, var(--primary), #8a6bff);
    color: #fff;
    border-radius: 18px;
    padding: 22px 28px;
    box-shadow: var(--shadow-primary);
    text-align: center;
}

.counter-card .num {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.counter-card .lbl {
    font-size: 13px;
    opacity: .9;
}

.about-body > p {
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.feature-item {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 22px;
    transition: box-shadow .3s, transform .3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}

.feature-item .f-icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
}

.feature-item .f-icon img {
    width: 26px;
}

.feature-item h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14.5px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.call-btn .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-primary);
    animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(104, 77, 244, .45);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(104, 77, 244, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(104, 77, 244, 0);
    }
}

.call-btn small {
    display: block;
    font-size: 13px;
    color: var(--text);
}

.call-btn .num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 19px;
    color: var(--dark);
}

.call-btn .num:hover {
    color: var(--primary);
}

/* ---------- Contact CTA ---------- */
.contact-cta {
    position: relative;
    border-radius: 40px;
    margin: 0 clamp(8px, 2vw, 24px);
    background:
        radial-gradient(70% 90% at 50% -20%, rgba(104, 77, 244, .55) 0%, transparent 65%),
        linear-gradient(160deg, var(--dark) 0%, #1a1440 55%, #241a5e 100%);
    overflow: hidden;
    text-align: center;
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 80%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 80%);
}

.contact-cta .inner {
    position: relative;
    max-width: 720px;
    margin-inline: auto;
}

.contact-cta h2 {
    color: #fff;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-cta .call-box {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 14px 34px 14px 16px;
    transition: background .3s, transform .3s;
}

.contact-cta .call-box:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-3px);
}

.contact-cta .call-box .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a6bff);
    color: #fff;
    display: grid;
    place-items: center;
}

.contact-cta .call-box small {
    display: block;
    text-align: left;
    color: var(--text-light);
    font-size: 13px;
}

.contact-cta .call-box .num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

/* ---------- Why choose ---------- */
.choose-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 64px;
}

.choose-media {
    position: relative;
}

.choose-media .photo {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.choose-media .photo img {
    width: 100%;
    aspect-ratio: .95;
    object-fit: cover;
}

.choose-media::after {
    content: "";
    position: absolute;
    inset: auto -20px -20px auto;
    width: 55%;
    height: 55%;
    border-radius: 26px;
    border: 3px dashed rgba(104, 77, 244, .35);
    z-index: -1;
}

.choose-body > p {
    margin-bottom: 32px;
}

.choose-feature {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.choose-feature:last-child {
    border-bottom: 0;
}

.choose-feature .f-icon {
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    transition: transform .3s;
}

.choose-feature:hover .f-icon {
    transform: scale(1.08);
}

.choose-feature .f-icon img {
    width: 30px;
}

.choose-feature h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.choose-feature p {
    font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--dark);
    color: var(--text-light);
}

.footer-top {
    padding: 70px 0 50px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
}

.site-footer h3 {
    color: #fff;
    font-size: 19px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
}

.footer-about p {
    max-width: 420px;
    margin-bottom: 24px;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    transition: all .3s;
}

.socials a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact .row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact .row svg {
    flex: none;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 22px 0;
}

.footer-bottom .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14.5px;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    list-style: none;
}

/* ---------- Scroll top ---------- */
.scroll-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s;
    z-index: 90;
}

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

.scroll-top:hover {
    background: var(--primary-dark);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .float-chip,
    .call-btn .icon-circle {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .chip-1 { left: 0; }
    .chip-2 { left: -4%; }
    .chip-3 { right: 0; }
}

@media (max-width: 991px) {
    .main-nav, .header-cta { display: none; }
    .menu-toggle { display: grid; }

    .hero { padding: 160px 0 80px; }

    .hero-grid,
    .about-grid,
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-media { max-width: 540px; }
    .about-media, .choose-media { max-width: 540px; }
    .choose-media { order: -1; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .space { padding: 80px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .counter-card { right: 8px; padding: 16px 20px; }
    .counter-card .num { font-size: 26px; }
    .float-chip { display: none; }
    .hero-media::after { inset: 16px -12px -12px 16px; }
    .footer-bottom .inner { justify-content: center; text-align: center; }
}
