:root {
  --primary: #087f5b;
  --primary-dark: #056344;
  --primary-light: #dff7ed;
  --blue: #1261a0;
  --dark: #0c1b25;
  --text: #40515d;
  --muted: #71808b;
  --light: #f5f9f8;
  --white: #ffffff;
  --border: #e1e9e7;
  --shadow: 0 18px 50px rgba(10, 42, 35, 0.09);
  --radius: 18px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225,233,231,.8);
  transition: .3s;
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.logo > span:last-child > span { color: var(--primary); }
.logo-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--primary); color: white; border-radius: 10px;
  font-size: 1.15rem; box-shadow: 0 8px 20px rgba(8,127,91,.2);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: #50606b; font-size: .9rem; font-weight: 600; transition: .2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-cta { background: var(--dark); color: white !important; padding: 10px 18px; border-radius: 9px; }
.nav-cta:hover { background: var(--primary); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.3rem; color: var(--dark); cursor: pointer; }

.hero {
  min-height: 760px; padding: 150px 0 90px; position: relative;
  background: linear-gradient(135deg, #f5fbf8 0%, #fff 55%, #f2f8fc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; min-height: 550px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary);
  font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.08; letter-spacing: -.055em; color: var(--dark); max-width: 760px; }
.hero h1 span, h2 span { color: var(--primary); }
.hero-text { font-size: 1.08rem; max-width: 650px; margin: 24px 0 32px; color: #586a75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .9rem; cursor: pointer; transition: .25s;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 25px rgba(8,127,91,.18); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border-color: #cad8d4; color: var(--dark); background: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: white; color: var(--primary-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: .78rem; color: #60717b; }
.hero-trust i { color: var(--primary); margin-right: 5px; }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.dashboard-card {
  width: min(430px, 90%); padding: 26px; border-radius: 24px; color: white;
  background: linear-gradient(150deg, #092a24, #087f5b 70%, #1261a0);
  box-shadow: 0 30px 70px rgba(5,70,55,.25); transform: rotate(2deg);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 20px; }
.dash-top small { display: block; opacity: .65; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; }
.dash-top strong { font-size: .9rem; }
.status-dot { width: 9px; height: 9px; background: #78e4bd; border-radius: 50%; box-shadow: 0 0 0 6px rgba(120,228,189,.1); }
.dash-main { padding: 38px 10px; }
.dash-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.12); font-size: 1.3rem; margin-bottom: 22px; }
.dash-main p { opacity: .72; font-size: .8rem; }
.dash-main h3 { font-size: 2.5rem; letter-spacing: -.04em; }
.dash-main span { font-size: .8rem; opacity: .72; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.dash-stats > div { background: rgba(255,255,255,.09); padding: 13px 9px; border-radius: 11px; }
.dash-stats strong, .dash-stats small { display: block; }
.dash-stats strong { font-size: .75rem; }
.dash-stats small { opacity: .58; font-size: .62rem; margin-top: 3px; }
.floating-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px;
  border-radius: 12px; background: white; box-shadow: var(--shadow); font-size: .72rem; font-weight: 700; color: var(--dark);
}
.floating-card i { color: var(--primary); }
.float-one { top: 55px; right: 0; }
.float-two { bottom: 45px; left: 0; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .5; pointer-events: none; }
.glow-one { width: 280px; height: 280px; background: rgba(23,168,121,.08); top: 90px; left: -100px; }
.glow-two { width: 300px; height: 300px; background: rgba(18,97,160,.06); right: -130px; bottom: -70px; }

.section { padding: 105px 0; }
.section-soft { background: var(--light); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.section-heading h2, .contact-info h2 { color: var(--dark); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.13; letter-spacing: -.045em; }
.section-heading p { max-width: 650px; margin-top: 18px; color: var(--muted); }
.about-copy { padding-top: 5px; }
.about-copy p { margin-bottom: 17px; font-size: 1rem; }
.text-link { display: inline-flex; gap: 8px; color: var(--primary); font-weight: 700; margin-top: 8px; }
.text-link:hover { gap: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 65px; }
.value-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: white; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); border-radius: 12px; margin-bottom: 18px; }
.value-card h3 { color: var(--dark); font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: .87rem; color: var(--muted); }

.centered { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.centered .eyebrow { justify-content: center; }
.centered p { margin-left: auto; margin-right: auto; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: .3s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cbe3da; }
.service-number { position: absolute; right: 18px; top: 17px; font-size: .68rem; font-weight: 800; color: #b6c5c1; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; background: #edf8f4; color: var(--primary); border-radius: 13px; margin-bottom: 23px; }
.service-card h3 { color: var(--dark); font-size: 1rem; margin-bottom: 9px; }
.service-card p { font-size: .82rem; color: var(--muted); min-height: 100px; }
.service-card a, .project-body a { display: inline-flex; gap: 7px; color: var(--primary); font-weight: 700; font-size: .76rem; margin-top: 15px; }

.product-section { background: #fff; }
.product-card {
  background: linear-gradient(125deg, #073d31, #087f5b 60%, #11649d);
  color: white; border-radius: 28px; padding: 65px; display: grid;
  grid-template-columns: 1.1fr .9fr; gap: 50px; overflow: hidden; position: relative;
}
.product-card:after { content:""; position:absolute; width:450px; height:450px; border:1px solid rgba(255,255,255,.08); border-radius:50%; right:-180px; top:-190px; }
.product-label { color: #a4ebd0; }
.product-content h2 { color: white; font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1; letter-spacing: -.06em; }
.product-content h2 span { color: #7ee6bd; }
.product-content h3 { font-size: 1rem; margin-top: 12px; color: #d8eee8; }
.product-content > p { max-width: 650px; color: rgba(255,255,255,.73); margin: 18px 0 25px; }
.feature-list { display: grid; gap: 11px; margin-bottom: 30px; }
.feature-list div { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.88); }
.feature-list i { color: #8de9c5; }
.product-visual { display: grid; place-items: center; position: relative; z-index: 2; }
.phone-frame { width: 230px; padding: 9px; background: #071c18; border-radius: 30px; box-shadow: 0 30px 55px rgba(0,0,0,.25); transform: rotate(5deg); }
.phone-notch { width: 75px; height: 17px; background: #071c18; border-radius: 0 0 12px 12px; margin: -9px auto 0; position: relative; z-index: 3; }
.phone-screen { background: #f7fbfa; color: var(--dark); min-height: 400px; border-radius: 22px; padding: 24px 15px 15px; }
.phone-brand { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.mini-logo { width: 22px; height: 22px; display: grid; place-items: center; background: var(--primary); color: white; border-radius: 6px; font-weight: 800; }
.screen-label { color: #6c7c85; font-size: .63rem; margin: 22px 0 10px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mini-stats div { background: white; border: 1px solid #e3ece9; padding: 10px; border-radius: 9px; }
.mini-stats strong, .mini-stats small { display: block; }
.mini-stats strong { font-size: .85rem; }
.mini-stats small { color: #7b8a91; font-size: .58rem; }
.screen-row { display: flex; align-items: center; gap: 7px; background: white; border: 1px solid #e3ece9; padding: 10px 8px; border-radius: 9px; margin-top: 7px; font-size: .62rem; }
.screen-row i { color: var(--primary); width: 15px; }
.screen-row b { margin-left: auto; color: var(--primary); font-size: .55rem; }

.project-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.project-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: white; transition: .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-image { height: 220px; position: relative; display: grid; place-items: center; font-size: 4rem; overflow: hidden; }
.village-image { background: linear-gradient(135deg,#e6f7f0,#bde6d5); color: var(--primary); }
.network-image { background: linear-gradient(135deg,#eaf3fb,#cbdff0); color: #1261a0; }
.software-image { background: linear-gradient(135deg,#eef5f2,#d7e9e3); color: #275b4d; }
.project-image > i { opacity: .25; }
.project-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 15px; }
.project-overlay span { background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 20px; font-size: .62rem; font-weight: 800; color: var(--dark); }
.project-body { padding: 25px; }
.project-tag { font-size: .63rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); font-weight: 800; }
.project-body h3 { color: var(--dark); font-size: 1.1rem; margin: 7px 0; }
.project-body p { font-size: .8rem; color: var(--muted); min-height: 52px; }

.cta-section { padding: 30px 0 105px; }
.cta-box { background: var(--dark); color: white; border-radius: 24px; padding: 45px 55px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-box .eyebrow { color: #7ee6bd; margin-bottom: 7px; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.04em; }
.cta-box p { color: #a9b7bd; font-size: .85rem; margin-top: 6px; }

.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-info > p { margin: 18px 0 30px; color: var(--muted); max-width: 500px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-top: 17px; }
.contact-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: white; color: var(--primary); border: 1px solid var(--border); }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { font-size: .65rem; color: var(--muted); }
.contact-item strong { font-size: .8rem; color: var(--dark); }
.contact-form { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 35px rgba(10,42,35,.04); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; font-size: .72rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid #dce7e4; border-radius: 9px; padding: 11px 13px;
  outline: none; background: #fbfdfc; color: var(--dark); transition: .2s;
}
.form-group textarea { resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8,127,91,.08); }
.full-btn { width: 100%; }
.form-note { font-size: .75rem; margin-top: 12px; color: var(--primary); text-align: center; min-height: 20px; }

.footer { background: #07171e; color: #aab8be; padding: 65px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer .logo { color: white; }
.footer p { max-width: 300px; font-size: .78rem; margin-top: 16px; }
.footer h4 { color: white; font-size: .78rem; margin-bottom: 15px; }
.footer-grid > div:not(:first-child) a { display: block; font-size: .74rem; margin-bottom: 9px; }
.footer-grid > div:not(:first-child) a:hover { color: #7ee6bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; font-size: .65rem; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 950px) {
  .nav { gap: 16px; }
  .hero-grid, .product-card, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 125px; }
  .hero-visual { min-height: 400px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-column: 1 / -1; }
  .two-col { gap: 35px; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-wrap { height: 70px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 14px; right: 14px; padding: 15px;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: white; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 11px 13px; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .hero { padding: 115px 0 65px; min-height: auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero-text { font-size: .95rem; }
  .hero-visual { min-height: 370px; }
  .dashboard-card { width: 85%; }
  .float-one { right: -3px; top: 25px; }
  .float-two { left: -3px; bottom: 25px; }
  .section { padding: 75px 0; }
  .values-grid, .services-grid, .project-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; }
  .product-card { padding: 38px 24px; }
  .product-visual { min-height: 420px; }
  .cta-section { padding-bottom: 75px; }
  .cta-box { padding: 35px 25px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { gap: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
