/* ============================================================
   Bamboo Fight - Computer Systems Design & Integration Services
   ============================================================ */

:root {
  --navy-900: #060e1a;
  --navy-800: #0a1628;
  --navy-700: #0f1f36;
  --navy-600: #152844;
  --navy-500: #1b3352;
  --navy-400: #2a4a70;
  --slate-600: #3a5a80;
  --slate-500: #4a6fa0;
  --teal-500: #00a8cc;
  --teal-400: #00c4e4;
  --teal-300: #33d9f2;
  --gold-400: #c8a44e;
  --gold-300: #d4b86a;
  --white: #ffffff;
  --gray-100: #f0f2f5;
  --gray-200: #d8dce3;
  --gray-300: #b0b8c4;
  --gray-400: #8893a5;
  --gray-500: #606b7a;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--navy-800);
  color: var(--white);
  line-height: 1.7;
  min-height: 100vh;
}

/* ---- HEADER ---- */

.site-header {
  background: var(--navy-900);
  border-bottom: 3px solid var(--teal-500);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-300));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-text span { color: var(--teal-400); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--navy-600);
  color: var(--teal-400);
}

/* ---- HERO ---- */

.hero {
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 110px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,168,204,0.10) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,164,78,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--teal-500);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 .accent { color: var(--teal-400); }

.hero p {
  font-size: 1.2rem;
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 auto 36px;
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(0,168,204,0.35);
}

.btn-primary:hover { box-shadow: 0 6px 28px rgba(0,168,204,0.50); }

.btn-outline {
  border: 2px solid var(--teal-500);
  color: var(--teal-400);
  background: transparent;
}

.btn-outline:hover { background: rgba(0,168,204,0.10); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(200,164,78,0.35);
}

.btn-gold:hover { box-shadow: 0 6px 28px rgba(200,164,78,0.50); }

/* ---- SECTION BASE ---- */

.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--teal-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- SERVICES ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--navy-700);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.15s;
}

.service-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--navy-900);
  font-weight: 800;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- STATS ---- */

.stats-section {
  background: var(--navy-900);
  border-top: 1px solid var(--navy-600);
  border-bottom: 1px solid var(--navy-600);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  text-align: center;
  padding: 60px 0;
}

.stat-item h4 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--gray-300);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ---- INDUSTRIES ---- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--navy-700);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 24px;
  transition: background 0.25s;
}

.industry-card:hover { background: var(--navy-600); }

.industry-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 700;
}

.industry-card p {
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* ---- CTA ---- */

.cta-section {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-600));
  text-align: center;
  border-top: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
}

.cta-section .section-title { color: var(--white); }
.cta-section .section-desc { color: var(--gray-200); }

/* ---- CONTACT ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--teal-400);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-item p { color: var(--gray-300); font-size: 0.92rem; }

.contact-form {
  background: var(--navy-700);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  color: var(--gray-200);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-800);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal-500);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */

.site-footer {
  background: var(--navy-900);
  border-top: 3px solid var(--teal-500);
  padding: 50px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  color: var(--gray-400);
  font-size: 0.88rem;
  text-decoration: none;
  display: block;
  line-height: 2;
}

.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--navy-600);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--gray-500); font-size: 0.82rem; }

.footer-bottom nav { display: flex; gap: 20px; }

.footer-bottom nav a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-bottom nav a:hover { color: var(--teal-400); }

/* ---- LEGAL PAGES ---- */

.page-banner {
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 80px 24px;
  text-align: center;
  border-bottom: 3px solid var(--teal-500);
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.page-banner p {
  color: var(--gray-300);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-600);
  font-weight: 700;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--teal-400);
  margin: 28px 0 10px;
  font-weight: 700;
}

.legal-content p {
  color: var(--gray-200);
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  color: var(--gray-200);
  font-size: 0.98rem;
  margin: 0 0 18px 24px;
  line-height: 1.8;
}

.legal-content li { margin-bottom: 6px; }

.legal-content strong { color: var(--white); }

.legal-content a {
  color: var(--teal-400);
  text-decoration: underline;
}

.legal-updated {
  background: var(--navy-700);
  border-left: 4px solid var(--teal-500);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 16px; gap: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 60px 16px 70px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 60px 16px; }
  .section-title { font-size: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
