/* ============ 이따 랜딩 — www.getitta.com ============ */

:root {
  --bg: #141218;
  --surface: #1F1C26;
  --surface-high: #2B2733;
  --border: #2B2733;
  --text: #FFFFFF;
  --text-secondary: #8F8A9B;
  --text-muted: #5C5766;
  --accent: #7B6EF6;
  --accent-light: #A59EFF;
  --warm: #FFC9A3;
  --glass: rgba(31, 28, 38, 0.55);
  --glass-border: rgba(255, 255, 255, 0.07);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Gradient text */
.grad {
  font-style: normal;
  background: linear-gradient(115deg, var(--accent-light) 10%, var(--accent) 55%, var(--warm) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(123, 110, 246, 0.32);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123, 110, 246, 0.55);
}

.btn-secondary {
  background: rgba(43, 39, 51, 0.75);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: #363140;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 12px; }

.apple-logo { margin-top: -2px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 24, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(43, 39, 51, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-icon { border-radius: 7px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

/* ============ Hero + Aurora ============ */
.hero {
  padding: 88px 0 56px;
  position: relative;
  isolation: isolate;
}
.aurora {
  position: absolute;
  inset: -220px 0 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.aurora-1 {
  width: 640px; height: 520px;
  left: 8%; top: 0;
  background: radial-gradient(circle at 40% 40%, rgba(123, 110, 246, 0.30), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 560px; height: 480px;
  right: -6%; top: 120px;
  background: radial-gradient(circle at 60% 40%, rgba(165, 158, 255, 0.20), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 460px; height: 420px;
  left: 42%; top: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 201, 163, 0.10), transparent 65%);
  animation: drift3 38s ease-in-out infinite alternate;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(-80px, 40px) scale(0.95); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, -60px) scale(1.15); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
}
.hero-mascot {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-title {
  font-size: clamp(36px, 5.6vw, 58px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.68;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-tilt {
  perspective: 1400px;
}
.phone-tilt .phone {
  transform: rotateY(-9deg) rotateX(2.5deg) rotateZ(0.5deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-tilt:hover .phone { transform: rotateY(-3deg) rotateX(1deg); }

.phone {
  position: relative;
  width: min(300px, 76vw);
  border-radius: 44px;
  background: #0B0A0E;
  border: 1px solid #38333F;
  box-shadow:
    0 0 0 6px #0B0A0E,
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 10px 34px rgba(123, 110, 246, 0.16);
  overflow: hidden;
}
.phone img { width: 100%; border-radius: 38px; }
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0B0A0E;
  border-radius: 999px;
  z-index: 2;
}
.phone-sm { width: min(260px, 70vw); border-radius: 38px; }
.phone-sm img { border-radius: 32px; }
.phone-sm .phone-notch { height: 19px; }

/* ============ Sections shared ============ */
section { padding: 104px 0; }
.section-eyebrow {
  color: var(--accent-light);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.section-title {
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}
.section-sub {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 560px;
}

/* ============ Bento (How it works) ============ */
.bento {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bento-card:hover { border-color: rgba(123, 110, 246, 0.35); }
.bento-big {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-bottom: 0;
}
.bento-head { display: flex; flex-direction: column; gap: 13px; }
.bento-phone {
  margin: 26px auto 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  box-shadow:
    0 0 0 6px #0B0A0E,
    0 -18px 60px rgba(123, 110, 246, 0.12);
}
.bento-phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(123, 110, 246, 0.16);
  color: var(--accent-light);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.bento-card > p, .bento-head > p { color: var(--text-secondary); font-size: 15px; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chip {
  background: var(--surface-high);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}

/* notification crop (top slice of screenshot 03) */
.notif-crop {
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 640 / 190;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.notif-crop img {
  width: 100%;
  transform: translateY(-4.2%);
}

/* speech bubble */
.speech {
  display: flex;
  align-items: center;
  gap: 10px;
}
.speech img { flex-shrink: 0; border-radius: 50%; }
.speech span {
  background: var(--surface-high);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.speech.mini { margin-top: 4px; }

/* ============ Persona ============ */
.persona { text-align: center; }
.persona .section-sub { margin-left: auto; margin-right: auto; }
.persona-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.persona-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  padding: 36px 26px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.persona-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(123, 110, 246, 0.45);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32), 0 8px 30px rgba(123, 110, 246, 0.14);
}
.persona-emoji { font-size: 44px; line-height: 1; }
.persona-card h3 { font-size: 20px; font-weight: 800; }
.bubble {
  position: relative;
  background: var(--surface-high);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-top: 6px;
}
.bubble::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--surface-high);
  border-radius: 3px;
}
.persona-shot { margin: 36px auto 0; max-width: 440px; }
.settings-crop {
  aspect-ratio: 640 / 255;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}
.settings-crop img { width: 100%; transform: translateY(-13.8%); }
.persona-caption {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.bubble-friend { color: var(--warm); }
.bubble-mom { color: #FFD9E8; }
.bubble-butler { color: var(--accent-light); }

/* ============ Lazy / Gamification ============ */
.lazy {
  background: linear-gradient(180deg, transparent, rgba(31, 28, 38, 0.5) 18%, rgba(31, 28, 38, 0.5) 82%, transparent);
}
.lazy-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 56px;
}
.lazy-list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.lazy-list li { display: flex; gap: 16px; align-items: flex-start; }
.lazy-icon {
  font-size: 24px;
  line-height: 1;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  flex-shrink: 0;
}
.lazy-list strong { font-size: 17px; font-weight: 800; display: block; margin-bottom: 3px; }
.lazy-list p { color: var(--text-secondary); font-size: 15px; }
.speech.tired { margin-top: 36px; }
.speech.tired span {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  color: var(--warm);
  font-size: 15px;
}
.lazy-visual { display: flex; justify-content: center; }

/* ============ FAQ ============ */
.faq-container { max-width: 760px; }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(123, 110, 246, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(123, 110, 246, 0.16);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  background: var(--accent-light);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item > p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ Final CTA ============ */
.final-cta { padding: 110px 0 120px; }
.final-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.final-mascot {
  width: 130px;
  height: 130px;
  animation: bob 4.5s ease-in-out infinite;
}
.final-inner h2 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin-top: 12px;
}
.final-inner .hero-cta { justify-content: center; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 52px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 13px; }

/* ============ Scroll reveal ============ */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  .hero-mascot, .final-mascot, .aurora-blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-big { grid-column: auto; grid-row: auto; }
  .persona-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 820px) {
  section { padding: 72px 0; }

  .hero { padding: 56px 0 32px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-mascot { margin: 0 auto 8px; width: 118px; height: 118px; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .phone-tilt .phone { transform: none; }
  .section-sub { max-width: none; }

  .aurora-1 { left: -20%; width: 480px; }
  .aurora-2 { right: -30%; width: 420px; }

  .lazy-inner { grid-template-columns: 1fr; gap: 48px; }

  .final-cta { padding: 84px 0 92px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-title { font-size: 34px; }
  .bento-card { padding: 28px 22px; }
  .bento-big { padding-bottom: 0; }
  .footer-links { gap: 16px; }
}
