
/* SongulSongul Landing - HTML/CSS only (no server) */
/* Palette extracted from screenshots: primary #1C5CDC, navy #0C142C */

:root {
  --primary: #1C5CDC;
  --primary-2: #1A55C8;
  --navy: #0C142C;
  --ink: #0B1220;
  --paper: #F6F2EA;
  --paper-2: #FFF8EE;
  --accent: #FFE0B2;
  --line: rgba(11, 18, 32, 0.12);
  --shadow: 0 18px 50px rgba(11,18,32,0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(255,255,255,0.22), rgba(255,255,255,0) 60%),
    radial-gradient(900px 700px at 95% 10%, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--primary) 0%, #1A64E8 30%, #1652D1 55%, #0F3BA6 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a/* Store badges (official-style look) */
.store-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.store-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  background:#000;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transition: transform .15s ease, filter .15s ease;
}
.store-badge:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.store-badge:active{ transform: translateY(0px); filter: brightness(0.98); }
.store-badge .logo{ width:22px; height:22px; fill:#fff; opacity:0.95; flex:0 0 auto; }
.store-badge .text{ display:flex; flex-direction:column; line-height:1.05; }
.store-badge .top{
  font-size:10px;
  letter-spacing:0.08em;
  opacity:0.86;
}
.store-badge .top.lang-en{ text-transform:uppercase; }
.store-badge .bottom{
  font-size:14px;
  font-weight:900;
  letter-spacing:-0.02em;
}
@media (max-width: 520px){
  .store-badges{
    flex-direction:column;
    align-items:stretch;
    gap:0 !important; /* 세로에서는 gap 대신 margin으로 확실히 */
  }
  .store-badges > .store-badge{
    width:100%;
    justify-content:center;
  }
  .store-badges > .store-badge + .store-badge{
    margin-top:12px !important; /* 여기 값을 24px로 바꾸면 더 띄워짐 */
  }
}

/* Fallback spacing for older mobile browsers that don't support flex gap */
@supports not (gap: 12px) {
  @media (max-width: 520px){
    .store-badges{ gap: 0; }
    .store-badge + .store-badge{ margin-top: 24px; }
  }
}

.btn { cursor: pointer; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skiplink {
  position: absolute; left: -999px; top: -999px;
  background: white; padding: 10px 12px; border-radius: 10px;
}
.skiplink:focus { left: 12px; top: 12px; z-index: 9999; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 20, 44, 0.45);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand .mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.brand .mark img {
  width: 30px; height: 30px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.85);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 14px;
}
.nav a {
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover {
  background: rgba(255,255,255,0.12);
}

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}
.langswitch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.langswitch label {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  user-select: none;
}
#lang-ko:checked ~ .topbar label[for="lang-ko"],
#lang-en:checked ~ .topbar label[for="lang-en"] {
  background: rgba(255,255,255,0.22);
  color: white;
}

.hero {
  padding: 56px 0 30px;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,224,178,0.12);
}

h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: white;
}
.lead {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 54ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.10);
  color: white;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.btn:hover {
  background: rgba(255,255,255,0.16);
}
.btn.primary {
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.10));
  border-color: rgba(255,255,255,0.28);
}
.btn .mini {
  display:block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}
.btn .big {
  display:block;
  font-size: 14px;
  font-weight: 900;
}
.btn svg {
  width: 18px; height: 18px; fill: white; opacity: 0.95;
}
.badge {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  opacity: 0.95;
}

.phone {
  width: min(420px, 100%);
  margin-inline: auto;
  border-radius: 42px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

.paper {
  position: relative;
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(255,255,255,0.82), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  margin-top: 18px;
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 80px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  overflow: hidden;
}
.paper::before {
  /* subtle paper grain using CSS gradients (no assets) */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03), rgba(0,0,0,0) 35%),
    radial-gradient(circle at 80% 40%, rgba(0,0,0,0.03), rgba(0,0,0,0) 35%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.015), rgba(0,0,0,0.015) 1px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 6px);
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

