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

/* Modern Reset */
:root {
  --primary: #0070C0;
  /* From old site */
  --primary-dark: #004d80;
  --secondary: #00d2ff;
  --accent: #3a7bd5;
  --text-main: #333333;
  --text-light: #666666;
  --background: #f4f7f6;
  --surface: #ffffff;
  --border: #e0e6ed;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Header & Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-container img {
  height: 60px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--primary);
}

.lang-selector {
  display: none;
}

.lang-switch {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-main);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.lang-switch:hover,
.lang-switch:focus {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background) 0%, #e0f2fe 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 112, 192, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  animation: pulse 15s infinite linear;
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 112, 192, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 192, 0.4);
}

/* Base Content Styling (Typography) */
.page-content {
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: -3rem;
  /* overlap with hero slightly */
  position: relative;
  z-index: 10;
}

.page-content h2 {
  color: var(--primary-dark);
  margin: 2rem 0 1rem;
  font-size: 2rem;
}

.page-content h3 {
  color: var(--primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.page-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Cards & Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 112, 192, 0.2);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  font-size: 1rem;
  flex-grow: 1;
}

.icon-wrapper {
  background: rgba(0, 112, 192, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Product List specific */
.product-category-block {
  margin-bottom: 4rem;
}

.product-category-title {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
}

.product-category-title i {
  margin-right: 15px;
  color: var(--primary);
}

.product-item {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border-left: 4px solid var(--border);
  color: var(--text-main);
  font-size: 1.1rem;
  position: relative;
}

.product-item:hover {
  border-left-color: var(--primary);
  transform: translateX(5px);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
}

.product-item strong {
  font-weight: 700;
  margin-right: 1rem;
  color: var(--primary);
  min-width: 180px;
  /* Aligns descriptions */
}

.product-item .desc {
  color: var(--text-light);
}

.product-item::after {
  content: "→";
  position: absolute;
  right: 1.5rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary);
}

.product-item:hover::after {
  opacity: 1;
  right: 1rem;
}

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

.contact-info {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1.5rem;
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .product-item strong {
    min-width: auto;
  }
}

/* Product Page Specific */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.spec-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-light);
  text-align: right;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 112, 192, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}