/* NCC Tech — Brand Stylesheet
   Colours from NCC Brand Guidelines 2019
   Primary: #073b4c (Dark Navy)
   Accent:  #2dac6d (Green)
   Blue:    #118ab2 (Mid Blue)
   Gold:    #e19d2a (Gold)
   Light:   #e9f1f7 (Light Blue-Grey)
   BG:      #F0F2E9 (Off-White)
*/

:root {
  --navy:    #073b4c;
  --green:   #2dac6d;
  --blue:    #118ab2;
  --gold:    #e19d2a;
  --light:   #e9f1f7;
  --offwhite:#F0F2E9;
  --white:   #ffffff;
  --text:    #1a1a2e;
  --muted:   #6c757d;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p  { font-size: 1.05rem; color: #444; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--green); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); text-decoration: none; }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #24935c !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a5068 60%, #118ab2 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-block;
  background: rgba(45, 172, 109, 0.2);
  border: 1px solid rgba(45, 172, 109, 0.4);
  color: #7ee8b0;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--green); }

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #24935c; text-decoration: none; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); text-decoration: none; }

/* Stats bar */
.stats-bar {
  background: var(--offwhite);
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
}

.stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }

/* Section base */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.section-title { color: var(--navy); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin-bottom: 3rem; }

/* Products grid */
.products { background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.product-card {
  background: var(--white);
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}

.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }

.product-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.product-card p { font-size: 0.95rem; color: var(--muted); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}
.badge-live { background: #d4edda; color: #155724; }
.badge-dev { background: #fff3cd; color: #856404; }
.badge-beta { background: #cce5ff; color: #004085; }

/* About / team */
.about { background: var(--navy); color: var(--white); }
.about .section-title { color: var(--white); }
.about .section-sub { color: rgba(255,255,255,0.7); }
.about p { color: rgba(255,255,255,0.8); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-content h2 { color: var(--white); margin-bottom: 1rem; }
.about-content p { margin-bottom: 1rem; }

.team-cards { display: flex; flex-direction: column; gap: 1rem; }
.team-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.team-avatar {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--white);
}

.team-info h4 { color: var(--white); font-size: 1rem; }
.team-info p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* Why NCC Tech */
.why { background: var(--offwhite); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.pillar {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #e0e5ea;
}

.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar h3 { color: var(--navy); font-size: 1rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.875rem; color: var(--muted); }

/* Contact */
.contact { background: var(--white); text-align: center; }
.contact-card {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  padding: 4rem 3rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
}
.contact-card h2 { color: var(--white); margin-bottom: 1rem; }
.contact-card p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

footer a { color: var(--green); }
footer strong { color: var(--white); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { gap: 2rem; }
  section { padding: 3rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
}
