/* =========================================================
   TECH BRIDGE SOLUTIONS — OBSIDIAN & GOLD DESIGN SYSTEM
   ========================================================= */
:root {
  --bg-primary: #07080a;
  --bg-secondary: #0d0f13;
  --surface-card: #111318;
  --gold-primary: #d4af37;
  --gold-hover: #f0cb52;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.3);
  --text-primary: #f8fafc;
  --text-secondary: #b4bcc8;
  --text-muted: #7c8594;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20bd5a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   NAVBAR & CHEVRON SHIELD EMBLEM
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.tb-shield {
  width: 40px;
  height: 44px;
  background: linear-gradient(145deg, #f3d266 0%, #c89d24 100%);
  color: #07080a;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
}

.tb-shield.small {
  width: 30px;
  height: 33px;
  font-size: 0.78rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-main {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-sub {
  color: var(--gold-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links .btn-nav {
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  padding: 9px 18px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .btn-nav:hover {
  background: var(--gold-primary);
  color: #07080a;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  padding: 96px 0 88px;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 55%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-inner {
  max-width: 820px;
}

.eyebrow {
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold-primary);
  color: #07080a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--gold-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* =========================================================
   SECTIONS & GRIDS
   ========================================================= */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section.dark-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  margin-bottom: 40px;
}

.section-kicker {
  color: var(--gold-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.shield-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shield-card:hover {
  border-color: var(--gold-border);
}

.pillar-num {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.shield-card h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.shield-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =========================================================
   PHASE 3: FLAGSHIP SYSTEM ARCHITECTURES
   ========================================================= */
.shield-card.highlight-glow {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, #111318 0%, #090a0d 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.shield-card.highlight-glow:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.12);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.arch-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
}

.arch-code {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a94a6;
}

.shield-card.highlight-glow h3 {
  font-size: 1.28rem;
}

.shield-card.highlight-glow p {
  line-height: 1.65;
  margin-bottom: 20px;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.module-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
}

.card-footer-link {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.arch-link {
  display: inline-block;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.arch-link:hover {
  color: var(--gold-hover);
  transform: translateX(4px);
}

/* =========================================================
   PHASE 4: DEPLOYMENT LIFECYCLE & WHATSAPP CONVERSION
   ========================================================= */
.process-step {
  position: relative;
  border-top: 2px solid var(--gold-border);
}

.process-step:hover {
  transform: translateY(-3px);
  border-top-color: var(--gold-primary);
}

.step-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.whatsapp-box {
  margin-top: 28px;
}

.btn-whatsapp {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green);
  color: #05130a;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  background: #0d1210;
  color: var(--whatsapp-green);
  border: 1px solid var(--whatsapp-green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-green);
  color: #05130a;
  transform: translateY(-2px);
}

/* =========================================================
   CONSULTATION FORM
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-desc {
  color: var(--text-secondary);
  margin: 18px 0 28px;
}

.contact-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.contact-meta strong {
  color: var(--gold-primary);
}

.shield-form {
  background: var(--surface-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #07080a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 32px 0;
  background: #050608;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.btn-nav) {
    display: none;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .form-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }
}