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

:root {
  --bg-color: #FFFDF9;
  --text-color: oklch(0.25 0.02 45);
  --text-muted: oklch(0.45 0.02 45);
  --primary-color: oklch(0.65 0.22 45); /* Warm puzzle orange */
  --secondary-color: oklch(0.55 0.18 200); /* Playful blue */
  --card-bg: oklch(0.99 0.005 45);
  --border-color: oklch(0.92 0.01 45);
  --shadow-color: oklch(0.2 0.02 45 / 0.06);
  --in-oklch: ;
}

@supports (linear-gradient(in oklch, white, black)) {
  :root {
    --in-oklch: in oklch;
  }
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg var(--in-oklch), var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 10px var(--shadow-color);
  user-select: none;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(to right var(--in-oklch), var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

main {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 
    0 10px 30px -10px var(--shadow-color),
    0 1px 3px oklch(0 0 0 / 0.02);
  margin-bottom: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 20px 40px -15px var(--shadow-color),
    0 1px 5px oklch(0 0 0 / 0.03);
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}

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

p.last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg var(--in-oklch), var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px oklch(0.65 0.22 45 / 0.25);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.contact-button:active {
  transform: translateY(0);
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
  transition: border-color 0.2s ease, outline 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.nav-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

footer {
  max-width: 800px;
  width: 100%;
  margin: 3rem auto 1rem auto;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.success-message {
  background-color: oklch(0.9 0.1 140 / 0.1);
  border: 1px solid oklch(0.7 0.15 140 / 0.2);
  color: oklch(0.4 0.15 140);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 600px) {
  body {
    padding: 1.5rem 0.5rem;
  }
  .card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
}

.lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 1rem auto;
  font-size: 0.875rem;
}

.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switcher a:hover {
  background-color: var(--border-color);
  color: var(--text-color);
}

.lang-switcher a.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

