/* === EnterSol Corporate Website === */
/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1e3a5f;
  --color-accent: #0f766e;
  --color-accent-light: #14b8a6;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-600: #475569;
  --color-gray-800: #1e293b;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-800);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* === Header / Nav === */
.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo svg {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s;
  padding: 0.4rem 0;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a6f 50%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* === Sections === */
.section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--alt {
  background: linear-gradient(180deg, var(--color-white) 0%, #f0fdfa 100%);
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section--alt .section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === Product Cards === */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--color-accent);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.product-card__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.product-card__desc {
  color: var(--color-gray-600);
  flex: 1;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s;
}

.product-card__link:hover {
  gap: 0.7rem;
}

/* === Feature List (subpages) === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-gray-200);
  border-left: 3px solid var(--color-accent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(15, 118, 110, 0.25);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.feature__text p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a6f 50%, var(--color-accent) 100%);
  color: var(--color-white);
}

.cta-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section__desc {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

/* === Footer === */
.footer {
  background: var(--color-gray-800);
  color: var(--color-gray-200);
  padding: 3rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo svg {
  height: 28px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--color-gray-200);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* === Page Header (subpages) === */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a6f 40%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.page-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.page-hero__desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow);
  }

  .nav--open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding: 3.5rem 1.5rem;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
