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

:root {
  --bg: #F1EEE9;
  --orange: #ea580c;
  --black: #030712;
  --white: #ffffff;
  --font: 'Noto Sans JP', sans-serif;
  --font-switcher: 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans Devanagari', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ─── Button ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  height: 68px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: 40px;
  white-space: nowrap;
  transition: opacity 0.15s;
  cursor: pointer;
}
.btn:hover { opacity: 0.85; }

/* ─── Hero ─── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px;
  display: flex;
  align-items: center;
  gap: 51px;
  min-height: 912px;
  overflow: hidden;
}

.hero__text {
  flex: 0 0 499px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  color: var(--black);
}

.hero__desc {
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
  color: var(--black);
}

.hero__phones {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}

.hero__phones img {
  width: 570px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* ─── Features ─── */
.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.features__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  color: var(--black);
}

.features__cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.feature__num {
  font-size: 48px;
  font-weight: 800;
  line-height: 72px;
  color: var(--orange);
}

.feature__card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: var(--black);
}

.feature__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--black);
}

/* ─── Hard Mode ─── */
.hardmode-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 0;
}

.hardmode {
  background: var(--orange);
  border-radius: 80px;
  padding: 80px 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.hardmode__title {
  width: 960px;
  font-size: 80px;
  font-weight: 800;
  line-height: 88px;
  color: var(--white);
}

.hardmode__body {
  width: 960px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hardmode__subtitle {
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  color: var(--white);
}

.hardmode__desc {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: var(--white);
}

.hardmode__phone {
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hardmode__phone img {
  width: 320px;
  height: auto;
  display: block;
}

/* ─── CTA ─── */
.cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta__logo {
  width: 240px;
  height: auto;
  display: block;
}

.cta__tagline {
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  color: var(--black);
}

/* ─── Footer ─── */
.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.footer__nav a {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--black);
  text-decoration: none;
}

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

.footer__copy {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--black);
}

/* ─── Font by language ─── */
:root:lang(ko) { --font: 'Noto Sans KR', sans-serif; }
:root:lang(zh) { --font: 'Noto Sans SC', sans-serif; }
:root:lang(hi) { --font: 'Noto Sans Devanagari', sans-serif; }

/* ─── Language Switcher ─── */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 40px;
  font-family: var(--font-switcher);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--black);
  transition: background 0.15s;
  white-space: nowrap;
}

.lang-switcher__toggle:hover { background: #fff; }

.lang-switcher__globe { width: 15px; height: 15px; flex-shrink: 0; }

.lang-switcher__chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-switcher__toggle[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  list-style: none;
  min-width: 150px;
}

.lang-switcher__toggle[aria-expanded="true"] + .lang-switcher__list { display: block; }

.lang-switcher__list button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  font-family: var(--font-switcher);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  color: var(--black);
  transition: background 0.1s;
}

.lang-switcher__list button:hover { background: var(--bg); }

.lang-switcher__list button.active {
  font-weight: 700;
  color: var(--orange);
}

/* ─── Responsive ─── */
@media (max-width: 1280px) {
  .hardmode__title,
  .hardmode__body { width: 100%; }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 60px 40px;
    gap: 32px;
  }
  .hero__text { flex: 0 0 380px; }
  .hero__phones img { width: 420px; }

  .features { padding: 60px 40px; }
  .feature { flex: 1; min-width: 0; }
  .feature__num { font-size: 36px; }

  .hardmode-wrap { padding: 60px 0; }
  .hardmode { padding: 60px 60px 0; border-radius: 60px; }
  .hardmode__title { font-size: 60px; line-height: 70px; }
  .hardmode__subtitle { font-size: 28px; line-height: 42px; }
  .hardmode__desc { font-size: 18px; }

  .cta { padding: 60px 40px; }
  .cta__tagline { font-size: 28px; line-height: 42px; }

  .footer { padding: 60px 40px; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 48px 24px 0;
    gap: 40px;
    min-height: auto;
  }
  .hero__text {
    flex: none;
    width: 100%;
    gap: 40px;
  }
  .hero__title { font-size: 28px; line-height: 42px; }
  .hero__desc { font-size: 16px; line-height: 24px; }
  .btn { font-size: 18px; height: 56px; padding: 14px 32px; }
  .hero__phones {
    width: 100%;
    justify-content: center;
  }
  .hero__phones img { width: 100%; max-width: 400px; }

  .features { padding: 48px 24px; gap: 32px; }
  .features__title { font-size: 24px; line-height: 36px; }
  .features__cards { flex-direction: column; gap: 24px; }
  .feature { flex: none; width: 100%; }

  .hardmode-wrap { padding: 48px 0; }
  .hardmode { padding: 48px 24px 0; border-radius: 40px; gap: 32px; }
  .hardmode__title { font-size: 48px; line-height: 56px; }
  .hardmode__body { width: 100%; }
  .hardmode__subtitle { font-size: 22px; line-height: 33px; }
  .hardmode__desc { font-size: 16px; line-height: 24px; }
  .hardmode__phone img { width: 240px; }

  .cta { padding: 48px 24px; gap: 24px; }
  .cta__tagline { font-size: 22px; line-height: 33px; text-align: center; }
  .cta__logo { width: 160px; }

  .footer { padding: 48px 24px; gap: 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 24px; line-height: 36px; }
  .hardmode__title { font-size: 40px; line-height: 48px; }
  .features__title { font-size: 20px; line-height: 30px; }
}
