/* ============================================================
   Lan Samurai — Redesign Stylesheet
   Theme: Dark navy (#010c20) + red accent (#e46b74)
   Target: companies in IT chaos → fractional infra leadership
   ============================================================ */

:root {
  --navy-900: #010c20;
  --navy-800: #051226;
  --navy-700: #0a1c3a;
  --navy-600: #102a52;
  --gray-500: #a8b0c0;
  --gray-300: #d6dce8;
  --gray-100: #f7faff;
  --red: #e46b74;
  --red-dark: #c44a54;
  --red-glow: rgba(228, 107, 116, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--gray-300);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 22px var(--red-glow);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 30px var(--red-glow); }
.btn-secondary {
  background: transparent;
  color: var(--gray-100);
  border: 1px solid var(--gray-500);
}
.btn-secondary:hover { border-color: var(--red); color: var(--red); }
.btn-arrow { width: 20px; height: 20px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(1, 12, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 176, 192, 0.1);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 38px; width: auto; border-radius: 6px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-100);
  letter-spacing: 0.5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px var(--red-glow);
}
.nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: var(--gray-100); position: relative;
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-background {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.12;
}
.hero-logo-full { width: min(80vw, 720px); filter: drop-shadow(0 0 40px var(--red-glow)); }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(228,107,116,0.10), transparent 55%),
              linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(228,107,116,0.12);
  border: 1px solid var(--red-glow);
  color: var(--red);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--gray-100);
  margin-bottom: 22px;
}
.hero-accent { color: var(--red); }
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 620px;
  color: var(--gray-500);
  margin-bottom: 36px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-number { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--red); }
.trust-label { font-size: 0.85rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: var(--gray-500); width: 28px; height: 28px; z-index: 2;
  animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--gray-100); margin-bottom: 14px;
}
.section-subtitle { color: var(--gray-500); font-size: 1.1rem; }

/* ---------- Pain Points ---------- */
.pain-points { padding: 100px 0; background: var(--navy-800); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pain-card {
  background: var(--navy-700);
  border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: var(--red-glow); }
.pain-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 18px; }
.pain-title { font-family: var(--font-head); font-size: 1.25rem; color: var(--gray-100); margin-bottom: 10px; }
.pain-desc { color: var(--gray-500); font-size: 0.95rem; }

/* ---------- Services ---------- */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--navy-700);
  border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--red-glow); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; color: var(--red); margin-bottom: 20px; }
.service-title { font-family: var(--font-head); font-size: 1.35rem; color: var(--gray-100); margin-bottom: 12px; }
.service-desc { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 18px; }
.service-features { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.service-features li {
  position: relative; padding-left: 24px; margin-bottom: 8px;
  font-size: 0.92rem; color: var(--gray-300);
}
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--red);
}
.service-link { color: var(--red); font-weight: 600; font-size: 0.95rem; transition: gap 0.2s; }
.service-link:hover { color: var(--red-dark); }

/* ---------- Approach ---------- */
.approach { padding: 100px 0; background: var(--navy-800); }
.approach-timeline { display: flex; flex-direction: column; gap: 28px; }
.approach-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start;
  background: var(--navy-700); border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.2s ease;
}
.approach-step:hover { border-color: var(--red-glow); }
.step-number {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 700;
  color: var(--red); line-height: 1;
}
.step-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--gray-100); margin-bottom: 10px; }
.step-desc { color: var(--gray-500); margin-bottom: 16px; }
.step-deliverables { list-style: none; margin-bottom: 16px; }
.step-deliverables li {
  position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 0.92rem; color: var(--gray-300);
}
.step-deliverables li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700;
}
.step-price {
  display: inline-block; background: rgba(228,107,116,0.12); color: var(--red);
  padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
}

/* ---------- Backup & Disaster Recovery ---------- */
.backup-dr { padding: 100px 0; background: var(--navy-800); }
.dr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.dr-col {
  background: var(--navy-700); border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.dr-col:hover { transform: translateY(-6px); border-color: var(--red-glow); box-shadow: var(--shadow); }
.dr-col-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dr-col-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--gray-100); }
.dr-col-desc { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 18px; }
.dr-note { margin-top: 18px; color: var(--red); font-weight: 600; font-size: 0.9rem; }
.dr-rule {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(228,107,116,0.10), rgba(228,107,116,0.04));
  border: 1px solid var(--red-glow); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 40px;
}
.dr-rule-badge {
  flex-shrink: 0; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 10px 18px; border-radius: 100px; box-shadow: 0 4px 16px var(--red-glow);
}
.dr-rule p { color: var(--gray-300); font-size: 1.02rem; margin: 0; }
.dr-rule strong { color: var(--red); }
.dr-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 44px; }
.dr-tier {
  background: var(--navy-700); border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius); padding: 24px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
}
.dr-tier-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); }
.dr-tier-value { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--red); }
.dr-tier-desc { font-size: 0.85rem; color: var(--gray-500); }
.dr-cta { text-align: center; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--navy-700); border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column;
}
.quote-icon { width: 38px; height: 38px; color: var(--red); margin-bottom: 16px; opacity: 0.8; }
.testimonial-quote p { font-size: 1.02rem; color: var(--gray-100); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}
.author-name { font-style: normal; font-weight: 600; color: var(--gray-100); display: block; }
.author-company { font-size: 0.85rem; color: var(--gray-500); margin: 0; }

/* ---------- CTA Section ---------- */
.cta-section { padding: 90px 0; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.cta-content { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); color: var(--gray-100); margin-bottom: 16px; }
.cta-subtitle { color: var(--gray-500); font-size: 1.1rem; margin-bottom: 32px; }
.cta-btn { margin: 0 auto; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; }
.contact-form {
  max-width: 720px; margin: 0 auto;
  background: var(--navy-700); border: 1px solid rgba(168,176,192,0.08);
  border-radius: var(--radius); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label { font-weight: 600; color: var(--gray-100); margin-bottom: 8px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--navy-900); border: 1px solid rgba(168,176,192,0.15);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--gray-100);
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red);
}
.form-group textarea { resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); border-top: 1px solid rgba(168,176,192,0.1); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 2fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { height: 36px; border-radius: 6px; }
.footer-logo span { font-family: var(--font-head); font-weight: 700; color: var(--gray-100); font-size: 1.2rem; }
.footer-tagline { color: var(--red); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.footer-desc { color: var(--gray-500); font-size: 0.92rem; max-width: 300px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav-col h4 { color: var(--gray-100); font-family: var(--font-head); margin-bottom: 14px; font-size: 1rem; }
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 8px; }
.footer-nav-col a { color: var(--gray-500); font-size: 0.92rem; transition: color 0.2s; }
.footer-nav-col a:hover { color: var(--red); }
.footer-contact h4 { color: var(--gray-100); font-family: var(--font-head); margin-bottom: 14px; }
.footer-address p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 6px; }
.footer-address a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(168,176,192,0.1); flex-wrap: wrap; gap: 12px;
}
.copyright { color: var(--gray-500); font-size: 0.85rem; }
.footer-legal a { color: var(--gray-500); font-size: 0.85rem; margin-left: 18px; }
.footer-legal a:hover { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .approach-step { grid-template-columns: 1fr; gap: 12px; }
  .hero-trust { gap: 24px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 0 16px; }
  .contact-form { padding: 28px 20px; }
}
