@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/outfit-v15-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/outfit-v15-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/outfit-v15-latin-600.woff2') format('woff2');
}


@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #fafafa;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ED;
  --card-bg: #ffffff;
  --border: #e5e5e7;
  --input-bg: #f5f5f7;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --placeholder-gradient: linear-gradient(145deg, #e8e8ed, #d2d2d7);
  --focus-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --text: #f5f5f7;
  --text-secondary: #98989f;
  --accent: #2997ff;
  --accent-hover: #40a9ff;
  --card-bg: #1c1c1e;
  --border: #2c2c2e;
  --input-bg: #1c1c1e;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --placeholder-gradient: linear-gradient(145deg, #2c2c2e, #1c1c1e);
  --focus-shadow: 0 0 0 3px rgba(41, 151, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ── Theme Toggle ── */
.theme-toggle {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Language Toggle ── */
.lang-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: opacity 0.3s ease;
  user-select: none;
}

.toggle-icon {
  font-size: 15px;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.toggle-icon.sun {
  opacity: 0.4;
}

.toggle-icon.moon {
  opacity: 1;
}

[data-theme="dark"] .toggle-icon.sun {
  opacity: 1;
}

[data-theme="dark"] .toggle-icon.moon {
  opacity: 0.4;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #e5e5e7;
  border-radius: 14px;
  transition: background 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* ── Layout ── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section ── */
.hero {
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
}

.hero-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border);
  box-shadow: var(--shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--placeholder-gradient);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s ease;
}

.hero .tagline {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

/* ── Contact Icons ── */
.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 4px;
}

.icon-link:hover {
  transform: translateY(-2px);
}

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

.icon-link svg {
  display: block;
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 48px auto;
  border-radius: 1px;
  transition: background 0.3s ease;
}

/* ── About Section ── */
.about {
  padding-bottom: 20px;
  text-align: center;
}

.about h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.about p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  transition: color 0.3s ease;
}

/* ── Services ── */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.service-tag {
  padding: 8px 18px;
  background: var(--input-bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.service-tag:hover {
  background: var(--card-bg);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Contact Form ── */
.contact {
  padding-bottom: 60px;
}

.contact h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-align: center;
}

.form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--card-bg);
  box-shadow: var(--focus-shadow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a1a1a6;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: #636366;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

[data-theme="dark"] .submit-btn:hover {
  box-shadow: 0 4px 12px rgba(41, 151, 255, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

footer a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent);
}

footer .copyright {
  font-size: 12px;
  color: #a1a1a6;
}

[data-theme="dark"] footer .copyright {
  color: #48484a;
}

/* ── Legal Pages ── */
.legal {
  padding: 80px 0 60px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .tagline {
    font-size: 16px;
  }

  .form-card {
    padding: 24px;
  }

  .contact-icons {
    gap: 14px;
  }

  .theme-toggle {
    top: 16px;
    left: 16px;
  }

  .lang-toggle {
    top: 16px;
    right: 16px;
  }
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.6s ease forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}