/* LinuxBear Theme — Bold Purple Style */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --purple: #4f46e5;
    --purple-dark: #3730a3;
    --purple-light: #7c3aed;
    --violet: #8b5cf6;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --yellow: #fbbf24;
    --green: #22c55e;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(79,70,229,0.15);
}

body { font-family: 'Inter', sans-serif; color: var(--gray-800); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: rgba(79,70,229,0.1); color: var(--purple); font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.section-header h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); padding: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--purple); }
.site-logo img { height: 38px; width: auto; }
.site-logo span { color: var(--gray-900); }
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav a { font-size: 15px; font-weight: 500; color: var(--gray-600); transition: color 0.2s; }
.primary-nav a:hover { color: var(--purple); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-white { background: #fff; color: var(--purple); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); margin: 4px 0; border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6d28d9 100%); padding: 100px 0 80px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero::after { content: ""; position: absolute; bottom: -30%; left: -5%; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.hero-badge::before { content: "⚡"; }
.hero h1 { font-size: clamp(36px,5vw,58px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 24px; }
.hero h1 span { color: var(--yellow); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.hero-stat { }
.hero-stat .num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 28px; }
.hero-card-title { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.plan-preview { display: flex; flex-direction: column; gap: 12px; }
.plan-item { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.1); }
.plan-item.featured { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); }
.plan-name { color: #fff; font-weight: 600; font-size: 14px; }
.plan-price { color: var(--yellow); font-weight: 800; font-size: 16px; }
.plan-badge { background: var(--yellow); color: #1e293b; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; }
.uptime-bar { margin-top: 20px; background: rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 18px; }
.uptime-label { display: flex; justify-content: space-between; color: rgba(255,255,255,0.8); font-size: 12px; margin-bottom: 8px; }
.uptime-track { background: rgba(255,255,255,0.15); border-radius: 4px; height: 6px; }
.uptime-fill { background: var(--green); border-radius: 4px; height: 6px; width: 99.9%; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--gray-900); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--gray-400); font-size: 14px; font-weight: 500; }
.trust-item .icon { font-size: 20px; }

/* ── FEATURES ── */
.features { padding: 100px 0; background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ── PLANS ── */
.plans-section { padding: 100px 0; }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; background: var(--gray-100); padding: 6px; border-radius: 10px; display: inline-flex; }
.toggle-btn { background: none; border: none; padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.toggle-btn.active { background: #fff; color: var(--purple); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.save-badge { background: var(--green); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.plan-card { border-radius: 16px; padding: 36px; border: 1.5px solid var(--gray-200); transition: all 0.3s; position: relative; background: #fff; }
.plan-card:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.plan-card.featured { border-color: var(--purple); background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; transform: scale(1.03); }
.plan-card .popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--gray-900); font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.plan-card .plan-desc { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan-price-block { margin-bottom: 28px; }
.plan-price-block .price { font-size: 42px; font-weight: 800; line-height: 1; }
.plan-price-block .period { font-size: 14px; color: var(--gray-400); }
.plan-card.featured .period { color: rgba(255,255,255,0.7); }
.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-card.featured .plan-features li::before { color: var(--yellow); }
.plan-card .btn-plan { width: 100%; justify-content: center; padding: 13px; font-size: 15px; border-radius: 10px; }
.plan-card.featured .btn-plan { background: #fff; color: var(--purple); }
.plan-card.featured .btn-plan:hover { background: var(--yellow); color: var(--gray-900); }
.plans-loading { text-align: center; padding: 60px; color: var(--gray-400); }

/* ── WHY US ── */
.why-us { padding: 100px 0; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.why-us .section-header h2 { color: #fff; }
.why-us .section-header p { color: rgba(255,255,255,0.8); }
.why-us .section-tag { background: rgba(255,255,255,0.2); color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 28px; text-align: center; }
.why-card .num { font-size: 42px; font-weight: 800; color: var(--yellow); margin-bottom: 8px; }
.why-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 0; background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); }
.stars { color: var(--yellow); font-size: 16px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--violet)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.author-name { font-weight: 700; color: var(--gray-900); font-size: 14px; }
.author-location { font-size: 12px; color: var(--gray-400); }

/* ── CTA SECTION ── */
.cta-section { padding: 100px 0; text-align: center; }
.cta-box { background: linear-gradient(135deg, #4f46e5, #7c3aed); border-radius: 24px; padding: 80px 60px; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; top: -50px; right: -50px; width: 250px; height: 250px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta-box h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 40px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.site-footer { background: var(--gray-900); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--gray-400); line-height: 1.8; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 16px; transition: all 0.2s; }
.social-link:hover { background: var(--purple); color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--gray-400); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--purple); }
.footer-col ul li a.blog-link { color: var(--violet); font-weight: 600; }
.footer-col ul li a.blog-link:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--gray-400); }
.footer-badges { display: flex; gap: 12px; }
.footer-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 6px 14px; font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }

/* ── BLOG TEMPLATES ── */
.blog-hero { background: linear-gradient(135deg, #4f46e5, #7c3aed); padding: 80px 0; text-align: center; }
.blog-hero h1 { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.blog-hero p { color: rgba(255,255,255,0.8); font-size: 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; padding: 60px 0; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: all 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .post-thumb { height: 200px; background: linear-gradient(135deg, var(--purple), var(--violet)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.post-card .post-content { padding: 24px; }
.post-cat { display: inline-block; background: rgba(79,70,229,0.1); color: var(--purple); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase; }
.post-card h2 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; line-height: 1.4; }
.post-card h2 a:hover { color: var(--purple); }
.post-card .excerpt { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; }
.post-meta { font-size: 12px; color: var(--gray-400); display: flex; gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .primary-nav { display: none; }
    .primary-nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--gray-200); gap: 20px; }
    .mobile-toggle { display: block; }
    .header-cta .btn-outline { display: none; }
    .cta-box { padding: 50px 28px; }
    .footer-grid { grid-template-columns: 1fr; }
}
