/* VBJet — Design system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0693e3;
    --primary-dark: #0574b8;
    --primary-light: #e6f4fd;
    --green: #00a32a;
    --green-light: #edfaef;
    --red: #d63638;
    --orange: #ff6900;
    --purple: #9b51e0;
    --yellow: #f0b849;
    --cyan: #0693e3;
    --text: #1d2327;
    --text-muted: #646970;
    --text-light: #a7aaad;
    --bg: #ffffff;
    --bg-alt: #f6f7f7;
    --bg-dark: #1d2327;
    --border: #dcdcde;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 4px 24px rgba(0,0,0,.12);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --announcement-height: 40px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: all .2s; font-family: var(--font); line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); height: var(--header-height); }
@media (min-width: 769px) {
    .site-header { backdrop-filter: blur(12px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.logo:hover { color: var(--text); }
.main-nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
.main-nav li { display: flex; align-items: center; }
.main-nav a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 15px; line-height: 1.5; }
.main-nav a:hover, .main-nav a.active { background: var(--bg-alt); color: var(--primary); }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px; z-index: 100; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-dropdown { position: relative; margin-right: 4px; }
.lang-dropdown-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1; white-space: nowrap; }
.lang-dropdown-trigger:hover, .lang-dropdown.open .lang-dropdown-trigger { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.lang-dropdown-label { max-width: 88px; overflow: hidden; text-overflow: ellipsis; }
.lang-dropdown-caret { font-size: 10px; opacity: .55; margin-left: -2px; }
.lang-flag { display: inline-flex; flex-shrink: 0; line-height: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-flag svg { display: block; }
.lang-dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; z-index: 1200; }
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.lang-dropdown-option:hover { background: var(--bg-alt); color: var(--primary); }
.lang-dropdown-option.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.lang-dropdown-option span:not(.lang-flag):not(.lang-check) { flex: 1; }
.lang-check { margin-left: auto; color: var(--primary); display: inline-flex; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--primary-light) 0%, #fff 60%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 14px; color: var(--text-light); }
.hero-dashboard { display: flex; flex-direction: column; gap: 16px; }
.dashboard-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.dashboard-card.active { transform: scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-header { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.card-icon { font-size: 20px; }
.status-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.status-badge.success { background: var(--green-light); color: var(--green); }
.mini-stats { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mini-stat { display: flex; justify-content: space-between; font-size: 13px; }
.mini-stat .value.success { color: var(--green); font-weight: 600; }
.big-number { font-size: 36px; font-weight: 800; color: var(--primary); }
.growth-badge { display: inline-block; background: var(--green-light); color: var(--green); padding: 4px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-top: 8px; }
.speed-score { font-size: 28px; font-weight: 800; color: var(--orange); }

/* Trust Bar */
.trust-bar { padding: 24px 0; border-bottom: 1px solid var(--border); text-align: center; }
.trust-bar p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.trust-rating { display: flex; align-items: center; justify-content: center; gap: 8px; }
.stars { color: #ffb900; font-size: 18px; letter-spacing: 2px; }

/* Sections */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
.feature-section { padding: 80px 0; }
.feature-section.alt-bg { background: var(--bg-alt); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s; }
.feature-section.alt-bg .feature-card { background: #fff; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-icon.purple { background: #f3e8ff; }
.feature-icon.blue { background: #dbeafe; }
.feature-icon.yellow { background: #fef3c7; }
.feature-icon.orange { background: #ffedd5; }
.feature-icon.cyan { background: #e0f2fe; }
.feature-icon.green { background: var(--green-light); }
.feature-icon.red { background: #fee2e2; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.feature-link { font-weight: 600; font-size: 14px; }

/* Pricing */
.pricing-section { padding: 80px 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card { background: #fff; border-radius: var(--radius); padding: 36px 28px; border: 2px solid var(--border); position: relative; transition: box-shadow .3s; }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.old-price { text-decoration: line-through; color: var(--text-light); font-size: 16px; }
.current-price { font-size: 36px; font-weight: 800; color: var(--text); }
.period { color: var(--text-muted); font-size: 14px; }
.plan-billing { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { padding: 8px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--bg-alt); display: flex; align-items: flex-start; gap: 8px; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 20px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 20px; color: var(--text-muted); line-height: 1.7; font-size: 15px; }

/* CTA */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, #0574b8 100%); text-align: center; color: #fff; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { opacity: .85; margin-bottom: 28px; font-size: 16px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-section .btn-primary:hover { background: var(--primary-light); }

/* Page Hero */
.page-hero { padding: 60px 0 40px; background: var(--bg-alt); text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* Plugins */
.plugins-section { padding: 60px 0 80px; }
.plugin-category { margin-bottom: 60px; }
.plugin-category-header { margin-bottom: 28px; }
.plugin-category-header h2 { font-size: 24px; font-weight: 800; margin: 8px 0; }
.plugin-category-header p { color: var(--text-muted); font-size: 15px; max-width: 560px; }
.plugin-category h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plugin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .3s; }
.plugin-card:hover { box-shadow: var(--shadow); }
.plugin-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.plugin-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.plugin-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.plugin-actions { display: flex; gap: 8px; }

/* Download */
.download-section { padding: 60px 0 80px; }
.download-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); }
.version-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 14px; margin-bottom: 16px; }
.download-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.requirements { margin: 24px 0; }
.requirements h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.requirements ul { list-style: none; }
.requirements li { padding: 6px 0; color: var(--text-muted); font-size: 15px; }
.mini-plugin-list { display: flex; flex-direction: column; gap: 8px; }
.mini-plugin { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.mini-plugin-icon { font-size: 20px; }
.mini-plugin span:nth-child(2) { flex: 1; font-weight: 500; font-size: 14px; }

/* Docs */
.docs-section { padding: 40px 0 80px; }
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.docs-sidebar { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
.docs-sidebar h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin: 20px 0 8px; }
.docs-sidebar ul { list-style: none; }
.docs-sidebar a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-muted); }
.docs-sidebar a:hover { color: var(--primary); }
.docs-content section { margin-bottom: 48px; }
.docs-content h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.docs-content p, .docs-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.docs-content code { background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.docs-content ol { padding-left: 20px; }

/* Forms */
.contact-section, .auth-section { padding: 60px 0 80px; }
.contact-form, .auth-card { max-width: 520px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.auth-card h1 { text-align: center; margin-bottom: 28px; font-size: 24px; }
.auth-link { text-align: center; margin-top: 16px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 15px; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

/* Dashboard */
.dashboard-section { padding: 40px 0 80px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }

/* Error */
.error-page { padding: 120px 0; text-align: center; }
.error-page h1 { font-size: 80px; font-weight: 800; color: var(--primary); }
.error-page h2 { font-size: 24px; margin: 16px 0; }
.error-page p { color: var(--text-muted); margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #c3c4c7; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.compat-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col a { color: #c3c4c7; font-size: 14px; display: block; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-newsletter { border-top: 1px solid rgba(255,255,255,.1); padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-newsletter h4 { color: #fff; font-size: 16px; }
.newsletter-form input[type="email"] { padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); color: #fff; font-family: var(--font); width: 100%; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; }

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .feature-grid, .pricing-grid, .plugin-grid, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .download-card { grid-template-columns: 1fr; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { position: static; }
}
@media (max-width: 768px) {
    .site-header { backdrop-filter: none; overflow: visible; }
    .header-inner { flex-wrap: nowrap; position: relative; z-index: 1102; background: rgba(255,255,255,.98); }
    .main-nav { display: none; position: fixed; top: calc(var(--announcement-height) + var(--header-height)); left: 0; right: 0; bottom: 0; width: 100%; background: #fff; border-top: 1px solid var(--border); padding: 16px 16px 32px; box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 1100; -webkit-overflow-scrolling: touch; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav > ul > li { border-bottom: 1px solid var(--border); }
    .main-nav > ul > li:last-child { border-bottom: none; }
    .main-nav a, .nav-dropdown-trigger { display: block; width: 100%; text-align: left; padding: 12px 8px; }
    .has-mega::after { display: none; }
    .has-mega .mega-dropdown { display: none; position: static; transform: none; box-shadow: none; border: none; padding: 0 0 8px 8px; margin: 0; grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
    .has-mega.open .mega-dropdown { display: grid; }
    .has-mega:hover .mega-dropdown { display: none; }
    .has-mega.open .mega-dropdown { display: grid; }
    .mobile-nav-actions { display: flex; flex-direction: column; }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-actions { position: relative; z-index: 1103; }
    .header-actions .btn-ghost, .header-actions .btn-primary { display: none; }
    .feature-grid, .pricing-grid, .plugin-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-newsletter { flex-direction: column; align-items: stretch; gap: 20px; }
    .footer-newsletter .newsletter-form { max-width: none; min-width: 0; }
    .newsletter-input-row { flex-direction: column; }
    .newsletter-input-row .btn { width: 100%; }
    .back-to-top { bottom: 16px; right: 16px; }
    .module-showcase-grid { grid-template-columns: 1fr; }
}

.module-showcase-section { padding: 72px 0; background: var(--bg-alt); }
.module-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module-showcase-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: transform .2s, box-shadow .2s; animation: fadeUp .5s ease both; animation-delay: var(--delay, 0s); }
.module-showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.module-showcase-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.module-showcase-card h3 { font-size: 17px; margin-bottom: 8px; }
.module-showcase-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.55; }

.updates-section { padding: 48px 0 80px; }
.updates-timeline { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin: 0 auto; }
.update-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.update-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.update-version { display: inline-block; background: linear-gradient(135deg, #0693e3, #9b51e0); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.update-card time { font-size: 13px; color: var(--text-muted); }
.update-card h2 { font-size: 20px; margin-bottom: 12px; }
.update-content ul { margin: 0; padding-left: 20px; }
.update-content li { margin-bottom: 6px; line-height: 1.55; color: var(--text-muted); }
