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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #7c3aed;
    --text: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
}

body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
    border: 2px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; }

/* ── Navbar ── */
.navbar {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
    padding: 0 0; height: 64px;
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* ── Hero ── */
.hero { padding: 80px 0 100px; background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; padding: 5px 14px; background: var(--primary); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px; }
.hero-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.hero-title .highlight { color: var(--primary); }
.hero-desc { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
    display: flex; align-items: center; gap: 16px; background: #fff;
    border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.hero-card-2 { border-left-color: var(--accent); transform: translateX(20px); }
.hero-card-3 { border-left-color: #059669; }
.hero-card-icon { font-size: 28px; }
.hero-card-num { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.hero-card-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--text-muted); }

/* ── Features ── */
.features { padding: 80px 0; background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ── Products ── */
.products-preview { padding: 80px 0; background: var(--bg-alt); }
.products-section { padding: 60px 0 80px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.product-grid-full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.product-card {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
    overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img { height: 200px; overflow: hidden; background: var(--bg-alt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--primary-light); }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.product-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.product-desc-full { white-space: pre-wrap; }
.product-actions { display: flex; flex-direction: row; gap: 10px; margin-top: auto; flex-wrap: nowrap; }
.product-actions .btn { flex: 1; justify-content: center; min-width: 0; }
.center-btn { text-align: center; margin-top: 40px; }
.page-hero { background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-muted); }

.demo-access-banner { margin-bottom: 28px; font-size: 15px; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 64px; margin-bottom: 20px; }
.empty-state h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); }

/* ── Contact ── */
.contact-section { padding: 80px 0; background: var(--primary); color: #fff; text-align: center; }
.contact-section .section-header h2 { color: #fff; }
.contact-section .section-header p { color: rgba(255,255,255,.8); }
.contact-center { margin-top: 24px; }
.contact-section .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.contact-section .btn-primary:hover { background: rgba(255,255,255,.9); }

/* ── Footer ── */
.footer { background: #111827; color: #9ca3af; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.footer-brand .logo { margin-bottom: 8px; }
.footer-brand .logo img { height: 36px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-size: 14px; color: #9ca3af; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 20px; font-size: 13px; text-align: center; }

/* ── Modal ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
    background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateY(20px); transition: transform .25s;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 0; }
.modal-header h3 { font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 16px 28px 28px; }
.modal-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req { color: #ef4444; }
.form-control {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 14px; font-family: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Form alerts ── */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .product-grid, .product-grid-full { grid-template-columns: 1fr; }
}
