/* Wiseworks Website - Vivid Design
   Brand: teal palette, light backgrounds, clean typography */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Wiseworks Brand */
  --ww-primary: #2596BE;
  --ww-secondary: #1E7A9A;
  --ww-accent: #2BA3A3;
  --ww-text: #3D5A6C;
  --ww-dark: #1a2433;
  --ww-light: #f0f8fa;
  --ww-light-2: #e8f4f8;
  
  /* Utility */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --success: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--ww-text);
  background: var(--white);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 48px;
}

.logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.nav-list > li {
  flex-shrink: 0;
}

.nav-list a {
  color: var(--ww-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ww-primary);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 12px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.lang-switcher a {
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  min-width: 28px;
  text-align: center;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--ww-primary);
}
.lang-switcher a.active {
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--ww-light) 0%, var(--ww-light-2) 50%, rgba(37, 150, 190, 0.08) 100%);
  padding: 80px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--ww-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--ww-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero .intro,
.hero .hero-solution {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Challenges block (alt1 problem-first) */
.challenges-block {
  background: var(--white);
  padding: 60px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.challenges-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto 24px;
}

.challenges-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 17px;
  color: var(--ww-text);
}

.challenges-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ww-primary);
  font-weight: 600;
}

.challenges-cta {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ww-primary);
}

/* Version switcher (alt1 ↔ classic) */
.version-switcher {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  white-space: nowrap;
}

.version-switcher:hover {
  color: var(--ww-primary);
  border-color: var(--ww-primary);
}

/* Sections */
section {
  padding: 80px 24px;
}

section:nth-child(even) {
  background: var(--gray-50);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ww-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 640px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--ww-accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ww-dark);
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--gray-500);
}

/* Mission block */
.mission-block {
  background: linear-gradient(135deg, var(--ww-primary) 0%, var(--ww-secondary) 100%);
  color: var(--white);
  padding: 48px;
  border-radius: 16px;
  text-align: center;
}

.mission-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.mission-block p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto;
}

.mission-block strong {
  font-weight: 600;
}

/* Value props list */
.value-list {
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list .check {
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--ww-dark);
  color: var(--gray-400);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-contact a {
  color: var(--gray-400);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-list {
    gap: 20px;
    font-size: 14px;
  }
  
  .hero {
    padding: 60px 24px 80px;
  }
  
  section {
    padding: 60px 24px;
  }
}
