/* ========================================
   Vectorial — Xpovio Style
   Primary: #97ff41 (Vectorial green)
   BG: #000000
   ======================================== */

:root {
    --inter: "Inter", sans-serif;
    --theme-font: var(--inter);
    --theme-bg: #000000;
    --theme-color: #ffffff;
    --white: #ffffff;
    --black: #000000;
    --primary-color: #97ff41;
    --primary-dark: #7ad832;
    --primary-glow: rgba(151, 255, 65, 0.12);
    --primary-glow-strong: rgba(151, 255, 65, 0.25);
    --secondary-color: #999999;
    --tertiary-color: #0e0e0e;
    --senary-color: #111111;
    --border-color: #222222;
    --transition: all 0.3s ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--theme-font);
    font-size: 16px; line-height: 30px; font-weight: 400;
    color: var(--theme-color); background-color: var(--theme-bg);
    overflow-x: clip; max-width: 100vw;
}
body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 5px; }
body::-webkit-scrollbar-track { background-color: #111; }

img { max-width: 100%; height: auto; object-fit: cover; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a, button { font-size: 16px; line-height: 18px; color: var(--theme-color); font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 0; outline: 0; transition: var(--transition); background: transparent; }
a:hover, button:hover { color: var(--primary-color); }
p, span { font-size: 16px; line-height: 30px; font-weight: 400; color: var(--theme-color); margin: 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--inter); margin: 0; color: var(--theme-color); }
h1, .h1 { font-size: clamp(46px, 7vw, 90px); line-height: clamp(52px, 8vw, 100px); font-weight: 800; }
h2 { font-size: clamp(32px, 5vw, 60px); line-height: clamp(40px, 6vw, 72px); font-weight: 700; }
h3 { font-size: clamp(24px, 3vw, 40px); line-height: clamp(34px, 4vw, 50px); }
h4 { font-size: clamp(18px, 2vw, 24px); line-height: clamp(28px, 3vw, 34px); font-weight: 600; }
h6 { font-size: 14px; line-height: 24px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-color); font-weight: 600; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 15px; }
.section { padding: 130px 0; }

/* ── Preloader ── */
.preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo { height: 60px; margin-bottom: 30px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader__bar { width: 200px; height: 2px; background: var(--border-color); border-radius: 2px; overflow: hidden; }
.preloader__fill { width: 0; height: 100%; background: var(--primary-color); animation: preloaderFill 1.8s ease-in-out forwards; }
@keyframes preloaderPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.95); } }
@keyframes preloaderFill { 0% { width: 0; } 100% { width: 100%; } }

/* ── Text Stroke — Outline look restored, internal artifacts hidden ── */
.text-stroke {
    -webkit-text-stroke: 1.5px var(--primary-color);
    -webkit-text-fill-color: var(--theme-bg);
    color: var(--theme-bg);
    paint-order: stroke fill;
    font-size: inherit; line-height: inherit; font-weight: inherit;
    display: inline;
    letter-spacing: 0.02em;
}
.text-primary-color { color: var(--primary-color); -webkit-text-fill-color: var(--primary-color); }

/* ── Vertical Background Lines ── */
.lines {
    overflow: hidden; z-index: -3;
    display: flex; justify-content: space-around;
    position: fixed; width: 100%; height: 100%; inset: 0;
}
.lines .line { width: 1px; height: 100%; min-height: 100vh; background-color: rgba(255,255,255,0.03); }

/* ── Custom Cursor ── */
.mouseCursor { position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; transform: translateZ(0); visibility: hidden; z-index: 10000; }
.cursor-outer { margin-left: -12px; margin-top: -12px; width: 30px; height: 30px; border: 1px solid var(--primary-color); opacity: 0.5; transition: all 0.14s ease-out; mix-blend-mode: difference; }
.cursor-inner { margin-left: -3px; margin-top: -3px; width: 10px; height: 10px; background-color: var(--primary-color); opacity: 0.8; z-index: 10001; transition: width 0.3s, height 0.3s, margin 0.3s, opacity 0.3s; mix-blend-mode: difference; }
.cursor-inner.cursor-hover, .cursor-outer.cursor-hover { opacity: 0; }

