/* NOVARA by AEM - Website Styles */
:root {
  --primary: #0a1628;
  --primary-light: #13233f;
  --accent: #00c896;
  --accent-dark: #00a67d;
  --accent-orange: #f39c12;
  --accent-blue: #0984e3;
  --accent-teal: #00b894;
  --text: #2d3436;
  --text-light: #636e72;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray: #dfe6e9;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { color: var(--text-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,200,150,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}

.logo-text span:last-child {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0,200,150,0.08);
}

.nav-cta {
  margin-left: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #13233f 50%, #0d2137 100%);
  color: var(--white);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/ilAIb.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0,200,150,0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Product cards strip under hero */
.product-strip {
  background: var(--white);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  text-align: center;
  padding: 16px;
}

.product-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.product-card .icon.hardware { background: rgba(0,200,150,0.12); color: var(--accent); }
.product-card .icon.prolink { background: rgba(9,132,227,0.12); color: var(--accent-blue); }
.product-card .icon.advise { background: rgba(0,184,148,0.12); color: var(--accent-teal); }
.product-card .icon.alert { background: rgba(243,156,18,0.12); color: var(--accent-orange); }

.product-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.75);
}

.section-light {
  background: var(--off-white);
}

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 20px;
}

.step:nth-child(1) .step-number { background: var(--accent); }
.step:nth-child(2) .step-number { background: var(--accent-blue); }
.step:nth-child(3) .step-number { background: var(--accent-teal); }
.step:nth-child(4) .step-number { background: var(--accent-orange); }

.step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--white);
}

.benefit-card h3 {
  margin-bottom: 10px;
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.industry-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.industry-card .content {
  padding: 24px;
}

.industry-card .icon-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.industry-card .icon-label span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.industry-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
}

/* Stats bar */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Hardware feature */
.hardware-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hardware-feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,200,150,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,200,150,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #13233f 100%);
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .product-strip,
  .steps,
  .benefits-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hardware-feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .product-strip,
  .steps,
  .benefits-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
}
