/* 
  EL-PLAN Design System
  Theme: Practical, Minimal, Intellectual
*/

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-text-main: #1a1a1a;
  --color-text-sub: #666666;
  --color-accent: #001f3f;
  /* Navy */
  --color-border: #e0e0e0;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;

  /* Spacing */
  --space-unit: 1rem;
  --section-padding: 8rem 2rem;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-padding);
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-sub);
}

.text-center {
  text-align: center;
}

/* Components */
/* Graphics & Patterns */
.bg-mesh {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(at 100% 0%, rgba(0, 31, 63, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 31, 63, 0.02) 0px, transparent 50%);
}

.hero-full {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 31, 63, 0.4) 100%);
  z-index: 1;
}

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

.hero-full h1,
.hero-full p {
  color: #fff;
}

.product-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.02);
}

.pattern-dots {
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 24px 24px;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
  border-radius: 4px;
}

.btn:hover {
  opacity: 0.9;
}

.link-subtle {
  color: var(--color-text-sub);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Header & Footer */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

footer {
  padding: 4rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-sub);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    padding: 8rem 2rem;
    transition: 0.3s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
  }

  nav a {
    font-size: 1.25rem;
  }

  /* Basic mobile hide for now */
}