/* ── Sub-Title Pill Badge ── */
.sub-title {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 20px; line-height: 1;
    border: 1px solid rgba(151,255,65,0.25); color: var(--primary-color);
    border-radius: 30px; margin-bottom: 32px;
    text-transform: uppercase; font-size: 14px; font-weight: 600;
    background: rgba(151,255,65,0.04);
}
.sub-title i { transform: rotate(-45deg); font-style: normal; font-size: 14px; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px; background: var(--primary-color); color: var(--black);
    font-weight: 700; font-size: 16px; border-radius: 30px;
    transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary i { font-style: normal; transform: rotate(-45deg); transition: transform 0.3s; color: var(--black); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(151,255,65,0.3); color: var(--black); }
.btn-primary:hover i { transform: rotate(0); color: var(--black); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px; background: transparent;
    border: 1px solid #414141; color: var(--white);
    font-weight: 600; font-size: 16px; border-radius: 30px;
    transition: var(--transition); cursor: pointer;
}
.btn-outline i { font-style: normal; }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }

.cta-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }

/* ── Navbar — Logo only, bigger ── */
.primary-navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 24px 0; transition: all 0.4s ease;
}
.primary-navbar.navbar-active {
    background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
    padding: 16px 0;
}
.nav-container { max-width: 1320px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: flex-start; }
.nav-logo { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 22px; }
.nav-logo span { color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.logo-img { height: 38px; }

/* ── Banner / Hero ── */
.banner {
    min-height: 100vh; display: flex; align-items: center;
    padding: 140px 15px 80px; position: relative;
}
.banner__content { text-align: center; width: 100%; }
.banner__content h1 { margin-bottom: 44px; text-transform: none; }
.banner__content .primary-text { font-size: 20px; line-height: 32px; color: var(--secondary-color); max-width: 640px; margin: 0 auto 44px; display: none; }

/* Banner side texts */
.banner-social-text {
    position: absolute; display: flex; gap: 40px;
    writing-mode: vertical-rl; text-orientation: mixed;
    z-index: 5;
}
.banner-social-text a {
    font-size: 12px; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(255,255,255,0.25);
}
.banner-social-text a:hover { color: var(--primary-color); }
.banner-left-text { left: 30px; bottom: 80px; transform: rotate(180deg); }
.banner-right-text { right: 30px; bottom: 80px; transform: rotate(180deg); }

/* Star decoration */
.star-decoration { position: absolute; left: 120px; top: 35%; animation: rotateStar 8s linear infinite; }
@keyframes rotateStar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Section Headers ── */
.section__header { margin-bottom: 60px; }
.section__header .title { text-transform: none; }
.section__content p { color: var(--secondary-color); max-width: 640px; }
.section-desc { color: var(--secondary-color); max-width: 640px; margin: 20px auto 0; font-size: 18px; }

/* ── Marquee Text Slider ── */
.marquee-section {
    padding: 50px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
    overflow: hidden; position: relative;
}
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-content {
    display: inline-flex; gap: 0;
    animation: marqueeScroll 20s linear infinite;
}
.marquee-item {
    font-size: clamp(40px, 6vw, 80px); font-weight: 800; text-transform: uppercase;
    padding: 0 40px; display: inline-flex; align-items: center; gap: 24px;
    white-space: nowrap; line-height: 1.2;
    color: rgba(255,255,255,0.9);
    -webkit-text-fill-color: rgba(255,255,255,0.9);
    -webkit-text-stroke: 0;
}
.marquee-item--stroke {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}
.marquee-icon {
    font-style: normal; color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    -webkit-text-stroke: 0;
    font-size: 0.5em;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── VSL Section ── */
.vsl-section .vsl__header { text-align: center; margin-bottom: 60px; }
.vsl-section .vsl__header .title { margin-bottom: 0; }
.vsl-section .vsl__header p { color: var(--secondary-color); max-width: 540px; margin: 20px auto 0; }

.vsl__video-wrapper { max-width: 960px; margin: 0 auto; }
.vsl__video-placeholder {
    aspect-ratio: 16 / 9; background: var(--senary-color);
    border: 1px solid var(--border-color); border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.vsl__video-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
}
.vsl__video-placeholder:hover { border-color: var(--primary-color); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(151,255,65,0.06); }
.vsl__play-btn { color: var(--primary-color); margin-bottom: 16px; z-index: 1; transition: transform 0.3s; }
.vsl__video-placeholder:hover .vsl__play-btn { transform: scale(1.15); }
.vsl__video-label { color: var(--secondary-color); font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; z-index: 1; }

/* ====================================================
   PUZZLE GRID — Jigsaw Pieces with Visible Edges
   ==================================================== */
.puzzle-section { overflow: visible; }

.puzzle-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px; /* tight gap for interlocking visual */
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

/* Master piece underneath */
.puzzle-master-wrap {
    max-width: 1040px;
    margin: 4px auto 0;
    transition: var(--transition);
}

.puzzle-master-piece {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, #0a0a0a 100%);
    border-radius: 16px;
    border: 2px solid rgba(124,58,237,0.5);
    padding: 30px 40px;
    text-align: left;
    box-shadow: 0 0 20px rgba(124,58,237,0.15), inset 0 0 30px rgba(124,58,237,0.03);
    transition: all 0.4s ease;
}
.puzzle-master-piece:hover {
    background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, #151515 100%);
    transform: translateY(4px);
    border-color: rgba(124,58,237,0.7);
    box-shadow: 0 0 35px rgba(124,58,237,0.3), inset 0 0 30px rgba(124,58,237,0.05);
}
.puzzle-master-front {
    display: flex;
    align-items: center;
    gap: 40px;
}
.puzzle-master-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(124,58,237,0.3);
    padding-right: 40px;
}
.puzzle-master-right {
    flex: 1;
}

/* Base style for the 8 pieces */
.puzzle-piece {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s;
    overflow: visible;
}

.puzzle-piece__front {
    position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 36px 15px 28px;
    min-height: 200px;
    background: var(--senary-color);
    border: 1px solid rgba(151,255,65,0.05);
    transition: all 0.4s ease;
    text-align: center;
}

/* 
   4x2 INTERLOCKING BENTO CSS
   We create visual puzzle pieces by carefully mixing large and sharp border radii.
*/
.puzzle-grid-8 .puzzle-piece:nth-child(1) .puzzle-piece__front { border-radius: 40px 12px 12px 12px; }
.puzzle-grid-8 .puzzle-piece:nth-child(2) .puzzle-piece__front { border-radius: 12px 24px 24px 12px; }
.puzzle-grid-8 .puzzle-piece:nth-child(3) .puzzle-piece__front { border-radius: 24px 12px 12px 24px; }
.puzzle-grid-8 .puzzle-piece:nth-child(4) .puzzle-piece__front { border-radius: 12px 40px 12px 12px; }

.puzzle-grid-8 .puzzle-piece:nth-child(5) .puzzle-piece__front { border-radius: 12px 12px 12px 40px; }
.puzzle-grid-8 .puzzle-piece:nth-child(6) .puzzle-piece__front { border-radius: 12px 24px 24px 12px; }
.puzzle-grid-8 .puzzle-piece:nth-child(7) .puzzle-piece__front { border-radius: 24px 12px 12px 24px; }
.puzzle-grid-8 .puzzle-piece:nth-child(8) .puzzle-piece__front { border-radius: 12px 12px 40px 12px; }

/* Glowing effect to tie them into one object */
.puzzle-grid-8:hover .puzzle-piece__front {
    opacity: 0.5;
}
.puzzle-grid-8 .puzzle-piece:hover .puzzle-piece__front {
    opacity: 1;
    background: #111;
    border-color: rgba(151,255,65,0.4);
    box-shadow: 0 0 20px rgba(151,255,65,0.1), inset 0 0 10px rgba(151,255,65,0.05);
    transform: scale(1.05);
    z-index: 10;
}

.puzzle-piece__number {
    font-size: 14px; font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    opacity: 0.5;
}

.puzzle-piece__icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    color: var(--primary-color);
    opacity: 0.7;
    transition: all 0.4s;
}
.puzzle-piece__icon svg { width: 28px; height: 28px; }

