/* =========================================================
   Nexora — Single-Page Tech Website
   Palette: Tech Blue / Mint Green / White
   Container: 1400px
   ========================================================= */

/* ---------- Reset & Design Tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.footer-nav ul {
  /* width: 700px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-nav ul {
  height: 40px;
  line-height: 40px;
  list-style-type: none;
}

.footer-nav li {
  height: 40px;
  line-height: 40px;
}

:root {
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-deep: #0A2540;
  --green: #00D4AA;
  --green-light: #5EEAD4;
  --white: #FFFFFF;
  --bg-light: #F6F9FC;
  --text: #0A2540;
  --text-muted: #5B6478;
  --border: #E6ECF2;
  --container: 1400px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(10, 37, 64, .08);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease);
  letter-spacing: .2px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 102, 255, .3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, .4);
}

.btn-green {
  background: var(--green);
  color: var(--blue-deep);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 212, 170, .4);
}

.btn-light {
  background: #fff;
  color: var(--blue-deep);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
}

.btn-outline:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all .4s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(10, 37, 64, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  transition: color .3s;
}

.header.scrolled .logo {
  color: var(--blue-deep);
}

.logo img {
  width: 60px;
  height: 60px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color .3s;
}

.header.scrolled .nav-menu a {
  color: var(--blue-deep);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--green-light);
}

.header.scrolled .nav-menu a.active {
  color: var(--blue);
}

.nav-cta {
  margin-left: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: .3s;
}

.header.scrolled .menu-toggle span {
  background: var(--blue-deep);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2540 0%, #003380 55%, #0066FF 100%);
  color: #fff;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, .35), transparent 70%);
  top: -220px;
  right: -120px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow.alt {
  background: radial-gradient(circle, rgba(0, 102, 255, .4), transparent 70%);
  top: auto;
  bottom: -200px;
  left: -150px;
  right: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(0, 212, 170, .15);
  border: 1px solid rgba(0, 212, 170, .4);
  color: var(--green-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, .3);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--green-light), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 68px;
  flex-wrap: wrap;
}

.hero-stats .stat .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.hero-stats .stat .label {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-top: 6px;
}

/* ---------- Section common ---------- */
.section {
  padding: 110px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  /* max-width: 720px; */
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head h2 {
  /* font-size: clamp(28px, 44px); */
  font-size: 44px;
  font-weight: 800;
  /* letter-spacing: -.5px; */
  margin-bottom: 16px;
  color: var(--blue-deep);
}

.section-head p {
  font-size: 17px;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-media .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: center;
}

.about-media .badge .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.about-media .badge .txt {
  font-size: 14px;
  color: var(--text-muted);
}

.about-text h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 16px;
}

.about-list {
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.about-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.value-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: .3s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.value-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.value-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .4s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card .img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.product-card:hover .img img {
  transform: scale(1.06);
}

.product-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: #fff;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.product-card .body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  font-size: 21px;
  color: var(--blue-deep);
  margin-bottom: 10px;
  text-align: center;
}

.product-card .desc {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.product-card .features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-card .features span {
  font-size: 12px;
  color: var(--blue);
  background: rgba(0, 102, 255, .08);
  padding: 5px 11px;
  border-radius: 6px;
  font-weight: 500;
}

.product-card .link {
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: .3s;
  margin-top: auto;
}

.product-card .link:hover {
  gap: 10px;
  color: var(--green);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s var(--ease);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card .img {
  height: 200px;
  overflow: hidden;
}

.news-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.news-card:hover .img img {
  transform: scale(1.06);
}

.news-card .body {
  padding: 24px;
}

.news-card .meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  align-items: center;
}

.news-card .meta .cat {
  color: var(--green);
  font-weight: 600;
}

.news-card .meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

.news-card h3 {
  font-size: 19px;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card .excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.news-card .more {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: .3s;
}

.news-card .more:hover {
  gap: 10px;
}

.news-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: .3s;
  background: var(--bg-light);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  color: #E5484D;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #E5484D;
  background: #FFF5F5;
}

.form-group.invalid .form-error {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: .3s;
}

.info-card:hover {
  border-color: var(--green);
  transform: translateX(4px);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 16px;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, .7);
  padding: 72px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 14px;
  transition: .3s;
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  transition: .3s;
}

.social a:hover {
  background: var(--green);
  color: var(--blue-deep);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-media img {
    height: 400px;
  }

  .products-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(255, 255, 255, 0.93);
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 40px 40px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
    transition: right .4s var(--ease);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    color: var(--blue-deep) !important;
    font-size: 18px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a.active {
    color: var(--blue) !important;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 80px 0;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-stats .stat .num {
    font-size: 30px;
  }

  .about-media .badge {
    position: static;
    margin: 16px;
  }
}

@media (max-width: 560px) {

  .products-grid,
  .news-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}