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

:root {
    --bg: #08060F;
    --bg-card: #110820;
    --bg-subtle: #1A0C32;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #6D28D9;
    --pink: #EC4899;
    --magenta: #C026D3;
    --gold: #F59E0B;
    --text: #F5F3FF;
    --text-muted: #C4B5FD;
    --text-dim: #6D5E9C;
    --border: rgba(139, 92, 246, 0.22);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── BLOBS ── */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    height: 68px;
    background: rgba(8, 6, 15, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img { width: 34px; height: 34px; }

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A78BFA, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
    background: linear-gradient(135deg, var(--purple-dark), var(--magenta)) !important;
    color: white !important;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 6% 80px;
    gap: 40px;
    overflow: hidden;
}

.hero > .blob:nth-child(1) {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(109,40,217,0.35) 0%, transparent 70%);
    top: -200px; left: -250px;
}

.hero > .blob:nth-child(2) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(192,38,211,0.22) 0%, transparent 70%);
    bottom: -100px; right: 15%;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,92,246,0.12);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.78rem;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.pill-dot {
    width: 7px; height: 7px;
    background: #A78BFA;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.grad {
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 40px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--purple-dark), var(--magenta));
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 36px rgba(109,40,217,0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(109,40,217,0.65);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1px solid var(--border);
    transition: background 0.25s, border-color 0.25s;
}

.btn-outline:hover {
    background: rgba(139,92,246,0.1);
    border-color: var(--purple);
}

/* ── HERO PHONES ── */
.hero-phones {
    flex: 1;
    position: relative;
    z-index: 2;
    height: 600px;
    min-width: 340px;
}

.phone-glow {
    position: absolute;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(139,92,246,0.28) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.phone-wrap {
    position: absolute;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.65);
}

.phone-wrap img { width: 100%; border-radius: 34px; }

.phone-center {
    width: 210px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: floatC 6s ease-in-out infinite;
}

.phone-left {
    width: 168px;
    top: 6%; left: 2%;
    z-index: 2;
    opacity: 0.82;
    animation: floatL 7s ease-in-out infinite 0.9s;
    transform: rotate(-6deg);
}

.phone-right {
    width: 168px;
    bottom: 6%; right: 2%;
    z-index: 2;
    opacity: 0.82;
    animation: floatR 8s ease-in-out infinite 1.8s;
    transform: rotate(6deg);
}

/* ── TRUST ── */
.trust {
    padding: 56px 6%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(139,92,246,0.07);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-chip svg { flex-shrink: 0; color: #A78BFA; }

/* ── SECTION SHARED ── */
.section {
    padding: 110px 6%;
    position: relative;
    overflow: hidden;
}

.s-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--purple-light);
    margin-bottom: 12px;
}

.s-title {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.s-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 580px;
    line-height: 1.75;
}

.s-header {
    text-align: center;
    margin-bottom: 72px;
}

.s-header .s-sub { margin: 0 auto; }

/* ── DEMO CARDS ── */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 40px 28px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.demo-card > img {
    display: block;
    margin: 0 auto 20px;
}

.demo-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--magenta));
}

.demo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.5);
    box-shadow: 0 24px 60px rgba(139,92,246,0.18);
}

.demo-icon {
    width: 62px; height: 62px;
    background: rgba(139,92,246,0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.demo-icon svg { color: #A78BFA; }

.demo-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-card p {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 26px;
}

.btn-demo {
    display: inline-block;
    background: rgba(139,92,246,0.12);
    border: 1px solid var(--border);
    color: var(--purple-light);
    padding: 9px 26px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.22s, border-color 0.22s, color 0.22s;
}

.btn-demo:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

/* ── APP PREVIEW ── */
.preview-wrapper { position: relative; }

.preview-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 16px 6% 32px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.preview-track:active { cursor: grabbing; }
.preview-track::-webkit-scrollbar { display: none; }

.preview-item {
    flex-shrink: 0;
    width: 195px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    transition: transform 0.3s, box-shadow 0.3s;
}

.preview-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 36px 80px rgba(0,0,0,0.65);
}

.preview-item img { width: 100%; }

.fade-edge-l, .fade-edge-r {
    position: absolute;
    top: 0; bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 2;
}

.fade-edge-l {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.fade-edge-r {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

/* ── FEATURES ── */
.feat-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 130px;
}

.feat-row:last-child { margin-bottom: 0; }
.feat-row.rev { flex-direction: row-reverse; }

.feat-phone {
    flex-shrink: 0;
    width: 250px;
    position: relative;
}

.feat-phone::before {
    content: '';
    position: absolute;
    inset: -28px;
    background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.feat-phone img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.feat-body { flex: 1; }

.feat-num {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--purple-light);
    margin-bottom: 12px;
}

.feat-body h3 {
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.feat-body p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 26px;
}

.feat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat-tag {
    background: rgba(139,92,246,0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 16px;
    font-size: 0.78rem;
    color: var(--purple-light);
    font-weight: 500;
}

/* ── LICENSE ── */
.lic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.lic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 50px 40px;
    position: relative;
    transition: box-shadow 0.3s;
}

.lic-card.featured {
    border-color: var(--purple);
    background: linear-gradient(155deg, rgba(109,40,217,0.12) 0%, var(--bg-card) 55%);
    box-shadow:
        0 0 0 1px rgba(139,92,246,0.35),
        0 0 70px rgba(139,92,246,0.18),
        inset 0 0 60px rgba(139,92,246,0.05);
}

.lic-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple-dark), var(--magenta));
    color: white;
    padding: 5px 22px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lic-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.lic-desc {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 32px;
}

.lic-list {
    list-style: none;
    margin-bottom: 40px;
}

.lic-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 9px 0;
    border-bottom: 1px solid rgba(139,92,246,0.07);
}

