/*
Theme Name: LinuxBear Hosting
Theme URI: https://linuxbear.com
Author: LinuxBear
Description: Custom hosting company theme for LinuxBear — dual-stack WordPress and ASP.NET hosting provider.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: linuxbear
*/

/* ============================================================
   LinuxBear Theme — Dual-Stack Blue Design
   ============================================================ */

:root {
  --navy: #0f172a;
  --navy2: #1e293b;
  --blue: #2563eb;
  --blue2: #3b82f6;
  --blue-light: #dbeafe;
  --indigo: #4338ca;
  --indigo-light: #e0e7ff;
  --wp-color: #2563eb;
  --net-color: #4338ca;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --amber: #d97706;
  --ink: #0f172a;
  --ink2: #334155;
  --ink3: #64748b;
  --ink4: #94a3b8;
  --paper: #ffffff;
  --paper2: #f8fafc;
  --paper3: #f0f6ff;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
a { color: var(--blue); text-decoration: none; transition: .15s; }
a:hover { color: var(--indigo); }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--indigo); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.4); }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--border2); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-net { background: var(--indigo); color: #fff; }
.btn-net:hover { background: #362f9e; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; padding: 14px 0; gap: 36px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); }
.site-logo .bear-icon { width: 36px; height: 36px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.main-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink2); }
.main-nav a:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; }
.nav-cta:hover { background: var(--indigo) !important; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; margin-left: auto; }

/* ── Hero ── */
.hero { background: linear-gradient(165deg, var(--paper3) 0%, #fff 65%); padding: 80px 0 60px; overflow: hidden; position: relative; }
.hero-grain { position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 10%, rgba(37,99,235,.05) 0%, transparent 50%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-badges { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
.badge-wp { background: var(--blue-light); color: #1d4ed8; }
.badge-net { background: var(--indigo-light); color: #4338ca; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { font-size: 18px; color: var(--ink3); max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; color: var(--ink3); font-size: 13.5px; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ── Stack split (the core differentiator) ── */
.stack-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 48px; box-shadow: var(--shadow-lg); }
.stack-card { background: #fff; padding: 36px; transition: .2s; }
.stack-card:hover { background: var(--paper2); }
.stack-card.net-card { background: #fbfaff; }
.stack-card.net-card:hover { background: #f5f3ff; }
.stack-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.stack-icon.wp { background: var(--blue-light); }
.stack-icon.net { background: var(--indigo-light); }
.stack-card h3 { font-size: 21px; margin-bottom: 8px; }
.stack-card p.tag { color: var(--ink3); font-size: 14px; margin-bottom: 20px; }
.stack-feats { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.stack-feats li { font-size: 14px; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.stack-feats li::before { content: '✓'; color: var(--green); font-weight: 700; }
.stack-price { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.stack-price span { font-size: 14px; font-weight: 400; color: var(--ink3); }

/* ── Features grid ── */
.features-bg { background: var(--paper2); }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--blue); }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.section-head p { color: var(--ink3); font-size: 16.5px; line-height: 1.7; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: .2s; }
.feat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--paper3); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.feat-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--ink3); line-height: 1.7; margin: 0; }

/* ── Pricing tabs ── */
.pricing-tabs { display: flex; justify-content: center; gap: 4px; background: var(--paper2); padding: 4px; border-radius: 12px; max-width: 360px; margin: 0 auto 48px; }
.tab-btn { flex: 1; padding: 10px 16px; border: none; background: none; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink3); cursor: pointer; transition: .2s; }
.tab-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.pricing-panel { display: none; }
.pricing-panel.active { display: grid; }
.plans-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: .2s; }
.plan-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-card.popular { border-color: var(--blue); box-shadow: var(--shadow-md); }
.plan-pop-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.plan-tag { font-size: 12.5px; color: var(--ink3); margin-bottom: 18px; }
.plan-price { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--ink); }
.plan-price span { font-size: 13px; color: var(--ink3); font-weight: 400; }
.plan-divider { height: 1px; background: var(--border); margin: 18px 0; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan-feats li { font-size: 13.5px; color: var(--ink2); display: flex; align-items: center; gap: 7px; }
.plan-feats li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 12px; }

/* ── Why us ── */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.why-item { display: flex; gap: 16px; margin-bottom: 28px; }
.why-num { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item h4 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; color: var(--ink3); line-height: 1.7; margin: 0; }
.why-visual { background: var(--navy); border-radius: 20px; padding: 32px; }
.stat-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 22px; margin-bottom: 14px; }
.stat-card:last-child { margin-bottom: 0; }
.stat-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: rgba(255,255,255,.5); font-size: 13px; }
.stat-card-val { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; }
.stat-bar { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.stat-bar-fill { height: 100%; background: var(--blue2); border-radius: 3px; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testi-stars { color: var(--amber); font-size: 14px; margin-bottom: 14px; }
.testi-text { font-size: 14.5px; line-height: 1.8; color: var(--ink2); margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 13.5px; }
.testi-role { font-size: 12px; color: var(--ink3); }

/* ── CTA ── */
.cta-section { background: var(--navy); border-radius: 24px; margin: 0 24px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: '🐻'; position: absolute; right: -20px; bottom: -50px; font-size: 220px; opacity: .05; }
.cta-section h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); }
.cta-section p { color: rgba(255,255,255,.55); font-size: 16.5px; margin-bottom: 30px; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .site-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 250px; }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.footer-col a:hover { color: var(--blue2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.footer-bottom a { color: rgba(255,255,255,.35); margin-left: 18px; }
.footer-bottom a:hover { color: var(--blue2); }

/* ── Page content (default WP pages) ── */
.page-content-wrap { padding: 60px 0 80px; max-width: 760px; margin: 0 auto; }
.page-content-wrap h1 { font-size: 36px; margin-bottom: 24px; }
.page-content-wrap h2 { font-size: 26px; margin-top: 36px; }
.page-content-wrap p { color: var(--ink2); line-height: 1.8; margin-bottom: 18px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .stack-split, .feat-grid, .plans-grid, .testi-grid { grid-template-columns: 1fr; }
  .plans-grid.plans-grid-4 { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.mobile-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 14px; }
  .plans-grid.plans-grid-4 { grid-template-columns: 1fr; }
  .hero-trust { gap: 14px; flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-section { margin: 0 16px; padding: 48px 24px; }
}
