/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #111;
  --white: #fff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --radius: 12px;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--black);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gray-600);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--gray-600);
  transition: color 0.15s;
}

nav a:hover {
  color: var(--black);
}

.lang-switch {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--black);
  border-radius: 6px;
  color: var(--black) !important;
  transition: background 0.15s, color 0.15s;
}

.lang-switch:hover {
  background: var(--black);
  color: var(--white) !important;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.intro {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Founder */
.founder {
  text-align: center;
  padding: 1.5rem 1.5rem 3rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.founder a {
  color: var(--gray-600);
  font-weight: 500;
}

.founder a:hover {
  color: var(--black);
}

/* Services */
.services {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.services h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-item {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}

.service-item:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.service-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.service-item a {
  font-weight: 500;
}

.service-item ul {
  list-style: none;
  padding: 0;
}

.service-item li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.service-item li::before {
  content: "~";
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-weight: 600;
}

.course-collab {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--gray-200);
}

.course-collab a {
  font-weight: 600;
}

.upcoming-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1.5px solid var(--black);
  color: var(--black);
}

/* Business Entities */
.companies {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.companies h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-align: center;
}

.entities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.entity-card {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.entity-card .flag {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.entity-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  margin-bottom: 1rem;
}

.entity-details {
  text-align: left;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.entity-details p {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.entity-details a {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 400;
}

.entity-details a:hover {
  color: var(--black);
}

/* Contact */
.contact {
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.contact h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.contact-sub {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;
}

form button[type="submit"] {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}

form button[type="submit"]:hover {
  background: var(--gray-800);
}

form button[type="submit"]:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4rem;
}

.form-status.success {
  color: #16a34a;
}

.form-status.error {
  color: #dc2626;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Responsive */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.05rem;
  }

  .services-grid,
  .entities-grid {
    grid-template-columns: 1fr;
  }

  .contact h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 4rem;
  }

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

  nav {
    gap: 1rem;
  }
}