.puzzle-piece__title {
    font-size: 15px; font-weight: 700; color: var(--white); line-height: 22px;
    transition: color 0.4s;
}

.puzzle-piece__desc {
    font-size: 12px; line-height: 18px; color: rgba(255,255,255,0.4);
    margin-top: 8px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: all 0.4s ease;
}

/* Hover */
.puzzle-piece:hover { z-index: 5; }
.puzzle-piece:hover .puzzle-piece__icon { opacity: 1; transform: scale(1.15); }
.puzzle-piece:hover .puzzle-piece__title { color: var(--primary-color); }
.puzzle-piece:hover .puzzle-piece__desc { max-height: 60px; opacity: 1; }
.puzzle-piece:hover .puzzle-piece__number { opacity: 1; }

/* Hide old elements */
.puzzle-piece__connector { display: none; }
.puzzle-piece__back { display: none; }


/* ── FAQ Section ── */
.row-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq-left { position: sticky; top: 120px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:first-child { border-top: 1px solid var(--border-color); }

.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--white);
    text-align: left; gap: 20px; cursor: pointer;
    transition: color 0.3s;
}
.faq-question:hover { color: var(--primary-color); }
.faq-question span:first-child { flex: 1; }
.faq-icon {
    width: 40px; height: 40px;
    border: 1px solid #414141; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 300; color: var(--secondary-color);
    transition: var(--transition); flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); border-color: var(--primary-color); color: var(--primary-color); }
