/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #09090b;
    --bg-secondary: #0f1118;
    --bg-card: #16171f;
    --bg-card-hover: #1c1d28;
    --border: #23243a;
    --border-light: #2a2b45;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --purple-primary: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #7c3aed;
    --purple-glow: rgba(139, 92, 246, 0.15);
    --purple-glow-strong: rgba(139, 92, 246, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-text: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #6366f1 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--purple-glow);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px var(--purple-glow-strong);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--purple-glow-strong);
}

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

.btn-outline:hover {
    border-color: var(--purple-primary);
    background: var(--purple-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--purple-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--purple-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(1.3);
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo-text .accent {
    color: var(--purple-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-cta {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px var(--purple-glow-strong);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--purple-primary);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: -50px;
    left: -100px;
    opacity: 0.1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero > .container {
    display: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 24px;
    margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    position: relative;
    z-index: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--purple-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== APP PREVIEW ===== */
.hero-app-preview {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.app-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #f87171; }
.preview-dots span:nth-child(2) { background: #fbbf24; }
.preview-dots span:nth-child(3) { background: #4ade80; }

.preview-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.app-preview-body {
    display: flex;
    min-height: 320px;
}

.preview-sidebar {
    width: 180px;
    padding: 12px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-module {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.preview-module.active {
    background: var(--purple-glow);
    color: var(--purple-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.preview-map {
    flex: 1;
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.preview-map .leaflet-container {
    background: var(--bg-primary);
}

.hero-marker, .hero-cluster {
    background: transparent;
    border: none;
}

/* ===== TRUSTED ===== */
.trusted {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-item {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.trusted-item:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--purple-light);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== MODULES ===== */
.modules {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.modules-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.module-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.module-card:hover {
    border-color: var(--border-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-card);
}

.module-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--module-color, var(--purple-light));
}

.module-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.module-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.module-apis {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.module-apis span {
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== PRICING ===== */
.pricing {
    padding: 120px 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tab {
    padding: 10px 28px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.pricing-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.pricing-tab:hover:not(.active) {
    color: var(--text-primary);
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

.pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-light);
}

.pricing-card.featured {
    border-color: var(--purple-primary);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 100px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    color: var(--purple-light);
    min-width: 16px;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled svg {
    color: var(--text-muted);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-note a {
    color: var(--purple-light);
    text-decoration: underline;
}

.pricing-contact-bar {
    margin-top: 48px;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--border);
}

.pricing-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-contact-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.pricing-contact-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== DOWNLOAD ===== */
.download {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.download-card {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glow);
}

.download-info {
    flex: 1;
}

.download-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.download-info > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.download-specs {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-btn {
    margin-bottom: 12px;
}

.download-version {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-visual {
    flex-shrink: 0;
}

.download-visual {
    text-align: center;
}

.download-logo {
    width: 200px;
    height: auto;
    filter: brightness(1.4) drop-shadow(0 0 40px var(--purple-glow-strong));
    animation: float 6s ease-in-out infinite;
}

.download-brand {
    display: block;
    margin-top: 12px;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--purple-light);
}

.download-brand strong {
    font-weight: 700;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== ACTIVATION STEPS ===== */
.activation {
    padding: 120px 0;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-arrow {
    color: var(--text-muted);
}

/* ===== MANAGE LICENCE ===== */
.manage-licence {
    padding: 80px 0;
}

.manage-licence-card {
    padding: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.06) 100%);
    border: 1px solid var(--border);
    text-align: center;
}

.manage-licence-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.manage-licence-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    flex-shrink: 0;
}

.manage-licence-content h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 4px;
    text-align: left;
}

.manage-licence-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

.manage-licence-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.manage-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.manage-feature svg {
    color: var(--purple-light);
    min-width: 20px;
}

.manage-licence-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-method svg {
    color: var(--purple-light);
    min-width: 20px;
}

.contact-method strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-method span {
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(1.5);
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--purple-light);
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.modal-form .form-group input {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.modal-form .form-group input:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px var(--purple-glow);
}

.modal-form .form-group input::placeholder {
    color: var(--text-muted);
}

/* Module checkboxes */
.module-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.module-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.module-check:hover {
    border-color: var(--border-light);
}

.module-check input[type="checkbox"] {
    display: none;
}

.module-check .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    border: 2px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.module-check input:checked ~ .checkmark {
    background: var(--gradient-primary);
    border-color: var(--purple-primary);
}

.module-check input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.module-check:has(input:checked) {
    border-color: var(--purple-primary);
    background: var(--purple-glow);
    color: var(--text-primary);
}

.modal-total {
    text-align: right;
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: 8px 0;
    border-top: 1px solid var(--border);
}

.modal-total strong {
    color: var(--purple-light);
    font-size: 1.3rem;
}

.modal-price-display {
    text-align: center;
    padding: 20px;
    margin-bottom: 8px;
}

.modal-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.modal-warning {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--purple-light);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.5;
}

.modal-secure {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Success modal */
.modal-success {
    text-align: center;
}

.success-icon {
    margin-bottom: 16px;
}

.modal-success h2 {
    color: #4ade80;
}

.modal-success p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }
.feature-card:nth-child(1) { --i: 0; }
.feature-card:nth-child(2) { --i: 1; }
.feature-card:nth-child(3) { --i: 2; }
.feature-card:nth-child(4) { --i: 3; }
.feature-card:nth-child(5) { --i: 4; }
.feature-card:nth-child(6) { --i: 5; }

.module-card.reveal { transition-delay: calc(var(--j, 0) * 0.1s); }
.module-card:nth-child(1) { --j: 0; }
.module-card:nth-child(2) { --j: 1; }
.module-card:nth-child(3) { --j: 2; }
.module-card:nth-child(4) { --j: 3; }
.module-card:nth-child(5) { --j: 4; }

.pricing-card.reveal { transition-delay: calc(var(--k, 0) * 0.15s); }
.pricing-card:nth-child(1) { --k: 0; }
.pricing-card:nth-child(2) { --k: 1; }
.pricing-card:nth-child(3) { --k: 2; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 0 60px;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 24px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .download-specs {
        justify-content: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-app-preview {
        max-width: 100%;
    }

    .preview-sidebar {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .download-card {
        padding: 28px;
    }

    .download-logo {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .trusted-logos {
        gap: 20px;
    }
}
