/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy-950: #060c1f;
  --navy-900: #0a1530;
  --navy-800: #0f1f47;
  --navy-700: #16295e;
  --blue-accent: #4a9eff;
  --blue-accent-dark: #2f7fe0;
  --white: #ffffff;
  --gray-100: #f5f7fb;
  --gray-300: #dbe1ec;
  --gray-500: #8592ab;
  --gray-700: #4b5468;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 158, 255, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 12, 31, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--white);
  font-weight: 400;
  white-space: nowrap;
}
.logo strong { font-weight: 700; color: var(--blue-accent); }

.main-nav ul {
  display: flex;
  gap: 2.2rem;
}
.main-nav a {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-accent);
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 780px;
  background:
    linear-gradient(180deg, rgba(6,12,31,0.85) 0%, rgba(10,21,48,0.9) 55%, rgba(15,31,71,0.95) 100%),
    repeating-linear-gradient(100deg, #16295e 0 40px, #0f1f47 40px 80px);
  background-blend-mode: multiply;
  padding-top: 6rem;
  display: flex;
  flex-direction: column;
}

.hero-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem 10rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  color: var(--gray-300);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ---------- Overlapping cards ---------- */
.overlap-cards {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
  transform: translateY(90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.contact-list {
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--gray-300);
  font-size: 0.9rem;
}

.contact-list a {
  color: var(--gray-300);
  transition: color 0.15s ease;
}
.contact-list a:hover { color: var(--blue-accent); }

.card-cta { margin-top: auto; align-self: flex-start; }

/* ---------- Services ---------- */
.services {
  background: var(--white);
  padding: 8rem 2rem 6rem;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  color: var(--navy-900);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-heading h2 em {
  font-style: normal;
  font-weight: 700;
}

.section-heading p {
  color: var(--gray-700);
  font-size: 1rem;
}

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

.service-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.expertise-icon { margin-bottom: 0.9rem; }

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

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

/* ---------- Why Mindrone ---------- */
.overview {
  background: var(--gray-100);
  padding: 6rem 2rem;
}

.overview-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.overview-inner h2 {
  color: var(--navy-900);
  font-size: 2.2rem;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.overview-inner h2 em {
  font-style: normal;
  font-weight: 700;
}

.overview-inner p {
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  max-width: 220px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-top: 0.3rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { margin-bottom: 1rem; }

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

.footer-col p {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--gray-300);
  transition: color 0.15s ease;
}
.footer-col ul a:hover { color: var(--blue-accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .overlap-cards { grid-template-columns: 1fr; transform: translateY(60px); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .main-nav { display: block; }
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-950);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.nav-open ul { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; }
  .hero-content { padding: 3rem 1.5rem 8rem; }
  .stats { gap: 1.5rem; }
}
