/* ============================================================
   VECTIS — RESPONSIVE STYLESHEET
   Breakpoints:
     Mobile:  < 640px
     Tablet:  640px – 1023px
     Desktop: 1024px+
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
    --accent:      #711fff;
    --accent-soft: rgba(113, 31, 255, 0.08);
    --border:      rgba(0, 0, 0, 0.08);
    --text:        #111;
    --muted:       #555;

    /* Fluid type scale — clamp(min, preferred, max) */
    --text-xs:   clamp(0.78rem,  1.8vw, 0.85rem);
    --text-sm:   clamp(0.875rem, 2vw,   0.95rem);
    --text-base: clamp(0.95rem,  2.2vw, 1rem);
    --text-lg:   clamp(1rem,     2.5vw, 1.1rem);
    --text-xl:   clamp(1.1rem,   3vw,   1.25rem);
    --text-2xl:  clamp(1.4rem,   4vw,   1.75rem);
    --text-3xl:  clamp(1.8rem,   5vw,   2.5rem);
    --text-hero: clamp(2rem,     6vw,   4rem);

    /* Fluid spacing */
    --sp-xs:  clamp(8px,  2vw,  12px);
    --sp-sm:  clamp(12px, 3vw,  20px);
    --sp-md:  clamp(20px, 4vw,  30px);
    --sp-lg:  clamp(30px, 6vw,  60px);
    --sp-xl:  clamp(50px, 8vw,  100px);
    --sp-2xl: clamp(80px, 10vw, 160px);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --header-h: 70px;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    font-size: var(--text-base);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; }

p { margin-top: 0; }

/* ── DOT MATRIX BACKGROUND ──────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(113, 31, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* ── CURSOR GLOW (desktop only) ─────────────────────────── */
#cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(113, 31, 255, 0.09) 0%, rgba(113, 31, 255, 0.04) 35%, transparent 70%);
    transition: opacity 0.4s ease;
    opacity: 0;
}
body:hover #cursor-glow { opacity: 1; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 40px);
}
.center { text-align: center; }

main  { position: relative; z-index: 2; }
footer.site-footer { position: relative; z-index: 2; }

section { padding: var(--sp-xl) 0; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
    position: static;
    width: 100%;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area { display: flex; align-items: center; }
.logo-img  { height: clamp(36px, 5vw, 48px); width: auto; }

/* ── DESKTOP NAV ────────────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-btn {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav-btn:hover { background: #f4efff; color: var(--accent); }

.nav-cta {
    padding: 10px 22px;
    margin-left: 8px;
    display: inline-block;
    font-size: var(--text-sm);
    white-space: nowrap;
}

/* ── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV OVERLAY ────────────────────────────────────────── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 98;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.nav-overlay.open { display: block; }

/* ── LIQUID GLASS BUTTONS ───────────────────────────────── */
.liquid-glass {
    position: relative;
    overflow: hidden;
    background: var(--accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(113, 31, 255, 0.2);
    -webkit-tap-highlight-color: transparent;
}
.liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    transition: left 0.6s ease, top 0.6s ease;
    pointer-events: none;
    z-index: 1;
}
.liquid-glass:hover::before {
    left: var(--btn-x, 0);
    top: var(--btn-y, 0);
    transform: translate(-50%, -50%);
}
.liquid-glass:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(113, 31, 255, 0.4);
}
/* Remove hover lift on touch devices */
@media (hover: none) {
    .liquid-glass:hover { transform: none; }
    .liquid-glass:active { transform: scale(0.97); }
}

/* ── SECTION TITLES ─────────────────────────────────────── */
.section-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--sp-md);
}
.section-title.glass-text {
    color: rgba(113, 31, 255, 0.85);
    text-shadow: 0 4px 10px rgba(113, 31, 255, 0.15), 0 0 2px rgba(255,255,255,0.5);
}

/* ── HERO ───────────────────────────────────────────────── */
#hero {
    padding-top: clamp(60px, 8vw, 110px);
    padding-bottom: clamp(50px, 8vw, 80px);
}

