* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1f2937; font-size: 16px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-inner { display: flex; align-items: center; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; color: #111827; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; margin-left: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #6b7280; transition: color 0.15s; }
.nav-links a:hover { color: #111827; }
.nav-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.btn { padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost { color: #374151; background: none; }
.btn-ghost:hover { background: #f3f4f6; }
.btn-primary { background: #7c3aed; color: #fff; box-shadow: 0 2px 8px rgba(124,58,237,0.3); }
.btn-primary:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,0.4); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-white { background: #fff; color: #7c3aed; }
.btn-white:hover { background: #f5f3ff; }
.btn-outline { background: none; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #1e1e2d 0%, #2d2d44 50%, #3b1d6e 100%); color: #fff; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 span { background: linear-gradient(135deg, #a78bfa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: #a2a3b7; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; }
.hero-visual { position: relative; }
.hero-mockup { width: 100%; border-radius: 12px; background: #1a1a2e; border: 1px solid rgba(255,255,255,0.1); padding: 16px; box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.mockup-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: #4b5563; }
.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }
.mockup-content { display: flex; gap: 12px; height: 280px; }
.mockup-sidebar { width: 140px; background: #252540; border-radius: 8px; padding: 12px; flex-shrink: 0; }
.mockup-sidebar-item { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; }
.mockup-sidebar-item.active { background: rgba(124,58,237,0.4); border-left: 2px solid #7c3aed; }
.mockup-main { flex: 1; background: #f3f4f6; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mockup-msg { display: flex; gap: 8px; align-items: flex-start; }
.mockup-avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.mockup-bubble { height: 10px; background: #e5e7eb; border-radius: 6px; flex: 1; max-width: 60%; }
.mockup-bubble.short { max-width: 35%; }
.mockup-bubble.long { max-width: 80%; }
.mockup-bubble.purple { background: #ede9fe; }

.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat .label { font-size: 12px; color: #6b7280; margin-top: 2px; text-transform: uppercase; letter-spacing: 1px; }

/* Trust bar */
.trust { padding: 40px 0; text-align: center; }
.trust p { font-size: 13px; color: #9ca3af; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 20px; }
.trust-logos { display: flex; justify-content: center; gap: 48px; align-items: center; opacity: 0.4; }
.trust-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #374151; }
.trust-logo svg { width: 22px; height: 22px; }

/* Features */
.features { padding: 80px 0; background: #f9fafb; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; padding: 4px 14px; background: #f5f3ff; color: #7c3aed; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: #111827; margin-bottom: 12px; letter-spacing: -0.3px; }
.section-header p { font-size: 18px; color: #6b7280; max-width: 600px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; border-radius: 14px; border: 1px solid #e5e7eb; transition: all 0.2s; }
.feature-card:hover { border-color: #d8b4fe; box-shadow: 0 8px 24px rgba(124,58,237,0.08); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* Plans */
.plans { padding: 80px 0; background: #f9fafb; }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.plan-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 36px; position: relative; }
.plan-card.featured { border-color: #7c3aed; box-shadow: 0 8px 32px rgba(124,58,237,0.12); }
.plan-badge { position: absolute; top: -12px; right: 24px; background: #7c3aed; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.plan-price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.plan-price span { font-size: 16px; font-weight: 500; color: #6b7280; }
.plan-desc { font-size: 14px; color: #6b7280; margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { font-size: 14px; padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.plan-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: #ecfdf5 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan-features li.disabled { color: #9ca3af; }
.plan-features li.disabled::before { background: #f3f4f6 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan-btn { display: block; width: 100%; text-align: center; }

/* Showcase */
.showcase { padding: 80px 0; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }
.showcase-img { background: #f3f4f6; border-radius: 14px; height: 320px; display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; overflow: hidden; }
.showcase-text h3 { font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.2px; }
.showcase-text p { font-size: 16px; color: #6b7280; margin-bottom: 20px; line-height: 1.7; }
.showcase-list { list-style: none; }
.showcase-list li { font-size: 14px; padding: 5px 0; display: flex; align-items: center; gap: 8px; color: #374151; }
.showcase-list li svg { width: 16px; height: 16px; color: #7c3aed; flex-shrink: 0; }

/* Enterprise CTA */
.enterprise-cta { padding: 80px 0; }
.cta-card { background: linear-gradient(135deg, #1e1e2d 0%, #3b1d6e 100%); border-radius: 20px; padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%); }
.cta-card h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-card p { font-size: 18px; color: #a2a3b7; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; }

/* Security */
.security { padding: 60px 0; }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.security-item { text-align: center; padding: 24px 16px; }
.security-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.security-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.security-item p { font-size: 12px; color: #6b7280; }

/* Footer */
.footer { background: #111827; color: #9ca3af; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-logo img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #6b7280; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #9ca3af; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; }

/* Mobile menu burger */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; line-height: 0; }
.nav-burger svg { width: 24px; height: 24px; color: #374151; display: block; }
.nav-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200; }
.nav-mobile-menu { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: #fff; z-index: 201; padding: 24px; box-shadow: -4px 0 24px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.nav-mobile-close { background: none; border: none; cursor: pointer; align-self: flex-end; padding: 8px; margin-bottom: 16px; }
.nav-mobile-close svg { width: 24px; height: 24px; color: #374151; }
.nav-mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: #374151; border-bottom: 1px solid #f3f4f6; text-decoration: none; }
.nav-mobile-menu a:hover { color: #7c3aed; }
.nav-mobile-menu .btn { margin-top: 16px; justify-content: center; width: 100%; text-align: center; padding: 12px; border-bottom: none; }
.nav-mobile-menu .btn + .btn { margin-top: 8px; }
.nav-mobile-menu .btn-primary { color: #fff; }
.nav-mobile-menu .btn-primary:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid, .showcase-grid, .footer-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .growth-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .hero-visual { display: none; }
    .hero-stats { gap: 24px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { justify-content: center; }
    .nav-links { display: none; }
    .nav-right { display: none; }
    .nav-burger { display: block; margin-left: auto; }
    .trust-logos { flex-wrap: wrap; gap: 24px; }
    .showcase-grid.reverse { direction: ltr; }
    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 24px; }
    .cta-btns { flex-direction: column; }
    .footer-grid { gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section-header h2 { font-size: 28px; }
    .section-header p { font-size: 16px; }
    .showcase-text h3 { font-size: 22px; }
    .plan-price { font-size: 32px; }
}

/* Blog / Archive */
.archive-header { text-align: center; margin-bottom: 48px; }
.archive-header h1 { font-size: 36px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.archive-header p { font-size: 18px; color: #6b7280; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: all 0.2s; }
.post-card:hover { border-color: #d8b4fe; box-shadow: 0 8px 24px rgba(124,58,237,0.08); transform: translateY(-2px); }
.post-card-img { height: 180px; overflow: hidden; background: linear-gradient(135deg, #1e1e2d, #2d2d44); display: flex; align-items: center; justify-content: center; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img svg { width: 48px; height: 48px; color: rgba(124,58,237,0.4); }
.post-card-body { padding: 20px; }
.post-card-cat { font-size: 11px; font-weight: 600; color: #7c3aed; text-transform: uppercase; letter-spacing: 0.5px; }
.post-card-body h3 { font-size: 17px; font-weight: 700; margin: 6px 0 8px; color: #111827; line-height: 1.3; }
.post-card-body p { font-size: 14px; color: #6b7280; line-height: 1.5; }
.post-card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #9ca3af; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f3f4f6; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.pagination a { color: #374151; background: #fff; border: 1px solid #d1d5db; text-decoration: none; transition: all 0.15s; }
.pagination a:hover { border-color: #7c3aed; color: #7c3aed; }
.pagination .current { background: #7c3aed; color: #fff; border: 1px solid #7c3aed; }

.no-posts { text-align: center; padding: 60px 20px; color: #6b7280; }
.no-posts h3 { font-size: 20px; color: #374151; margin-bottom: 8px; }

/* Single Post / Page */
.post-layout { max-width: 720px; margin: 0 auto; }
.post-header { margin-bottom: 32px; }
.post-header h1 { font-size: 36px; font-weight: 800; color: #111827; line-height: 1.2; margin-bottom: 16px; }
.post-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-cat { font-size: 11px; font-weight: 600; color: #7c3aed; background: #f5f3ff; padding: 3px 10px; border-radius: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
.post-cat:hover { background: #ede9fe; }
.post-date { font-size: 13px; color: #9ca3af; }
.post-author { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #6b7280; }
.post-author img { border-radius: 50%; }

.post-thumbnail { margin-bottom: 32px; border-radius: 12px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: auto; display: block; }

.post-body { font-size: 17px; line-height: 1.8; color: #374151; }
.post-body h2 { font-size: 26px; font-weight: 700; margin: 32px 0 12px; color: #111827; }
.post-body h3 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; color: #111827; }
.post-body p { margin-bottom: 16px; }
.post-body a { color: #7c3aed; text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.post-body ul, .post-body ol { margin: 12px 0 16px 24px; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote { border-left: 3px solid #7c3aed; padding: 12px 20px; margin: 16px 0; background: #f9fafb; border-radius: 0 8px 8px 0; color: #4b5563; font-style: italic; }
.post-body pre { background: #1e1e2d; color: #e5e7eb; padding: 20px; border-radius: 10px; overflow-x: auto; margin: 16px 0; font-size: 14px; line-height: 1.6; -webkit-overflow-scrolling: touch; max-height: 500px; overflow-y: auto; }
.post-body code { font-family: 'Fira Code', 'Courier New', monospace; font-size: 0.9em; }
.post-body p code, .post-body li code, .post-body td code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; color: #7c3aed; font-size: 0.85em; }
.post-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.post-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0; font-size: 15px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.post-body table th { text-align: left; padding: 12px 16px; background: linear-gradient(135deg, #1e1e2d, #2d2d44); color: #fff; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-body table td { padding: 12px 16px; border-top: 1px solid #f3f4f6; color: #4b5563; }
.post-body table tbody tr { transition: background 0.15s; }
.post-body table tbody tr:hover { background: #f5f3ff; }
.post-body table tbody tr:nth-child(even) { background: #f9fafb; }
.post-body table tbody tr:nth-child(even):hover { background: #f5f3ff; }
.post-body table caption { font-size: 13px; color: #9ca3af; margin-bottom: 8px; text-align: left; font-style: italic; }
.post-body hr { border: none; border-top: 1px solid #e5e7eb; margin: 32px 0; }
.post-body figure { margin: 20px 0; }
.post-body figcaption { font-size: 13px; color: #9ca3af; text-align: center; margin-top: 8px; }
.post-body .wp-block-image { margin: 20px 0; }
.post-body .wp-block-image img { border-radius: 10px; }
.post-body .wp-block-image figcaption { font-size: 13px; color: #9ca3af; text-align: center; margin-top: 8px; }
.post-body .wp-block-quote { border-left: 3px solid #7c3aed; padding: 12px 20px; margin: 16px 0; background: #f9fafb; border-radius: 0 8px 8px 0; }
.post-body .wp-block-quote p { margin-bottom: 4px; }
.post-body .wp-block-quote cite { font-size: 13px; color: #9ca3af; font-style: normal; }
.post-body .wp-block-separator { border: none; border-top: 1px solid #e5e7eb; margin: 32px 0; }
.post-body .wp-block-code { background: #1e1e2d; border-radius: 10px; padding: 0; overflow: hidden; }
.post-body .wp-block-code code { display: block; padding: 20px; color: #e5e7eb; overflow-x: auto; }
.post-body pre::-webkit-scrollbar { height: 6px; width: 6px; }
.post-body pre::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.post-body pre::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.post-body pre::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.post-body dl { margin: 16px 0; }
.post-body dt { font-weight: 700; color: #111827; margin-top: 12px; }
.post-body dd { margin-left: 16px; color: #6b7280; }
.post-body mark { background: #fef08a; color: #92400e; padding: 1px 4px; border-radius: 2px; }
.post-body abbr { text-decoration: underline dotted; cursor: help; }
.post-body details { margin: 16px 0; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0; }
.post-body summary { padding: 12px 16px; font-weight: 600; cursor: pointer; color: #374151; }
.post-body details[open] summary { border-bottom: 1px solid #e5e7eb; }
.post-body details > *:not(summary) { padding: 0 16px 12px; }
.post-body .wp-block-embed { margin: 20px 0; }
.post-body .wp-block-embed iframe { border-radius: 10px; max-width: 100%; }

.post-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag { font-size: 12px; padding: 4px 12px; background: #f3f4f6; color: #6b7280; border-radius: 6px; text-decoration: none; transition: all 0.15s; }
.post-tag:hover { background: #f5f3ff; color: #7c3aed; }

.post-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.post-nav-prev, .post-nav-next { max-width: 45%; }
.post-nav-next { text-align: right; }
.post-nav-label { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.post-nav a { font-size: 14px; font-weight: 600; color: #7c3aed; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .posts-grid { grid-template-columns: 1fr; }
    .post-header h1 { font-size: 28px; }
    .post-nav { flex-direction: column; gap: 16px; }
    .post-nav-next { text-align: left; }
}
