@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Ignyte-inspired color palette */
  --body-bg: #f9fafa;
  --alt-section-bg: #ebecee;
  --dark-section-bg: #1a1a2e;
  --card-bg: #ffffff;
  --text-primary: #0a0a0a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #1B7A43;
  --border: #dddddd;
  --nav-bg-scroll: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--body-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══ TYPOGRAPHY ═══ */
h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.label {
  font-size: 14px;
  uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* ═══ NAVIGATION ═══ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: var(--nav-bg-scroll);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

nav .logo {
  flex-shrink: 0;
}

nav .logo img {
  height: 50px;
  width: auto;
}

nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav .nav-item {
  position: relative;
}

nav .nav-item > a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

nav .nav-item > a:hover {
  color: var(--accent);
}

.dropdown-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

nav .nav-item:hover .dropdown-arrow {
  color: var(--accent);
}

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 260px;
  display: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  z-index: 101;
}

nav .nav-item:hover .dropdown-menu {
  display: block;
  opacity: 1;
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.15s;
}

.dropdown-menu a:hover {
  background: var(--alt-section-bg);
  color: var(--accent);
}

.dropdown-tag {
  display: inline-block;
  font-size: 11px;
  background: rgba(27, 122, 67, 0.1);
  color: var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--card-bg);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #165a37;
  border-color: #165a37;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--card-bg);
}

.cta-button {
  margin-left: auto;
}

/* ═══ HERO ═══ */
.hero-visual {
  position: relative;
  padding: 8rem 5rem;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-section-bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.7);
  z-index: 1;
}

.hero-visual > * {
  position: relative;
  z-index: 2;
}

.hero-visual .label {
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual h1 {
  color: var(--card-bg);
  max-width: 900px;
  margin: 0 auto;
}

.hero-visual .subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual .buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-visual .btn-primary {
  background: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--card-bg);
}

.hero-visual .btn-primary:hover {
  background: var(--alt-section-bg);
  border-color: var(--alt-section-bg);
}

.hero-visual .btn-secondary {
  background: transparent;
  color: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual .btn-secondary:hover {
  border-color: var(--card-bg);
  background: rgba(255, 255, 255, 0.1);
}

/* ═══ SECTOR STRIP ═══ */
.sector-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5rem;
  background: var(--body-bg);
}

.sector-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 1200px;
  margin: 0 auto;
}

.sector-strip .dot {
  color: var(--accent);
}

.sector-strip span:last-child {
  color: var(--accent);
  font-weight: 600;
}

/* ═══ SECTIONS — full-width bg, constrained content ═══ */
section {
  padding: 100px 0;
  width: 100%;
}

section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

section h2 {
  margin-bottom: 3rem;
}

section.bg-light {
  background: var(--body-bg);
}

section.bg-alt {
  background: var(--alt-section-bg);
}

section.bg-white {
  background: var(--card-bg);
}

section.bg-green {
  background: var(--accent);
  color: var(--card-bg);
  padding: 80px 0;
}

section.bg-green .container {
  text-align: center;
}

section.bg-green h2,
section.bg-green h3,
section.bg-green p {
  color: var(--card-bg);
}

/* ═══ CARDS ═══ */
.card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 0.6rem;
}

/* ═══ SERVICES SECTION ═══ */
#services {
  background: var(--body-bg);
}

#services h2 {
  text-align: center;
}

.numbered-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.numbered-service {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.numbered-service:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.service-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  stroke-width: 2;
}

.numbered-service h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.numbered-service p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 0;
}

/* ═══ GREEN BANNER ═══ */
.green-banner {
  background: var(--accent);
  color: var(--card-bg);
  text-align: center;
  padding: 80px;
  width: 100%;
}

.green-banner p {
  color: var(--card-bg);
  font-size: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
}

/* ═══ EDITORIAL LIST ═══ */
#use-cases {
  background: var(--body-bg);
}

#use-cases h2 {
  text-align: center;
}

.editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-list li {
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  background: var(--card-bg);
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.editorial-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.editorial-item-tag {
  display: inline-block;
  font-size: 11px;
  background: rgba(27, 122, 67, 0.1);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.editorial-item-left {
  flex: 1;
}

.editorial-item-left h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.editorial-item-left p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 0;
}

.editorial-item-right {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
}

.editorial-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.editorial-list li:hover .editorial-link {
  gap: 0.7rem;
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  padding: 100px 0;
  background: var(--body-bg);
  text-align: center;
  width: 100%;
}

.cta-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.cta-section h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.cta-section .btn {
  margin-top: 1.5rem;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 80px 0 2rem;
  background: var(--body-bg);
  border-top: 1px solid var(--border);
  width: 100%;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-section a {
  display: block;
  font-size: 14px;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 36px;
  }

  nav {
    padding: 1.25rem 2.5rem;
  }

  section {
    padding: 80px 40px;
  }

  .numbered-services {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .sector-strip,
  .hero-visual {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  nav .nav-menu {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }

  nav .nav-menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  nav .nav-item {
    width: 100%;
  }

  nav .cta-button {
    margin-left: 0;
    width: 100%;
  }

  nav .cta-button.btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 60px 1.5rem;
  }

  .numbered-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .editorial-list li {
    flex-direction: column;
    gap: 1rem;
  }

  .editorial-item-right {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .hero-visual .buttons {
    flex-direction: column;
  }

  .hero-visual .btn {
    width: 100%;
  }

  .sector-strip {
    padding: 1rem 1.5rem;
  }

  .sector-strip-inner {
    gap: 0.5rem;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .bg-green {
    padding: 40px 1.5rem;
  }

  .bg-green p {
    font-size: 16px;
  }

  .card {
    padding: 24px;
  }

  .cta-section {
    padding: 60px 1.5rem;
  }

  footer {
    padding: 60px 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .subtitle {
    font-size: 16px;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  nav .logo img {
    height: 40px;
  }

  .numbered-services {
    grid-template-columns: 1fr;
  }

  section {
    padding: 40px 1rem;
  }

  .hero-visual {
    padding: 3rem 1rem;
  }

  .hero-visual h1 {
    font-size: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