.badge {
    color: var(--accent);
    font-weight: 800;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.main-title {
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #6C01F4, #b182ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    max-width: 640px;
    margin: 0 auto 36px;
    color: var(--muted);
    font-size: var(--text-base);
}

.hero-btns {
    display: flex;
    gap: var(--sp-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-indigo {
    padding: clamp(13px, 2vw, 16px) clamp(20px, 4vw, 32px);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--text-sm);
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

/* ── GRIDS ──────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-md);
}

/* ── CARDS ──────────────────────────────────────────────── */
.glass-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(113, 31, 255, 0.12);
}
@media (hover: none) {
    .glass-card:hover { transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
}

.flag-icon { height: clamp(55px, 8vw, 85px); margin: 0 auto 20px; }
.tag {
    color: var(--accent);
    font-weight: 800;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.step-num {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--accent-soft);
    line-height: 1;
    margin-bottom: 10px;
    /* Trick: use outline text for a subtle feel */
    color: transparent;
    -webkit-text-stroke: 2px rgba(113, 31, 255, 0.2);
}

/* ── TICK LIST ──────────────────────────────────────────── */
.tick-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.tick-list li {
    position: relative;
    padding-left: 26px;
    text-align: left;
    width: fit-content;
    font-size: var(--text-sm);
}
.tick-list li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about-lead {
    max-width: 760px;
    margin: 0 auto var(--sp-md);
    font-size: var(--text-lg);
    color: var(--muted);
}
.mission-vision-card { text-align: left; background: #fdfdff; }

/* ── PARTNERS ───────────────────────────────────────────── */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 5vw, 60px);
    flex-wrap: wrap;
    margin-top: var(--sp-sm);
}
.platform-logo {
    height: clamp(24px, 4vw, 35px);
    width: auto;
    filter: grayscale(1);
    opacity: 0.45;
    transition: filter 0.4s, opacity 0.4s;
}
.platform-logo:hover { filter: grayscale(0); opacity: 1; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { margin-bottom: 10px; overflow: hidden; border-radius: var(--radius-md); }

.faq-q {
    width: 100%;
    padding: clamp(14px, 2vw, 18px) clamp(16px, 3vw, 25px);
    border: none;
    background: none;
    text-align: left;
    font-weight: 700;
    font-size: var(--text-sm);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
    color: var(--text);
    line-height: 1.5;
}
.faq-q::after {
    content: "+";
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}
.faq-a {
    max-height: 0;
    padding: 0 clamp(16px, 3vw, 25px);
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--muted);
    font-size: var(--text-sm);
}
.faq-item.active .faq-a {
    max-height: 300px;
    padding: clamp(14px, 2vw, 20px) clamp(16px, 3vw, 25px);
}
.faq-item.active .faq-q::after { content: "−"; }

/* ── CONTACT FORM ───────────────────────────────────────── */
.form-section { padding-bottom: 0; background: #fff; }

.enquiry-card {
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 50px);
    position: relative;
    z-index: 10;
    box-shadow: 0 -15px 35px rgba(0,0,0,0.04), 0 20px 50px rgba(0,0,0,0.08);
    transform: translateY(clamp(50px, 8vw, 110px));
}

.contact-form { text-align: left; }
.form-group { margin-bottom: 14px; }

input, select, textarea {
    width: 100%;
    padding: clamp(12px, 2vw, 14px) clamp(14px, 2vw, 16px);
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: var(--text-sm);
    box-sizing: border-box;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(113, 31, 255, 0.1);
}
select { cursor: pointer; }
textarea { resize: vertical; min-height: 90px; }

.submit-btn {
    width: 100%;
    padding: clamp(15px, 2.5vw, 18px);
    font-size: var(--text-base);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
    background: var(--accent);
    color: #fff;
    padding-top: clamp(80px, 12vw, 160px);
    padding-bottom: 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--sp-lg);
    gap: var(--sp-md);
}

.footer-brand {
    width: auto;
    max-width: 420px;
    text-align: left;
}
.footer-brand p { font-size: var(--text-sm); opacity: 0.8; margin: 0; }

.logo-f {
    height: clamp(30px, 4vw, 38px);
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

/* Footer nav links — right side */
.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 4px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.footer-nav a:hover { opacity: 1; }

/* Social icons row — centered above copyright, no circles */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.social-icon:hover { opacity: 1; }
.social-icon img { height: 28px; filter: brightness(0) invert(1); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
    font-size: var(--text-xs);
    opacity: 0.65;
}

/* ── CARD ENTER ANIMATION ───────────────────────────────── */
.glass-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease,
                box-shadow 0.3s ease;
}
.glass-card.inview {
    opacity: 1;
    transform: translateY(0);
}
/* Delay cascades for grids */
.grid-2 .glass-card:nth-child(2),
.grid-3 .glass-card:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .glass-card:nth-child(3) { transition-delay: 0.2s; }


/* ============================================================
   TABLET  640px – 1023px
   ============================================================ */
@media (max-width: 1023px) {

    /* Show hamburger, hide inline nav */
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(75vw, 320px);
        height: 100dvh;
        background: #fff;
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 48px 32px;
        gap: 0;
        z-index: 99;
        transition: right 0.38s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -12px 0 40px rgba(0,0,0,0.09);
    }

    .nav-links.open { right: 0; }

    .nav-btn {
        margin: 0;
        padding: 14px 0;
        width: 100%;
        font-size: 1.05rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta {
        margin: 22px 0 0;
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }

    /* 3-col grid → 2-col on tablet */
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    /* Enquiry card overlap tweak */
    .enquiry-card { transform: translateY(80px); }
}


/* ============================================================
   MOBILE  < 640px
   ============================================================ */
@media (max-width: 639px) {

    /* No cursor glow on touch */
    #cursor-glow { display: none; }

    /* All grids → single column */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }

    /* Hero */
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn-indigo { min-width: unset; width: 100%; }

    /* Cards */
    .glass-card { border-radius: var(--radius-md); }

    /* Partner logos: allow 2 per row */
    .partner-logos { gap: 28px; }
    .platform-logo { height: 26px; }

    /* Footer stacks */
    .footer-top { flex-direction: column; align-items: center; }
    .footer-brand { text-align: center; max-width: 100%; }
    .logo-f { margin: 0 auto 14px; }
    .footer-nav { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }

    /* Enquiry card — remove big translateY that causes scroll issues */
    .enquiry-card {
        transform: translateY(40px);
        border-radius: var(--radius-md);
    }
    .site-footer { padding-top: clamp(60px, 10vw, 100px); }
}