:root,
[data-theme="dark"] {
    --bg: #060b1f;
    --surface: #0c142e;
    --surface-2: #121b3d;
    --border: rgba(148, 163, 184, 0.14);
    --text: #edf2f7;
    --muted: #94a3b8;
    --purple: #a855f7;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --green: #22c55e;
    --grad: linear-gradient(135deg, #c026d3 0%, #7c3aed 30%, #2563eb 65%, #06b6d4 100%);
    --shadow: 0 12px 40px rgba(2, 6, 23, 0.5);
    --glow: 0 8px 30px rgba(124, 58, 237, 0.25);
    --nav-bg: rgba(6, 11, 31, 0.85);
    --footer-bg: #040817;
    --hero-glow-1: rgba(124, 58, 237, 0.22);
    --hero-glow-2: rgba(34, 211, 238, 0.12);
    --badge-bg: rgba(124, 58, 237, 0.12);
    --badge-border: rgba(124, 58, 237, 0.35);
    --badge-text: #c4b5fd;
    --radius: 14px;
    --radius-lg: 22px;
}

[data-theme="light"] {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #eef2f8;
    --border: rgba(15, 23, 42, 0.1);
    --text: #0f172a;
    --muted: #64748b;
    --purple: #7c3aed;
    --blue: #2563eb;
    --cyan: #0891b2;
    --green: #16a34a;
    --grad: linear-gradient(135deg, #c026d3 0%, #7c3aed 30%, #2563eb 65%, #06b6d4 100%);
    --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    --glow: 0 8px 28px rgba(124, 58, 237, 0.16);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #0b1228;
    --hero-glow-1: rgba(124, 58, 237, 0.12);
    --hero-glow-2: rgba(6, 182, 212, 0.1);
    --badge-bg: rgba(124, 58, 237, 0.08);
    --badge-border: rgba(124, 58, 237, 0.22);
    --badge-text: #6d28d9;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
}

::selection {
    background: rgba(124, 58, 237, 0.5);
    color: white;
}

/* NAVBAR */
.navbar {
    padding: 14px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

[data-theme="dark"] .logo-for-light { display: none !important; }
[data-theme="light"] .logo-for-dark { display: none !important; }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}

.navbar-toggler {
    border-color: var(--border);
}

[data-theme="light"] .navbar-toggler-icon {
    filter: invert(1) grayscale(100%);
}

.navbar-brand small {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    margin-left: 8px;
}

.theme-toggle:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline; }

[data-theme="light"] .theme-toggle .icon-sun { display: inline; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 6px;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text) !important;
    background: rgba(148, 163, 184, 0.08);
}

.btn-main {
    background: var(--grad);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    box-shadow: var(--glow);
}

.btn-main:hover,
.btn-main.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: transparent;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* HERO */
.hero {
    padding: 150px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
    top: -220px;
    right: -160px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
    bottom: -260px;
    left: -180px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--badge-text);
    margin-bottom: 26px;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 34px;
}

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

.hero-logo-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    max-width: 440px;
    margin: 0 auto;
    position: relative;
}

.hero-logo-tile::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
}

.hero-logo-tile img {
    width: 100%;
    border-radius: 0;
    display: block;
    background: transparent;
}

/* PAGE HEADER (inner pages) */
.page-header {
    padding: 140px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 65%);
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.page-header p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

/* STATS */
.trust-section {
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.trust-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.trust-item h2 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* SECTIONS */
section {
    padding: 76px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICE / FEATURE CARDS */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    transition: 0.25s;
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.93rem;
    margin: 0;
}

/* INDUSTRY PILLS */
.industry-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    transition: 0.2s;
}

.industry-card:hover {
    border-color: rgba(34, 211, 238, 0.45);
}

.industry-card i {
    font-size: 24px;
    color: var(--green);
    flex-shrink: 0;
}

.industry-card h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.industry-card span {
    color: var(--muted);
    font-size: 0.82rem;
}

/* PRODUCT SPOTLIGHT */
.product-spotlight {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.product-spotlight::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1), transparent 65%);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

[data-theme="light"] .product-tag {
    color: #15803d;
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.3);
}

.product-spotlight h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-spotlight p {
    color: var(--muted);
    max-width: 560px;
}

/* PRICING */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    transition: 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 20px;
}

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

.pricing-card > p {
    color: var(--muted);
    font-size: 0.92rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 24px 0;
}

.price strong {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price span {
    color: var(--muted);
    font-size: 0.9rem;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pricing-list li {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.pricing-list i {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

/* DOWNLOAD PAGE */
.download-page {
    padding: 140px 0 80px;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.download-page::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 65%);
    top: -240px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.download-wrap {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.download-version {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

[data-theme="light"] .download-version {
    color: #15803d;
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.3);
}

.download-wrap h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.download-wrap .subtitle {
    color: var(--muted);
    margin-bottom: 40px;
}

.download-list {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    border-bottom: 1px solid var(--border);
    transition: 0.15s;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item:hover {
    background: var(--surface-2);
}

.download-info h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.download-meta {
    color: var(--muted);
    font-size: 0.85rem;
}

.download-meta span + span::before {
    content: ' · ';
}

.btn-download {
    background: var(--grad);
    color: white;
    padding: 11px 20px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
    box-shadow: var(--glow);
}

.btn-download:hover {
    color: white;
    transform: translateY(-2px);
}

.download-item.coming-soon {
    opacity: 0.6;
}

.badge-soon {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 8px 16px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-footer-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 24px;
}

/* SCREENSHOTS */
.screenshot-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    transition: 0.2s;
    height: 100%;
}

.screenshot-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: var(--glow);
}

.screenshot-card img {
    width: 100%;
    border-radius: var(--radius);
}

.screen-title {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
}

/* CTA */
.cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 30px;
}

/* ABOUT */
.about-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.about-panel h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 32px 0 12px;
}

.about-panel > p {
    color: var(--muted);
    margin-bottom: 14px;
}

.company-facts {
    margin: 20px 0 0;
    display: grid;
    gap: 14px;
}

.company-facts > div {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 8px 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.company-facts dt {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.company-facts dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.company-facts a {
    color: var(--cyan);
}

.about-services {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.about-services li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .about-panel { padding: 28px 20px; }
    .company-facts > div {
        grid-template-columns: 1fr;
    }
}

.price-line {
    margin-top: 16px;
    margin-bottom: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.price-line a {
    color: var(--cyan);
    font-weight: 700;
}

.pricing-actions {
    margin-top: 8px;
}

/* CONTACT */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    transition: 0.2s;
}

.contact-card:hover {
    border-color: rgba(124, 58, 237, 0.45);
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text);
}

.contact-card p,
.contact-card a {
    color: var(--muted);
    margin: 0;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--cyan);
}

/* FOOTER */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    color: #edf2f7;
    padding: 56px 0 28px;
}

.footer h3,
.footer h5 {
    color: #edf2f7;
}

.footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #22d3ee;
}

.footer .text-muted-footer {
    color: #94a3b8 !important;
}

.footer .border-secondary {
    border-color: rgba(148, 163, 184, 0.25) !important;
}

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

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(148, 163, 184, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #edf2f7;
    transition: 0.2s;
}

.socials a:hover {
    background: rgba(124, 58, 237, 0.3);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero { text-align: center; padding-top: 130px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-logo-tile { margin-top: 44px; }
    .navbar-collapse { padding-top: 12px; }
}

@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-download { width: 100%; justify-content: center; }
    .pricing-actions .btn-main { width: 100%; justify-content: center; }
    .cta { padding: 44px 24px; }
    .product-spotlight { padding: 30px 24px; }
}