.section {
  padding: 56px 0;
}
.section .head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.section h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.section p.sub {
  margin: 10px 0 0;
  color: rgba(11,18,32,0.72);
  line-height: 1.7;
  max-width: 70ch;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(28,92,220,0.10);
  border: 1px solid rgba(28,92,220,0.18);
  color: rgba(12,20,44,0.9);
  font-size: 12px;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .section .head { grid-template-columns: 1fr; }
  .pills { justify-content: flex-start; }
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 34px rgba(11,18,32,0.08);
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(28,92,220,0.10);
  border: 1px solid rgba(28,92,220,0.18);
  margin-bottom: 12px;
}
.card .icon svg { width: 22px; height: 22px; fill: var(--primary); }

.card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0 0 12px;
  color: rgba(11,18,32,0.72);
  line-height: 1.65;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.level {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(11,18,32,0.04);
  border: 1px solid rgba(11,18,32,0.10);
  font-size: 12px;
  font-weight: 800;
}
.dots {
  display: inline-flex;
  gap: 4px;
  transform: translateY(0.5px);
}
.dots i {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(11,18,32,0.12);
}
.dots i.on {
  background: var(--primary);
}

.note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(11,18,32,0.62);
}

.shots {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: center;
}
@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; }
}

.gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
}
.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(12,20,44,0.18); border-radius: 999px; }
.gallery::-webkit-scrollbar-track { background: rgba(12,20,44,0.06); border-radius: 999px; }

.shot {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 26px;
  border: 1px solid rgba(11,18,32,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 36px rgba(11,18,32,0.10);
  padding: 10px;
  scroll-snap-align: start;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.quote {
  border-radius: var(--radius-lg);
  background: rgba(28,92,220,0.08);
  border: 1px solid rgba(28,92,220,0.16);
  padding: 16px 16px 14px;
}
.quote p {
  margin: 0;
  line-height: 1.8;
  color: rgba(12,20,44,0.86);
  font-weight: 650;
  letter-spacing: -0.01em;
}
.quote .who {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(12,20,44,0.65);
}

.footer {
  padding: 26px 0 46px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
}
.small {
  font-size: 12px;
  opacity: 0.85;
}
.sep {
  opacity: 0.55;
}

.pagepad {
  padding-bottom: 42px;
}

hr.soft {
  border: 0;
  height: 1px;
  background: rgba(11,18,32,0.10);
  margin: 22px 0;
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) {
  .kv { grid-template-columns: 1fr; }
}
.kv .tile {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  padding: 16px;
}
.kv .tile h4 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.kv .tile p {
  margin: 0;
  color: rgba(11,18,32,0.70);
  line-height: 1.7;
}
.kv .tag {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,224,178,0.55);
  border: 1px solid rgba(255,224,178,0.85);
  font-size: 12px;
  font-weight: 900;
  color: rgba(12,20,44,0.86);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Language toggle (CSS-only) ---------- */
.lang-ko { display: inline; }
.lang-en { display: none; }

#lang-en:checked ~ main .lang-ko,
#lang-en:checked ~ footer .lang-ko {
  display: none !important;
}
#lang-en:checked ~ main .lang-en,
#lang-en:checked ~ footer .lang-en {
  display: inline !important;
}

#lang-ko:checked ~ main .lang-ko,
#lang-ko:checked ~ footer .lang-ko {
  display: inline !important;
}
#lang-ko:checked ~ main .lang-en,
#lang-ko:checked ~ footer .lang-en {
  display: none !important;
}

/* make block language containers behave */
.block .lang-ko, .block .lang-en { display: block; }
#lang-en:checked ~ main .block .lang-ko { display: none !important; }
#lang-en:checked ~ main .block .lang-en { display: block !important; }



/* language-aware images (keep them block-level) */
.lang-img { display: block; }
#lang-en:checked ~ main .lang-ko.lang-img { display: none !important; }
#lang-en:checked ~ main .lang-en.lang-img { display: block !important; }
#lang-ko:checked ~ main .lang-ko.lang-img { display: block !important; }
#lang-ko:checked ~ main .lang-en.lang-img { display: none !important; }

.cta .btn{ background: var(--navy); color:#fff; }
.cta .btn svg{ fill:#fff; }