.faq-item.active .faq-question { color: var(--primary-color); }

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 0;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 0 24px; }
.faq-answer p { color: var(--secondary-color); font-size: 15px; line-height: 26px; }

/* ── Contact ── */
.contact-wrap { max-width: 680px; margin: 0 auto; }
.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary-color); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border-color); padding: 14px 0; color: var(--white); font-family: var(--inter); font-size: 16px; line-height: 30px; transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-color); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; }

/* ── Footer ── */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border-color); position: relative; z-index: 1; }
.footer-content { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); flex-wrap: wrap; gap: 24px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary-color); }
.footer-nav a:hover { color: var(--primary-color); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; }
.footer-bottom p { font-size: 14px; color: var(--secondary-color); }

/* ── Progress Wrap ── */
.progress-wrap {
    position: fixed; right: 20px; bottom: 40px; z-index: 99;
    width: 46px; height: 46px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.progress-wrap.active-progress { opacity: 1; visibility: visible; }
.progress-circle { position: absolute; color: var(--primary-color); }
.progress-circle path { stroke-dasharray: 138.23; stroke-dashoffset: 138.23; transition: stroke-dashoffset 10ms linear; }
.progress-arrow { color: var(--primary-color); font-size: 16px; z-index: 1; }

/* ── Reveal animations ── */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(60px); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale { opacity: 0; transform: scale(0.85); }
.reveal-scale.revealed { opacity: 1; transform: scale(1); transition: opacity 0.6s ease, transform 0.6s ease; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .puzzle-grid-8 { grid-template-columns: repeat(2, 1fr); }
    .puzzle-master-front { flex-direction: column; text-align: center; gap: 20px; }
    .puzzle-master-left { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(124,58,237,0.3); padding-bottom: 20px; width: 100%; }
    .row-split { grid-template-columns: 1fr; gap: 40px; }
    .faq-left { position: static; }
    .banner-social-text { display: none; }
    .star-decoration { display: none; }
}

@media (max-width: 767px) {
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .mouseCursor { display: none; }
    .lines { display: none; }
    .puzzle-grid-8 { grid-template-columns: repeat(2, 1fr); }
    .puzzle-piece__icon svg { width: 20px; height: 20px; }
    .puzzle-piece__title { font-size: 12px; line-height: 16px; }
    .puzzle-piece__number { font-size: 11px; margin-bottom: 6px; }
    .puzzle-piece__desc { display: none; }
    .marquee-item { font-size: clamp(28px, 5vw, 50px); padding: 0 20px; }
    .faq-question { font-size: 16px; }
    .banner__content h1 { font-size: clamp(32px, 6vw, 55px); line-height: clamp(38px, 7vw, 62px); }
}

@media (max-width: 480px) {
    .puzzle-piece__front { padding: 12px; }
    .puzzle-piece__icon { width: 32px; height: 32px; }
    .puzzle-piece__icon svg { width: 16px; height: 16px; }
    .puzzle-piece__title { font-size: 11px; }
}
