/* ============================================
   ZYNTHECK Studio — Style Sheet
   Font: Sora (Google Fonts)
   Colors: Mint #3EB489, Purple #6B4EFF, Coral #FF6B47
   ============================================ */

/* --- FONT SORA (self-hosted) --- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- RESET & VARIABLES --- */
:root {
  --mint: #3EB489;
  --purple: #6B4EFF;
  --coral: #FF6B47;
  --dark: #111111;
  --gray: #666666;
  --gray-light: #999999;
  --border: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f9f9f9;
  --font: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1100px;
  --nav-height: 70px;
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- UTILITY --- */
.text-mint { color: var(--mint); }
.text-purple { color: var(--purple); }
.text-coral { color: var(--coral); }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo__icon {
  width: 36px;
  height: 36px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--dark);
}

.nav__link:hover::after {
  width: 100%;
}

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- SECTIONS (shared) --- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--mint);
  color: #fff;
}

.btn--primary:hover {
  background: #2ea074;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62, 180, 137, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
}

.hero__title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-large {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 6rem;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}

.hero__yin {
  color: var(--mint);
  transform: rotate(6deg);
  display: inline-block;
}

.hero__yang {
  color: var(--purple);
  transform: rotate(-6deg);
  display: inline-block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ============ SERVICES ============ */
.services {
  background: var(--bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============ ABOUT ============ */
.about__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__content p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about__tags li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat:hover {
  background: var(--bg-alt);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ============ WORK ============ */
.work {
  background: var(--bg-alt);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.work-card__thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card__emoji {
  font-size: 3rem;
}

.work-card__body {
  padding: 24px;
}

.work-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.work-card__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.work-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-right: 6px;
}

/* ============ CONTACT ============ */
.contact__wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
}

.contact__social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.contact__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray);
  transition: all var(--transition);
}

.contact__social a:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    align-items: center;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__logo-large {
    font-size: 4.5rem;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .services__grid,
  .work__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    padding: 100px 32px 32px;
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
  }

  .nav__link {
    font-size: 1.1rem;
  }

  .section {
    padding: 70px 0;
  }

  .section__title {
    font-size: 1.8rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__logo-large {
    font-size: 3.5rem;
  }

  .services__grid,
  .work__grid {
    grid-template-columns: 1fr;
  }

  .about__stats {
    gap: 16px;
  }

  .stat {
    padding: 20px;
    text-align: center;
  }

  .stat__number {
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
