/* ============================================
   공용 - accent 텍스트, split layout, phone frame
   ============================================ */
.accent {
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--accent-teal) 60%, var(--leaf-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-layout.reversed .split-visual { order: -1; }
@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .split-layout.reversed .split-visual { order: 0; }
}

.phone-frame {
  position: relative;
  border: 8px solid #1a1a1a;
  border-radius: 40px;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  margin: 0 auto;
}
.phone-frame-lg { max-width: 320px; }
.phone-frame-md { max-width: 260px; }
.phone-frame-sm { max-width: 220px; }
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
}
.phone-screen img {
  width: 100%;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 5;
}

/* 개인정보 흐림 오버레이 (공통) */
.privacy-blur {
  position: absolute;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  pointer-events: none;
}
.privacy-blur-name-header {
  top: 3.5%;
  left: 20%;
  width: 45%;
  height: 4.5%;
}

/* ============================================
   브랜드 선언
   ============================================ */
.brand-statement {
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 12vw, 140px);
}
.brand-statement-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.brand-statement-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-wrap: balance;
}
.brand-statement-body {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 60ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.brand-bubbles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(10px);
  max-width: 780px;
  margin: 0 auto;
}
.bubble-morph {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 101, 101, 0.10);
  border: 1px solid var(--border-hairline);
  animation: bubble-fade 3.2s ease-in-out infinite;
  min-width: 200px;
  justify-content: center;
}
.bubble-morph .flag { font-size: 20px; line-height: 1; }
.bubble-left { animation-delay: 0s; }
.bubble-right {
  animation-delay: 0.3s;
  background: var(--deep-teal);
  color: #fff;
  border-color: transparent;
}
@keyframes bubble-fade {
  0%, 100% { opacity: 0; transform: translateY(6px); }
  15%, 85% { opacity: 1; transform: translateY(0); }
}
.link-line {
  width: 200px;
  height: 40px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .brand-bubbles { flex-direction: column; gap: 12px; }
  .link-line { transform: rotate(90deg); width: 120px; }
  .bubble-morph { min-width: auto; }
}

/* ============================================
   실시간 번역 섹션
   ============================================ */
.translation .split-visual { position: relative; }
.side-label {
  position: absolute;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 101, 101, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-hairline);
}
.side-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.side-label-a {
  top: 15%;
  left: -8%;
  animation: side-float 4s ease-in-out infinite;
}
.side-label-b {
  bottom: 25%;
  right: -8%;
  animation: side-float 4s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes side-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 900px) {
  .side-label-a { left: 0; top: 5%; }
  .side-label-b { right: 0; bottom: 5%; }
}

.feature-list {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.feature-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.9);
}
.feature-icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 101, 101, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

/* ============================================
   말투 조절 섹션
   ============================================ */
.tone-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lift);
  max-width: 480px;
  margin: 0 auto;
}
.tone-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.tone-tab {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  min-height: 40px;
}
.tone-tab:hover { color: var(--text-primary); }
.tone-tab.is-active {
  background: #fff;
  color: var(--tab-color, var(--deep-teal));
  box-shadow: 0 4px 12px rgba(0, 101, 101, 0.10);
}

.tone-preview {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
}
.tone-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.tone-flag { font-size: 18px; }
.tone-preview-bubble {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: 16px;
  color: var(--text-primary);
  border-left: 4px solid var(--deep-teal);
  animation: tone-in 0.4s ease-out;
  line-height: 1.5;
}
@keyframes tone-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tone-preview-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

.tone-profile-hint {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.tone-profile-hint img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border-hairline);
}
.privacy-blur-avatar {
  top: 24px;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
}
.tone-profile-caption {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
