/* VBJet Frontend Enhancements */

/* Announcement bar */
.announcement-bar { background: linear-gradient(90deg, #0574b8, #0693e3); color: #fff; font-size: 14px; padding: 10px 0; text-align: center; }
.announcement-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.announcement-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announcement-bar a:hover { opacity: .85; color: #fff; }

/* Icons in feature cards */
.feature-icon .icon { color: inherit; }
.feature-icon.purple .icon { color: #9b51e0; }
.feature-icon.blue .icon { color: #0693e3; }
.feature-icon.yellow .icon { color: #b45309; }
.feature-icon.orange .icon { color: #ff6900; }
.feature-icon.cyan .icon { color: #0693e3; }
.feature-icon.green .icon { color: #00a32a; }
.feature-icon.red .icon { color: #d63638; }

/* Hero v2 */
.hero-v2 { position: relative; padding: 60px 0 80px; background: linear-gradient(160deg, #e6f4fd 0%, #fff 50%, #f0f7ff 100%); overflow: hidden; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; opacity: .4; filter: blur(60px); }
.shape-1 { width: 400px; height: 400px; background: #0693e3; top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #9b51e0; bottom: -50px; left: -80px; animation: float 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: #00d084; top: 50%; left: 40%; animation: float 12s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(20px, -20px); } }

.hero-badge { display: inline-block; background: rgba(6,147,227,.12); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(6,147,227,.2); }
.hero-compat { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.compat-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.compat-pill .icon { color: var(--primary); }

/* Hero mockup */
.hero-mockup { background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; }
.mockup-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f6f7f7; border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.mockup-title { margin-left: 8px; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.mockup-body { display: flex; min-height: 280px; }
.mockup-sidebar { width: 56px; background: #1d2327; padding: 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.mockup-nav-item { height: 32px; border-radius: 6px; background: rgba(255,255,255,.08); }
.mockup-nav-item.active { background: var(--primary); }
.mockup-content { flex: 1; padding: 20px; background: var(--bg-alt); }
.mockup-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mockup-stat-box { background: #fff; border-radius: 8px; padding: 14px; text-align: center; border: 1px solid var(--border); }
.mockup-stat-box.highlight { border-color: var(--primary); background: var(--primary-light); }
.mockup-stat-num { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.mockup-stat-label { font-size: 11px; color: var(--text-muted); }
.card-header .icon { color: var(--primary); }

/* Logo cloud */
.logo-cloud { padding: 40px 0; border-bottom: 1px solid var(--border); }
.logo-cloud-label { text-align: center; color: var(--text-light); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 24px; }
.logo-cloud-grid { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-cloud-item { font-size: 18px; font-weight: 800; color: var(--text-light); opacity: .6; letter-spacing: -.02em; transition: opacity .3s; }
.logo-cloud-item:hover { opacity: 1; color: var(--text-muted); }

/* Stats bar */
.stats-bar-section { padding: 48px 0; background: var(--bg-dark); }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-bar-value { display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.stats-bar-label { font-size: 14px; color: rgba(255,255,255,.6); }

/* Section tag */
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }

/* Showcase tabs */
.showcase-section { padding: 80px 0; background: #fff; }
.showcase-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.showcase-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 2px solid var(--border); border-radius: 40px; background: #fff; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .25s; }
.showcase-tab .icon { opacity: .6; }
.showcase-tab:hover { border-color: var(--primary); color: var(--primary); }
.showcase-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.showcase-tab.active .icon { opacity: 1; color: #fff; }
.showcase-panel { display: none; animation: fadeIn .4s ease; }
.showcase-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.showcase-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-text h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.showcase-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; font-size: 16px; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--text-muted); }
.check-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; background: var(--green-light); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a32a' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; margin-top: 2px; }
.showcase-visual { display: flex; align-items: center; justify-content: center; min-height: 260px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); padding: 40px; }
.visual-card { text-align: center; }
.visual-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.visual-icon.green { background: var(--green-light); color: var(--green); }
.visual-big-num { font-size: 56px; font-weight: 800; color: var(--primary); }
.speed-ring { width: 140px; height: 140px; border-radius: 50%; border: 8px solid var(--orange); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.speed-ring span { font-size: 36px; font-weight: 800; color: var(--orange); line-height: 1; }
.speed-ring small { font-size: 14px; color: var(--text-muted); }
.visual-shield { color: var(--primary); margin-bottom: 12px; }
.visual-status.success { color: var(--green); font-weight: 600; }

/* Split section */
.split-section { padding: 80px 0; background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%); color: #fff; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 16px; color: #fff; }
.split-content p { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 24px; font-size: 16px; }
.split-content .section-tag { background: rgba(6,147,227,.2); color: #69c4f0; }
.split-content .check-list li { color: rgba(255,255,255,.75); }
.split-content .check-list li::before { background-color: rgba(0,163,42,.2); }
.phone-mockup { width: 260px; margin: 0 auto; background: #111; border-radius: 32px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.phone-screen { background: #fff; border-radius: 24px; padding: 20px; min-height: 340px; }
.phone-header { font-weight: 800; font-size: 16px; color: var(--primary); margin-bottom: 20px; }
.phone-stat { margin-bottom: 20px; }
.phone-stat span { display: block; font-size: 32px; font-weight: 800; color: var(--text); }
.phone-stat small { color: var(--text-muted); font-size: 13px; }
.phone-items { display: flex; flex-direction: column; gap: 8px; }
.phone-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg-alt); border-radius: 8px; font-size: 13px; font-weight: 500; }
.phone-item.success { background: var(--green-light); color: var(--green); }
.phone-item .icon { flex-shrink: 0; }

/* Testimonials */
.testimonials-section { padding: 80px 0; background: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { color: #ffb900; font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-quote { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* Pricing 4 col */
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-card.free-plan { border-color: var(--green); }
.free-badge { background: var(--green) !important; }

/* CTA enhanced */
.cta-section .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: left; }
.cta-section .cta-text h2 { text-align: left; }
.cta-section .cta-text p { text-align: left; margin-bottom: 0; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* Page hero enhanced */
.page-hero-v2 { padding: 80px 0 60px; background: linear-gradient(160deg, var(--primary-light) 0%, #fff 100%); text-align: center; position: relative; overflow: hidden; }
.page-hero-v2 h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.page-hero-v2 p { color: var(--text-muted); font-size: 18px; max-width: 640px; margin: 0 auto 24px; line-height: 1.7; }
.page-hero-v2 .hero-actions { justify-content: center; }

/* Feature page layout */
.feature-page-section { padding: 60px 0 80px; }
.feature-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature-detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: box-shadow .3s; }
.feature-detail-card:hover { box-shadow: var(--shadow-lg); }
.feature-detail-card .feature-icon { margin-bottom: 20px; }
.feature-detail-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-detail-card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.feature-detail-card ul { list-style: none; }
.feature-detail-card ul li { padding: 6px 0; font-size: 14px; color: var(--text-muted); display: flex; gap: 8px; }
.feature-detail-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 60px 0 80px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-image { height: 160px; background: linear-gradient(135deg, var(--primary-light), #dbeafe); display: flex; align-items: center; justify-content: center; }
.blog-card-image .icon { color: var(--primary); opacity: .5; }
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.blog-category { background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.blog-date { color: var(--text-light); }
.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

/* About */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0; }
.about-stat { text-align: center; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.about-stat .num { font-size: 36px; font-weight: 800; color: var(--primary); }
.about-stat .label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.about-content { max-width: 760px; margin: 0 auto; padding: 0 0 80px; }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-size: 16px; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; padding: 40px 0 80px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; font-size: 15px; }
.legal-content ul { padding-left: 20px; margin-bottom: 20px; }

/* Toast */
.site-toast { position: fixed; bottom: 24px; right: 24px; background: var(--bg-dark); color: #fff; padding: 14px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; z-index: 9999; opacity: 0; transform: translateY(12px); transition: all .3s; box-shadow: var(--shadow-lg); }
.site-toast.show { opacity: 1; transform: none; }
.site-toast.success { background: var(--green); }
.site-toast.error { background: var(--red); }

/* Scroll reveal — içerik her zaman görünür; JS ile hafif kayma animasyonu */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0s); }
html.js .reveal:not(.visible) { transform: translateY(16px); }
html.js .reveal.visible { transform: none; }

/* Blog post */
.blog-post-hero { text-align: left; }
.blog-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.blog-back-link:hover { color: var(--primary); }
.blog-post-excerpt { font-size: 18px; color: var(--text-muted); max-width: 720px; line-height: 1.7; }
.blog-post-content { padding: 48px 0 80px; }
.blog-post-body { max-width: 720px; font-size: 17px; line-height: 1.8; color: var(--text-muted); }
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body h3 { color: var(--text); font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.blog-post-footer { display: flex; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.blog-cat-news { background: linear-gradient(135deg, #dbeafe, #e0f2fe); color: #0693e3; }
.blog-cat-security { background: linear-gradient(135deg, #dcfce7, #d1fae5); color: #00a32a; }
.blog-cat-performance { background: linear-gradient(135deg, #ffedd5, #fef3c7); color: #ff6900; }
.blog-card-image { display: flex; align-items: center; justify-content: center; min-height: 160px; border-radius: var(--radius) var(--radius) 0 0; }

/* Docs enhanced */
.docs-block { scroll-margin-top: 100px; }
.docs-steps { padding-left: 20px; margin: 16px 0; }
.docs-steps li { margin-bottom: 10px; color: var(--text-muted); line-height: 1.7; }
.docs-callout { display: flex; align-items: flex-start; gap: 12px; background: var(--primary-light); border: 1px solid rgba(6,147,227,.2); border-radius: var(--radius-sm); padding: 16px 20px; margin-top: 20px; }
.docs-callout p { margin: 0; color: var(--text); font-size: 14px; }
.docs-content h2 .icon { vertical-align: middle; margin-right: 8px; color: var(--primary); }

/* Pillar strip — üç sütunlu değer önermesi */
.pillar-strip { padding: 56px 0; background: #fff; border-bottom: 1px solid var(--border); }
.pillar-headline { text-align: center; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.pillar-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; font-size: 16px; line-height: 1.7; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card { display: block; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); transition: all .25s; color: inherit; background: #fff; }
.pillar-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.pillar-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar-purple { background: #f3e8ff; color: #9b51e0; }
.pillar-orange { background: #ffedd5; color: #ff6900; }
.pillar-green { background: var(--green-light); color: var(--green); }
.pillar-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.pillar-link { font-size: 14px; font-weight: 600; color: var(--primary); }

/* Mega dropdown */
.has-mega { position: relative; }
.has-mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; z-index: 201; }
.mega-dropdown { display: none; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; z-index: 200; grid-template-columns: repeat(3, 220px); gap: 8px; margin-top: 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.has-mega:hover .mega-dropdown, .has-mega:focus-within .mega-dropdown { display: grid; pointer-events: auto; opacity: 1; visibility: visible; }
.mega-all-link { grid-column: 1 / -1; display: block; padding: 8px 12px 12px; font-size: 13px; font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.mega-all-link:hover { color: var(--primary-dark, #0574b8); }
.nav-caret { font-size: 11px; opacity: .6; margin-left: 2px; }

/* Lang dropdown — hover bridge */
.lang-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
@media (max-width: 768px) {
    .lang-dropdown-label { display: none; }
    .lang-dropdown-trigger { padding: 8px 10px; min-width: 44px; justify-content: center; }
    .lang-dropdown-menu { right: 0; left: auto; }
}
.mega-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); padding: 4px 12px 8px; }
.mega-dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.mega-dropdown a:hover { background: var(--bg-alt); color: var(--primary); }
.mega-dropdown a .icon { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.mega-dropdown a strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mega-dropdown a small { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-top: 2px; font-weight: 400; }

/* Auth split */
.auth-split-page { min-height: calc(100vh - var(--header-height) - 42px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand { background: linear-gradient(160deg, #0574b8 0%, #0693e3 50%, #00d084 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-brand .logo { color: #fff; margin-bottom: 32px; font-size: 24px; }
.auth-brand .logo:hover { color: #fff; opacity: .9; }
.auth-brand h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.auth-brand > p { opacity: .85; line-height: 1.7; max-width: 400px; margin-bottom: 32px; font-size: 15px; }
.auth-benefits { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.auth-benefits li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; opacity: .9; }
.auth-benefits .icon { opacity: .85; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 32px; background: var(--bg-alt); }
.auth-form-wrap .auth-card { width: 100%; max-width: 420px; margin: 0; box-shadow: var(--shadow); }
.auth-form-wrap h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; text-align: left; }
.auth-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-free-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 16px; }
.auth-form-wrap .form-control { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 15px; }
.auth-form-wrap .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 48px; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; background: none; cursor: pointer; color: var(--text-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.password-toggle:hover { color: var(--primary); background: var(--bg-alt); }
.password-toggle.visible .icon-show { display: none; }
.password-toggle.visible .icon-hide { display: block !important; }
.auth-form-wrap .form-hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.auth-form-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 14px; line-height: 1.5; }
.auth-form-hint { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.5; }

/* Plugins modular banner */
.modular-banner { background: linear-gradient(135deg, var(--primary-light), #fff); border: 1px solid rgba(6,147,227,.15); border-radius: var(--radius); padding: 32px; margin-bottom: 48px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.modular-banner-text { flex: 1; min-width: 240px; }
.modular-banner-text h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modular-banner-text p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.modular-banner-icon { color: var(--primary); flex-shrink: 0; }

/* Contact split */
.contact-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 32px 0 8px; }
.contact-topic-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s; font-family: inherit; }
.contact-topic-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contact-topic-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 4px; }
.contact-topic-card strong { font-size: 15px; font-weight: 700; color: var(--text); }
.contact-topic-card span:last-child { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 32px 0 80px; }
.contact-info { padding-top: 12px; }
.contact-info h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-info-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-muted); }
.contact-info-list a { color: var(--primary); font-weight: 600; }
.contact-info-list .icon { color: var(--primary); }
.contact-sidebar-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-sidebar-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-sidebar-box p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.contact-sidebar-box .btn { margin-bottom: 8px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: none; margin: 0; }
.contact-form .form-control,
.contact-form .form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 15px; background: #fff; }
.contact-form .form-control:focus,
.contact-form .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.contact-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-hint { font-size: 12px; color: var(--text-light); text-align: right; margin-top: 6px; }
[hidden] { display: none !important; }

/* Skip link & mobile nav */
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 9999; padding: 10px 16px; background: var(--primary); color: #fff; border-radius: 6px; font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 16px; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { background: var(--bg-alt); color: var(--primary); }
.mobile-nav-actions { display: none; gap: 8px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--border); }
body.nav-open { overflow: hidden; }

/* Pricing trust bar */
.pricing-trust { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 24px 0 48px; color: var(--text-muted); font-size: 14px; }
.pricing-trust-item { display: flex; align-items: center; gap: 8px; }
.pricing-trust-item .icon { color: var(--green); }

/* Pricing comparison table */
.pricing-compare-section { padding: 0 0 80px; background: var(--bg-alt); }
.pricing-compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.pricing-compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.pricing-compare-table th, .pricing-compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; }
.pricing-compare-table th:first-child, .pricing-compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text); min-width: 220px; }
.pricing-compare-table thead th { background: var(--bg-alt); font-weight: 700; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.pricing-compare-table .col-popular { background: rgba(6,147,227,.04); }
.pricing-compare-table tbody tr:last-child td { border-bottom: none; }
.compare-badge { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--primary); text-transform: none; letter-spacing: 0; }
.compare-yes { display: inline-flex; color: var(--green); }
.compare-no { color: var(--text-light); }

/* Blog featured & filters */
.blog-featured-section { padding: 0 0 24px; }
.blog-featured { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-top: 12px; }
.blog-featured-image { min-height: 240px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.blog-featured-image .icon { opacity: .6; }
.blog-featured-body h2 { font-size: 28px; font-weight: 800; margin: 12px 0; line-height: 1.3; }
.blog-featured-body p { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.blog-read-time { color: var(--text-light); font-size: 13px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 24px 0 8px; }
.blog-filter { padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border); background: #fff; transition: all .2s; }
.blog-filter:hover, .blog-filter.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.blog-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.blog-card-link:hover { color: inherit; }

/* Blog post layout */
.blog-post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.blog-post-sidebar { position: sticky; top: calc(var(--header-height) + 24px); }
.blog-sidebar-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.blog-sidebar-box h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.blog-sidebar-box p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-sidebar-box .btn { margin-bottom: 8px; }
.blog-related { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.blog-related h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.blog-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.blog-related-card { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.blog-related-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.blog-related-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-related-card h3 { font-size: 15px; font-weight: 700; margin-top: 4px; line-height: 1.4; }

/* Footer newsletter */
.footer-newsletter { align-items: flex-start; }
.footer-newsletter-text { flex: 1; min-width: 240px; }
.footer-newsletter-text p { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 6px; line-height: 1.5; max-width: 480px; }
.footer-newsletter .newsletter-form { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: 1; min-width: 280px; max-width: 520px; width: 100%; }
.newsletter-input-row { display: flex; gap: 8px; width: 100%; }
.newsletter-input-row input { flex: 1; min-width: 0; width: 100%; }
.newsletter-input-row .btn { flex-shrink: 0; white-space: nowrap; }
.newsletter-privacy { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; margin: 0; }
.newsletter-privacy a { color: rgba(255,255,255,.65); text-decoration: underline; }
.newsletter-privacy a:hover { color: #fff; }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(6,147,227,.4); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #0574b8; }

/* Home blog preview */
.blog-preview-section { padding: 80px 0; background: var(--bg-alt); }
.blog-grid-compact { padding: 32px 0 24px; }
.section-footer { text-align: center; margin-top: 8px; }

/* How it works */
.how-section { padding: 80px 0; background: var(--bg-alt); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; }
.how-step-num { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; background: var(--primary-light); color: var(--primary); border-radius: 50%; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.how-step-icon { width: 52px; height: 52px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.how-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Crosslinks */
.crosslinks-section { padding: 60px 0 80px; }
.crosslinks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.crosslink-card { display: block; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); transition: all .25s; color: inherit; background: #fff; }
.crosslink-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.crosslink-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.crosslink-green { background: var(--green-light); color: var(--green); }
.crosslink-orange { background: #ffedd5; color: #ff6900; }
.crosslink-purple { background: #f3e8ff; color: #9b51e0; }
.crosslink-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.crosslink-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.crosslink-arrow { font-size: 14px; font-weight: 600; color: var(--primary); }

/* About enhanced */
.about-content-section { padding: 60px 0 0; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 60px; }
.about-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
.about-values { display: flex; flex-direction: column; gap: 16px; }
.about-value-card { display: flex; gap: 16px; padding: 20px; background: var(--bg-alt); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.about-value-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-icon-green { background: var(--green-light); color: var(--green); }
.about-icon-blue { background: var(--primary-light); color: var(--primary); }
.about-icon-orange { background: #ffedd5; color: #ff6900; }
.about-value-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.about-value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* 404 */
.error-page-v2 { padding: 100px 0 120px; text-align: center; }
.error-visual { color: var(--primary); opacity: .4; margin-bottom: 24px; }
.error-page-v2 h1 { font-size: 80px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.error-page-v2 h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.error-page-v2 p { color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; font-size: 16px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-links { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.error-links a { font-weight: 600; }

/* Feature page 3 col */
.feature-detail-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-detail-grid-4 { grid-template-columns: repeat(2, 1fr); }
.check-list.compact li { padding: 4px 0; font-size: 14px; }
.section-explore { margin-top: 16px; }

/* Speed / security demo sections */
.speed-demo-section, .security-demo-section { padding: 60px 0 80px; }
.speed-demo, .security-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 48px; border: 1px solid var(--border); }
.speed-demo-text h2, .security-demo-text h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.speed-demo-text p, .security-demo-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.speed-demo-visual, .security-demo-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.speed-ring.large { width: 160px; height: 160px; border-width: 10px; }
.speed-ring.large span { font-size: 44px; }
.visual-shield.large { color: var(--primary); margin-bottom: 12px; }

/* FAQ page layout */
.faq-page-section { padding: 40px 0 80px; }
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.faq-sidebar { position: sticky; top: calc(var(--header-height) + 24px); }
.faq-sidebar h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin-bottom: 12px; }
.faq-categories { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.faq-categories a { padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.faq-categories a:hover, .faq-categories a.active { background: var(--primary-light); color: var(--primary); }
.faq-sidebar-cta { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.faq-sidebar-cta p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.faq-group { margin-bottom: 48px; scroll-margin-top: 100px; }
.faq-group h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* Download steps */
.install-steps { margin-top: 48px; }
.install-steps-title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 32px; }
.install-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.install-step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.install-step-num { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin: 0 auto 16px; }
.install-step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.install-step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.download-modules-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

/* Legal compact hero */
.page-hero-compact { padding: 56px 0 40px; }
.legal-intro { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.hide-mobile { }
.dropdown a { display: flex; align-items: center; gap: 8px; }
.dropdown .icon { color: var(--primary); }

/* Responsive */
@media (max-width: 1100px) {
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .showcase-split, .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .feature-detail-grid, .blog-grid, .blog-related-grid { grid-template-columns: 1fr; }
    .blog-featured, .blog-post-layout { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .auth-split-page { grid-template-columns: 1fr; }
    .auth-brand { padding: 32px; min-height: auto; }
    .contact-layout, .contact-topics { grid-template-columns: 1fr; }
    .mega-dropdown { left: 0; transform: none; grid-template-columns: 1fr; min-width: 280px; }
    .how-steps, .feature-detail-grid-3, .install-steps-grid { grid-template-columns: 1fr; }
    .about-split, .speed-demo, .security-demo, .faq-layout { grid-template-columns: 1fr; }
    .crosslinks-grid { grid-template-columns: 1fr; }
    .faq-sidebar { position: static; }
}
/* Mobile polish */
@media (max-width: 768px) {
    .announcement-bar { font-size: 12px; padding: 8px 0; }
    .announcement-inner { gap: 8px; }
    .hero-v2 { padding: 40px 0 56px; }
    .hero-v2 h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
    .page-hero-v2 { padding: 48px 0 36px; }
    .page-hero-v2 p { font-size: 16px; padding: 0 8px; }
    .pricing-compare-wrap { margin: 0 -4px; }
    .mobile-toggle { min-width: 44px; min-height: 44px; }
    .back-to-top { bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
    .cta-section .cta-inner { flex-direction: column; text-align: center; }
    .cta-section .cta-text h2, .cta-section .cta-text p { text-align: center; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
    .hide-mobile { display: none !important; }
    .pricing-grid-4 { grid-template-columns: 1fr; }
    .showcase-tabs { flex-direction: column; align-items: stretch; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}
