/* layout.css */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 24px;
}

.bg-navy { background-color: var(--navy); color: var(--white); }
.bg-grey { background-color: var(--grey-bg); }
.bg-white { background-color: var(--white); }

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 24px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav.scrolled {
  background: rgba(28,43,74,.97);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-logo { display:flex; align-items:center; gap: 16px; color: var(--white); }
.nav-logo svg { flex-shrink: 0; }
.nav-logo div { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-title { font-weight: 700; letter-spacing: 0.1em; font-size: 16px; }
.nav-logo-sub { font-size: 13px; opacity: 0.7; font-weight: 400; }

.nav-links { display: flex; gap: 40px; align-items: center; color: rgba(255,255,255,.8); font-size: 15px; font-weight: 600; }
.nav-links a { transition: color 0.22s ease, opacity 0.22s ease; }
.nav-links a:hover { color: var(--white); opacity: 1; }
.burger { display: none; background: none; color: white; font-size: 28px; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 64px;
}
.hero-bg-gradients {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(170,195,238,0.15) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(196,113,74,0.08) 0%, transparent 40%);
  z-index: 0;
}
.hero-sphere-1 { position: absolute; left: 4%; top: 12%; opacity: 0.1; width: 140px; z-index: 1; filter: blur(2px); }
.hero-sphere-2 { position: absolute; right: 4%; top: 60%; opacity: 0.1; width: 220px; z-index: 1; filter: blur(4px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; margin-top: 64px; }
.process-connector { position: absolute; top: 36px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 1px; background: linear-gradient(to right, rgba(196,113,74,0.26), rgba(196,113,74,0.06)); z-index: 0; display: none; }
@media(min-width: 701px) { .process-connector { display: block !important; } }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 28px 20px; background: #fff; border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; min-height: 100%; justify-content: flex-start; }
.process-step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(196,113,74,0.15); }
.process-step .icon { width: 56px; height: 56px; background: rgba(28,43,74,0.05); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.process-step .step-num { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 0 0 8px 8px; }

/* Footer */
footer { padding: 80px 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
