/*
Theme Name: Sidekick Coming Soon (KO)
Theme URI: https://sidekick-us.com
Author: Sidekick
Description: 사이드킥 "출시 예정" 랜딩 페이지 — 원본 디자인을 그대로 재현한 한국어 버전.
Version: 2.0
Text Domain: sidekick-comingsoon
*/

:root {
  --cobalt: #2f45f5;
  --cobalt-dark: #17269f;
  --coral: #ff493d;
  --cream: #f7f3e9;
  --ink: #161926;
  --white: #ffffff;
  --muted: #65697a;
  --line: rgba(22, 25, 38, 0.14);
  --shadow: 0 28px 70px rgba(23, 38, 159, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }

a { color: inherit; }

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 16%, rgba(255, 73, 61, 0.12), transparent 25rem),
    radial-gradient(circle at 94% 91%, rgba(47, 69, 245, 0.15), transparent 31rem),
    var(--cream);
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--coral);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.header-link::after { content: "↓"; color: var(--coral); }
.header-link:hover { transform: translateY(-2px); background: var(--white); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  min-height: calc(100svh - 122px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  animation: rise 720ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--cobalt-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 4px;
  border-radius: 99px;
  background: var(--coral);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.5rem, 7.6vw, 7.4rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h1 span {
  display: block;
  color: var(--cobalt);
  -webkit-text-stroke: 1px var(--cobalt);
}

.intro {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--coral);
  border-radius: inherit;
  animation: pulse 1.8s ease-out infinite;
}

.art-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  animation: rise 720ms 120ms cubic-bezier(.2,.8,.2,1) both;
}

.art-wrap::before {
  content: "";
  position: absolute;
  inset: 7% -8% -5% 8%;
  z-index: -1;
  border-radius: 42% 58% 55% 45% / 54% 39% 61% 46%;
  background: var(--coral);
  transform: rotate(4deg);
}

.art-frame {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 44% 56% 48% 52% / 52% 42% 58% 48%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  backdrop-filter: blur(10px);
}

.art-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 42% 58% 47% 53% / 50% 43% 57% 50%;
}

.scribble {
  position: absolute;
  right: -32px;
  bottom: 3%;
  width: 92px;
  height: 92px;
  color: var(--cobalt-dark);
  transform: rotate(8deg);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
  margin-top: 62px;
  padding: clamp(44px, 7vw, 90px);
  border-radius: 36px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -180px;
  width: 470px;
  height: 470px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.02);
}

.contact-copy, .contact-form { position: relative; z-index: 1; }

.section-label {
  margin: 0 0 20px;
  color: #aeb7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-copy p:last-child {
  max-width: 410px;
  margin: 24px 0 0;
  color: #bdc0cc;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }

label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

input, select { min-height: 50px; padding: 0 14px; }
textarea { min-height: 132px; padding: 14px; resize: vertical; }

input::placeholder, textarea::placeholder { color: #9297a7; }
select { color-scheme: dark; }

input:focus, select:focus, textarea:focus {
  border-color: #aeb7ff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 4px rgba(174, 183, 255, 0.14);
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.privacy-note {
  max-width: 250px;
  margin: 0;
  color: #969aa8;
  font-size: 0.72rem;
  line-height: 1.5;
}

.privacy-note a { text-underline-offset: 3px; }

.submit-button {
  display: inline-flex;
  min-width: 154px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(255, 73, 61, 0.23);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.submit-button:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(255, 73, 61, 0.32); }
.submit-button:active { transform: translateY(0); }
.submit-button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.submit-button::after { content: "↗"; font-size: 1.1rem; }

.form-status {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-status.success { display: block; background: rgba(65, 211, 142, 0.13); color: #9ef2c8; }
.form-status.error { display: block; background: rgba(255, 73, 61, 0.15); color: #ffb2ac; }
.honeypot { position: absolute; left: -9999px; }

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.65); }
  80%, 100% { opacity: 0; transform: scale(1.45); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .hero-copy { text-align: center; }
  .eyebrow, .status-row { justify-content: center; }
  .intro { margin-inline: auto; }
  .art-wrap { justify-self: center; width: min(78vw, 500px); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { max-width: 600px; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { padding-top: 18px; }
  .header-link { padding: 9px 12px; }
  .header-link span { display: none; }
  main { padding-top: 18px; }
  .hero { gap: 38px; min-height: auto; }
  h1 { font-size: clamp(3.4rem, 18vw, 5.4rem); }
  .art-wrap { width: 88vw; }
  .scribble { right: -10px; width: 68px; height: 68px; }
  .contact-section { margin-top: 80px; padding: 38px 18px 18px; border-radius: 26px; }
  .contact-copy { padding-inline: 8px; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .field-full, .form-footer, .form-status { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column-reverse; }
  .submit-button { width: 100%; }
  .privacy-note { max-width: none; text-align: center; }
  footer { align-items: center; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
