/* CSS Variables - Professional Color System */
:root {
  --bg-main: #ffffff;
  --bg-section: #f5f7fa;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --border-color: #e5e7eb;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  font-size: 16px;
}

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

/* Header & Navigation */
header {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  min-height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 75px;
  width: auto;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.lang-active {
  color: var(--accent);
  font-weight: 500;
}

.lang-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-link:hover {
  color: var(--accent);
}

.lang-separator {
  color: var(--border-color);
}

/* Hero Section */
.hero {
  background-color: var(--bg-main);
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-main);
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
  border: 2px solid var(--accent);
}

.cta-button:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

/* Main Sections */
section {
  padding: 3rem 0;
}

section:nth-child(even) {
  background-color: var(--bg-section);
}

section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--bg-main);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Why init.d Section */
.benefits-list {
  list-style: none;
  margin-top: 1rem;
}

.benefits-list li {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.25rem;
}

/* Contact Section */
.contact {
  text-align: center;
}

.email-link {
  display: inline-block;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  border: 2px solid transparent;
}

.email-link:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
}

/* Footer */
footer {
  background-color: var(--text-main);
  color: #9ca3af;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

footer p {
  font-size: 0.9rem;
  margin: 0;
}

/* Tablet Responsive (768px and up) */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  nav {
    padding: 1.25rem 0;
  }
  
  .hero {
    padding: 4rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .logo {
    height: 95px;
  }
  
  .brand-name {
    font-size: 1.625rem;
  }
}

/* Desktop Responsive (1024px and up) */
@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 6rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .logo {
    height: 105px;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
  }
}

/* Focus States for Accessibility */
.cta-button:focus,
.email-link:focus,
.lang-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-muted: #1a1a1a;
    --border-color: #666666;
  }
  
  .service-card {
    border-width: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .service-card,
  .email-link,
  .lang-link {
    transition: none;
  }
  
  .cta-button:hover {
    transform: none;
  }
}