.lic-list li:last-child { border-bottom: none; }
.lic-list li.off { color: #4B4468; }

.ic-yes { color: #A78BFA; flex-shrink: 0; margin-top: 1px; }
.ic-no  { color: #3D3556; flex-shrink: 0; margin-top: 1px; }

.btn-lic {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn-ext {
    background: linear-gradient(135deg, var(--purple-dark), var(--magenta));
    color: white;
    box-shadow: 0 0 32px rgba(109,40,217,0.45);
}

.btn-ext:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 56px rgba(109,40,217,0.65);
}

.btn-reg {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-reg:hover {
    background: rgba(139,92,246,0.1);
    border-color: var(--purple);
}

/* ── FAQ ── */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq-item.open {
    border-color: rgba(139,92,246,0.45);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-q:hover { color: var(--purple-light); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-dim);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--purple-light);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.open .faq-a {
    max-height: 600px;
    padding: 0 28px 26px;
}

.faq-a p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.78;
    margin-bottom: 12px;
}

.faq-a p:last-child { margin-bottom: 0; }

.faq-a ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.faq-a ul li {
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}

.faq-a ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--purple-light);
    font-weight: 700;
}

.faq-a strong { color: var(--text); font-weight: 600; }

/* ── CONTACT ── */
.contact-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 0 auto;
}

.contact-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139,92,246,0.45);
}

.contact-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: contain;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.btn-contact {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.22s, opacity 0.22s;
    margin-top: 8px;
}

.btn-contact:hover { transform: translateY(-2px); opacity: 0.88; }

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-mail {
    background: #1A8FE3;
    color: white;
}

/* ── DIVIDER ── */
.grad-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), rgba(192,38,211,0.4), transparent);
    margin: 0 6%;
}

/* ── FOOTER ── */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 6% 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo-text { font-size: 1.2rem; }

.footer-brand .logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .logo-row img { width: 32px; }

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.72;
    margin-bottom: 26px;
    max-width: 300px;
}

.footer-brand .btn-primary {
    font-size: 0.88rem;
    padding: 11px 26px;
    display: inline-flex;
}

.footer-col h4 {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 13px; }

.footer-col ul a {
    color: var(--text-dim);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--purple-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ── ANIMATIONS ── */
@keyframes floatC {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%       { transform: translate(-50%, -50%) translateY(-22px); }
}

@keyframes floatL {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50%       { transform: rotate(-6deg) translateY(-16px); }
}

@keyframes floatR {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50%       { transform: rotate(6deg) translateY(-26px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up  { opacity: 0; transform: translateY(44px); transition: opacity 0.72s ease, transform 0.72s ease; }
.fade-lft { opacity: 0; transform: translateX(-44px); transition: opacity 0.72s ease, transform 0.72s ease; }
.fade-rgt { opacity: 0; transform: translateX(44px);  transition: opacity 0.72s ease, transform 0.72s ease; }

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

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero { flex-direction: column; padding-top: 130px; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-phones { min-width: unset; width: 100%; height: 440px; }
    .phone-center { width: 160px; }
    .phone-left, .phone-right { width: 130px; }
    .feat-row, .feat-row.rev { flex-direction: column; gap: 44px; }
    .feat-phone { width: 200px; margin: 0 auto; }
    .lic-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .nav-links { gap: 1.2rem; }
}

@media (max-width: 600px) {
    nav { padding: 0 4%; }
    .nav-links .hide-sm { display: none; }
    .hero, .section { padding-left: 4%; padding-right: 4%; }
    .trust { padding-left: 4%; padding-right: 4%; }
}
