/* ============================================
   Huri-Connect — Marketing Site v1
   ============================================ */

/* ---------- Brand Variables ---------- */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0F172A;
  --navy-darker: #050B17;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --bg-light: #FFFFFF;
  --text: #1B3A5C;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--navy);
  border: 2px solid var(--border);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--navy);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 17px;
}
.btn-full {
  width: 100%;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo img {
  height: 42px;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-login {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-login:hover {
  background: rgba(27, 58, 92, 0.06);
}
.nav-cta { font-size: 14px; padding: 9px 20px; }

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 60%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.trust-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
}
.dashboard-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: rotate(-1.5deg);
  transition: transform 0.3s;
}
.dashboard-mock:hover { transform: rotate(0deg) scale(1.02); }

.dash-header {
  background: var(--navy);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.dash-dots span:first-child { background: #EF4444; }
.dash-dots span:nth-child(2) { background: #F59E0B; }
.dash-dots span:last-child { background: #22C55E; }
.dash-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}
.dash-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FAFBFC;
}
.dash-gate {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.dash-gate-status {
  font-size: 20px;
  line-height: 1;
}
.dash-gate-open .dash-gate-status { color: var(--amber); }
.dash-gate-closed .dash-gate-status { color: var(--green); }
.dash-gate-fault .dash-gate-status { color: var(--red); font-weight: 700; }
.dash-gate-fault { border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.03); }
.dash-gate-name { font-weight: 600; font-size: 14px; }
.dash-gate-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---------- SECTIONS ---------- */
.section {
  padding: 96px 0;
}
.section-light { background: var(--bg); }
.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}
.section-dark .eyebrow { color: var(--orange); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: var(--text-light); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.icon-red { background: rgba(239, 68, 68, 0.1); }
.icon-amber { background: rgba(245, 158, 11, 0.1); }
.icon-navy { background: rgba(27, 58, 92, 0.1); }
.card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- PILLARS ---------- */
.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
}
.pillar-featured {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.pillar-featured h3 { color: var(--white); }
.pillar-featured p { color: rgba(255,255,255,0.85); }
.pillar-featured .pillar-num { color: var(--orange); }
.pillar-featured .pillar-list li { color: rgba(255,255,255,0.9); }
.pillar-featured .pillar-list li::before { color: var(--orange); }

.pillar-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.pillar p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}
.pillar-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.pillar-featured .pillar-list { border-top-color: rgba(255,255,255,0.15); }
.pillar-list li {
  padding: 8px 0;
  position: relative;
  padding-right: 24px;
  font-size: 14px;
  color: var(--text);
}
.pillar-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 18px;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-muted);
  font-size: 15px;
}
.step-arrow {
  color: var(--orange);
  font-size: 32px;
  font-weight: 800;
}

/* ---------- SECURITY ---------- */
.security-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.security-feature h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--white);
}
.security-feature p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.security-feature-highlight {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
  grid-column: 1 / -1;
}
.security-feature-highlight h3 { color: var(--orange); }
.security-feature-highlight strong { color: var(--white); }
.emphasis {
  margin-top: 14px !important;
  font-weight: 600;
  color: var(--orange) !important;
  font-size: 16px !important;
}

/* ---------- ABOUT ---------- */
.about-grid {
  align-items: start;
}
.about-grid .eyebrow { margin-bottom: 18px; }
.about-grid h2 {
  margin-bottom: 24px;
  font-size: 34px;
}
.about-grid .lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 18px;
}
.about-grid p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 0;
}
.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
}
.cta-content { text-align: center; }
.cta-content h2 {
  margin-bottom: 14px;
}
.cta-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 17px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row:has(input:only-child) {
  grid-template-columns: 1fr;
}
.contact-form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #FAFBFC;
}
.contact-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.contact-alt {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 15px;
}
.contact-link {
  color: var(--navy);
  font-weight: 600;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--orange); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-darker);
  color: var(--text-light);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding: 64px 24px 32px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-logo {
  height: 48px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pillar-featured { transform: none; }
  .steps {
    grid-template-columns: 1fr;
  }
  .step-arrow { transform: rotate(-90deg); margin: 0 auto; }
  .section { padding: 64px 0; }
  h2 { font-size: 30px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .nav-inner { gap: 12px; }
  .nav-logo img { height: 32px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}
