/* ══════════════════════════════════════════════
   오늘의 운명 — AI 운세상담소 분양 랜딩
   ══════════════════════════════════════════════ */

:root{
  /* 배경 */
  --bg-cream:   #fdf5f3;
  --bg-lilac:   #f2ebf8;
  --bg-blush:   #f7eaee;
  --page-frame: #e9b6b4;

  /* 잉크 */
  --ink:        #3b2f5c;
  --ink-2:      #6a5d88;
  --ink-3:      #8d84a6;

  /* 브랜드 */
  --purple:      #6f5ca8;
  --purple-deep: #4b3d78;
  --purple-dark: #3b2f66;
  --lilac:       #a891d6;
  --lilac-soft:  #cdb6e6;
  --gold:        #e0ae62;
  --gold-soft:   #f0d4a4;
  --peach:       #eeb5ab;
  --peach-soft:  #f7d3cb;

  /* 표면 */
  --card:        #ffffff;
  --card-soft:   #fdf8fa;
  --line:        #ece3f3;

  --radius:      18px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 10px rgba(90,66,140,.06);
  --shadow:      0 10px 30px rgba(90,66,140,.10);
  --shadow-lg:   0 22px 60px rgba(75,61,120,.18);

  --wrap:        1180px;
}

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

html{ scroll-behavior:smooth; scroll-padding-top:88px; }

body{
  margin:0;
  font-family:"Pretendard","Pretendard Variable",-apple-system,BlinkMacSystemFont,
              "Malgun Gothic","맑은 고딕","Apple SD Gothic Neo",system-ui,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1200px 700px at 12% 6%,  #fdeee9 0%, transparent 60%),
    radial-gradient(1000px 800px at 88% 20%, #ece2f7 0%, transparent 62%),
    linear-gradient(180deg,#fdf5f3 0%, #f4edf8 45%, #f6ecf1 100%);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  letter-spacing:-.01em;
  overflow-x:hidden;
}

img,svg{ max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; border:0; background:none; color:inherit; }
ul,ol{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; line-height:1.3; letter-spacing:-.025em; }
p{ margin:0; }

.wrap{ width:min(100% - 40px, var(--wrap)); margin-inline:auto; }

/* ─────────── 버튼 ─────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.4em;
  padding:14px 30px; border-radius:999px;
  font-weight:700; font-size:15px; white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-sm{ padding:11px 22px; font-size:14px; }

.btn-primary{
  background:linear-gradient(135deg,#6f5ca8,#8a6fbe 55%,#a279c4);
  color:#fff; box-shadow:0 8px 20px rgba(111,92,168,.32);
}
.btn-primary:hover{ box-shadow:0 12px 26px rgba(111,92,168,.42); }

.btn-peach{
  background:linear-gradient(135deg,#f8d6cd,#eeb0a5);
  color:#7a4a48; box-shadow:0 8px 18px rgba(228,157,146,.35);
}
.btn-purple{
  background:linear-gradient(135deg,#6f5ca8,#5a4a90);
  color:#fff; box-shadow:0 10px 24px rgba(91,74,144,.32);
}
.btn-purple .ext{ font-size:13px; opacity:.85; }

/* ─────────── 헤더 ─────────── */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(253,247,246,.82);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid rgba(233,214,226,.7);
  transition:box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled{ box-shadow:0 6px 24px rgba(120,95,160,.10); background:rgba(253,247,246,.94); }

.header-inner{ display:flex; align-items:center; gap:24px; height:72px; }

.logo{ display:flex; align-items:flex-start; gap:2px; margin-right:auto; }
.logo-text{
  font-size:23px; font-weight:800; letter-spacing:-.04em;
  background:linear-gradient(120deg,#4b3d78,#7b5ea8 60%,#b07f9e);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.logo-mark{ width:26px; height:26px; margin-top:-4px; }

.nav{ display:flex; gap:34px; margin-right:auto; }
.nav a{
  position:relative; font-size:15.5px; font-weight:600; color:#4a3d6b; padding:6px 0;
  transition:color .18s ease;
}
.nav a::after{
  content:""; position:absolute; left:50%; bottom:0; width:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg,var(--purple),var(--peach));
  transform:translateX(-50%); transition:width .22s ease;
}
.nav a:hover{ color:var(--purple); }
.nav a:hover::after{ width:100%; }

.nav-toggle{ display:none; width:40px; height:36px; padding:8px; }
.nav-toggle span{ display:block; height:2px; border-radius:2px; background:#5b4a86; margin:4px 0; transition:.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero{
  position:relative; overflow:hidden;
  padding:52px 0 34px;
  background:
    radial-gradient(760px 520px at 22% 42%, rgba(150,118,200,.50) 0%, transparent 66%),
    radial-gradient(700px 470px at 78% 22%, rgba(252,231,227,.80) 0%, transparent 60%),
    linear-gradient(168deg,#f8edf0 0%, #e7d9f1 30%, #cbb8e4 58%, #ad95d2 84%, #a189c9 100%);
}
.hero-bg{ position:absolute; inset:0; pointer-events:none; }
.cloud{
  position:absolute; border-radius:50%;
  background:radial-gradient(circle at 40% 40%, rgba(255,255,255,.5), rgba(255,255,255,0) 70%);
  filter:blur(2px);
}
.cloud-a{ width:340px; height:180px; left:-60px; bottom:16%; }
.cloud-b{ width:260px; height:140px; right:6%;   top:18%; }
.cloud-c{ width:400px; height:200px; right:-80px; bottom:8%; }

.hero-grid{
  position:relative;
  display:grid; grid-template-columns:1fr 1.06fr; gap:36px; align-items:center;
}

/* 조디악 아트 */
.hero-art{ display:flex; justify-content:center; }
.zodiac{ width:min(100%, 520px); filter:drop-shadow(0 0 40px rgba(255,225,190,.35)); }
/* 별자리 기호 · 십이지 한자는 전용 폴백 폰트로 (서브셋 폰트에 글리프 없음) */
.zodiac-signs{ font-family:"Segoe UI Symbol","Apple Symbols","Noto Sans Symbols 2","Segoe UI",serif; }
.branch-signs{ font-family:"Malgun Gothic","맑은 고딕","Batang","바탕","Apple SD Gothic Neo",serif; }
.spin-slow{ animation:spin 120s linear infinite; }
.spin-rev { animation:spin 90s linear infinite reverse; }
.sunburst { animation:spin 200s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.planet{ animation:float 9s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

/* 카피 */
.hero-copy{ padding-right:4px; }
.badge{
  display:inline-block; padding:7px 18px; border-radius:999px;
  background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.85);
  color:#6b5490; font-size:13.5px; font-weight:700;
  box-shadow:0 4px 14px rgba(120,95,160,.12); backdrop-filter:blur(6px);
}
.hero-copy h1{
  margin:18px 0 16px;
  font-size:clamp(30px, 3.6vw, 48px); font-weight:800; letter-spacing:-.045em;
  color:#33265c; text-shadow:0 2px 18px rgba(255,255,255,.45);
}
.hero-copy h1 em{
  font-style:normal;
  background:linear-gradient(120deg,#5b3fa8,#8a5fc4);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{ font-size:17px; color:#4b3f6e; line-height:1.75; }
.hero-sub strong{ font-weight:700; color:#3b2f5c; }

/* 데모 카드 */
.demo-card{
  margin-top:26px; padding:20px 22px 22px;
  border-radius:var(--radius-lg);
  background:linear-gradient(150deg, rgba(78,64,116,.90), rgba(60,48,94,.92));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:var(--shadow-lg);
  backdrop-filter:blur(10px);
}
.demo-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.demo-head h2{ font-size:17px; font-weight:700; color:#fdf6f0; }
.demo-note{ font-size:12.5px; color:#cbbde4; }

.demo-fields{ display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.field{ display:flex; flex-direction:column; gap:6px; flex:1 1 118px; min-width:0; }
.field > span{ font-size:12.5px; color:#d3c7ea; font-weight:600; padding-left:2px; }
.field input, .field select{
  width:100%; padding:11px 12px; border-radius:11px;
  border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.94);
  color:#3b2f5c; font-size:14.5px; font-weight:600; font-family:inherit;
  transition:box-shadow .18s ease, border-color .18s ease;
}
.field input:focus, .field select:focus{
  outline:none; border-color:#c7a9e6; box-shadow:0 0 0 3px rgba(199,169,230,.35);
}
.field select{ appearance:none; background-image:
  linear-gradient(45deg,transparent 50%,#7a6ba0 50%),
  linear-gradient(135deg,#7a6ba0 50%,transparent 50%);
  background-position:calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
  padding-right:32px;
}
.demo-submit{ flex:0 0 auto; padding:12px 26px; height:44px; }

/* 서비스 칩 */
.service-chips{
  position:relative; margin-top:34px;
  display:grid; grid-template-columns:repeat(6,1fr); gap:12px;
}
.service-chips li{
  display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto;
  column-gap:10px; align-items:center;
  padding:14px 14px; border-radius:16px;
  background:linear-gradient(150deg, rgba(96,78,150,.42), rgba(72,58,120,.34));
  border:1px solid rgba(255,255,255,.30);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor:default;
}
.service-chips li:hover{
  transform:translateY(-4px);
  background:linear-gradient(150deg, rgba(112,92,172,.55), rgba(84,68,138,.48));
  box-shadow:0 12px 26px rgba(60,44,110,.28), inset 0 1px 0 rgba(255,255,255,.3);
}
.chip-ico{ grid-row:1 / span 2; display:grid; place-items:center; width:36px; height:36px; }
.chip-ico svg{ width:26px; height:26px; fill:none; stroke:#f0cfa2; stroke-width:1.5; }
.service-chips b{ font-size:14.5px; font-weight:700; color:#fdf3ec; align-self:end; }
.service-chips i{ font-style:normal; font-size:11.5px; color:#e2d3ea; line-height:1.35; }

/* ═══════════════ 섹션 공통 ═══════════════ */
.section{ position:relative; padding:66px 0; }

.section-title{
  display:flex; align-items:center; justify-content:center; gap:14px;
  margin-bottom:38px;
  font-size:clamp(22px, 2.4vw, 30px); font-weight:800; color:#3a2d63;
}
.section-title .deco{ font-style:normal; color:var(--gold); font-size:.65em; opacity:.75; }

.grid{ display:grid; gap:18px; }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-6{ grid-template-columns:repeat(6,1fr); }

.card{
  background:linear-gradient(170deg,#fffdfd,#fbf5f9);
  border:1px solid rgba(255,255,255,.9);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  text-align:center;
  transition:transform .24s ease, box-shadow .24s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }

.illust{ display:grid; place-items:center; height:110px; }
.illust svg{ width:96px; height:96px; filter:drop-shadow(0 6px 14px rgba(110,86,160,.20)); }
.illust.sm{ height:78px; }
.illust.sm svg{ width:60px; height:60px; }

/* 추천 대상 */
.section-recommend{
  background:linear-gradient(180deg,#fbeeee 0%, #f8eef4 50%, #f1e6f4 100%);
}
.card-recommend{ padding:26px 18px 28px; }
.card-recommend h3{ font-size:19px; font-weight:800; margin-bottom:10px; color:#37295f; }
.card-recommend p{ font-size:14px; color:var(--ink-2); line-height:1.65; }

/* 제공 항목 */
.section-benefits{
  background:linear-gradient(180deg,#f2e9f6 0%, #f7eff6 100%);
}
.card-benefit{ padding:22px 12px 24px; }
.card-benefit h3{ font-size:15.5px; font-weight:800; margin-bottom:8px; color:#37295f; }
.card-benefit p{ font-size:12.5px; color:var(--ink-2); line-height:1.6; }

/* ─────────── 4단계 ─────────── */
.section-steps{
  overflow:hidden;
  background:linear-gradient(180deg,#f7eff7 0%, #f4ebf6 60%, #efe6f5 100%);
}
.steps-bg{ position:absolute; inset:0; pointer-events:none; }
.steps-bg .moon{
  position:absolute; left:5%; bottom:14%; width:118px; height:118px;
  background:radial-gradient(circle at 62% 38%, transparent 52%, #f3ddb4 53%);
  border-radius:50%; opacity:.75; filter:blur(.3px);
}
.steps{
  position:relative;
  display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  align-items:start; gap:8px;
}
.step{ text-align:center; padding:0 6px; }
.step-ico{
  width:78px; height:78px; margin:0 auto 16px;
  display:grid; place-items:center; border-radius:50%;
  background:linear-gradient(160deg,#fff,#f3ebfa);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 10px 26px rgba(110,86,160,.16), inset 0 0 0 6px rgba(255,255,255,.55);
}
.step-ico svg{ width:42px; height:42px; }
.step h3{ font-size:16.5px; font-weight:800; margin-bottom:8px; color:#37295f; }
.step:nth-of-type(5) h3{ color:#a2657e; }   /* 3. 고객 결제 — 디자인상 포인트 컬러 */
.step p{ font-size:12.8px; color:var(--ink-2); line-height:1.6; }

.step-arrow{ display:grid; place-items:center; padding-top:38px; }
.step-arrow span{
  display:block; position:relative; width:78px; height:1.6px;
  background:linear-gradient(90deg, rgba(226,168,148,0), #e0a893);
}
.step-arrow span::after{
  content:""; position:absolute; right:-1px; top:50%;
  width:7px; height:7px; border-top:1.6px solid #e0a893; border-right:1.6px solid #e0a893;
  transform:translateY(-50%) rotate(45deg);
}

/* ─────────── 대시보드 ─────────── */
.section-dashboard{
  background:linear-gradient(150deg,#efe7f6 0%, #e6dcf2 40%, #ddd0ec 100%);
}
.dash-grid{ display:grid; grid-template-columns:300px 1fr; gap:34px; align-items:center; }

.dash-copy h2{ font-size:clamp(22px,2.2vw,28px); font-weight:800; margin-bottom:14px; color:#33265c; }
.dash-copy > p{ font-size:14.5px; color:#5a4d80; line-height:1.75; margin-bottom:22px; }
.check-list{ display:grid; gap:12px; margin-bottom:26px; }
.check-list li{
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; font-weight:600; color:#4e416f;
}
.check-list li::before{
  content:"✓"; flex:0 0 auto;
  width:21px; height:21px; border-radius:50%;
  border:1.4px solid #a58fd0; color:#7a63b4;
  display:grid; place-items:center; font-size:11px; font-weight:800;
}

.dash-mock{ position:relative; display:flex; align-items:center; }

.admin{
  flex:1; display:grid; grid-template-columns:150px 1fr;
  border-radius:16px; overflow:hidden;
  background:#fdf9fb; box-shadow:var(--shadow-lg);
  min-width:0;
}
.admin-side{ background:linear-gradient(180deg,#463a72,#3a2f60); padding:16px 10px; color:#e6ddf5; }
.admin-brand{ display:flex; align-items:center; gap:8px; padding:0 6px 16px; }
.brand-dot{ color:var(--gold-soft); font-size:15px; }
.admin-brand b{ display:block; font-size:12.5px; color:#fdf3e6; }
.admin-brand i{ font-style:normal; font-size:10px; color:#b4a5d6; }
.admin-side nav{ display:grid; gap:2px; }
.admin-side nav a{
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 10px; border-radius:8px; font-size:11.5px; color:#c9bce6;
}
.admin-side nav a em{ font-style:normal; opacity:.6; }
.admin-side nav a.on{ background:linear-gradient(90deg,#6a58a0,#5a4a90); color:#fff; font-weight:700; }

.admin-body{ padding:14px 16px 16px; min-width:0; }
.admin-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.admin-top h3{ font-size:15px; font-weight:800; color:#3b2f5c; }
.admin-top-right{ display:flex; align-items:center; gap:7px; }
.date-pill{
  font-size:10px; color:#6a5d88; padding:5px 10px; border-radius:7px;
  border:1px solid var(--line); background:#fff;
}
.date-pill b{ color:#b0a3c8; font-weight:400; }
.report-pill{
  font-size:10.5px; font-weight:700; color:#fff; padding:6px 11px; border-radius:7px;
  background:linear-gradient(135deg,#8d78bf,#6f5ca8);
}

.kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:11px; }
.kpi{
  padding:10px 11px; border-radius:11px; background:#fff;
  border:1px solid var(--line); box-shadow:var(--shadow-sm); min-width:0;
}
.kpi > span{ display:block; font-size:9.5px; color:#8d84a6; margin-bottom:4px; }
.kpi > b{ display:block; font-size:15px; font-weight:800; color:#33265c; letter-spacing:-.03em; white-space:nowrap; }
.kpi > b small{ font-size:9.5px; font-weight:600; color:#7a6ba0; margin-left:2px; }
.kpi > i{ display:block; font-style:normal; font-size:9px; margin-top:4px; }
.kpi .up{ color:#c98a94; }
.kpi .up em{ font-style:normal; color:#a99cc0; }

.panels{ display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:9px; }
.panel{
  padding:11px 12px; border-radius:11px; background:#fff;
  border:1px solid var(--line); box-shadow:var(--shadow-sm); min-width:0;
}
.panel h4{
  font-size:11px; font-weight:800; color:#3b2f5c; margin-bottom:9px;
  display:flex; align-items:center; justify-content:space-between;
}
.panel .more{ font-size:9px; font-weight:500; color:#a99cc0; }
.line-chart{ width:100%; height:92px; }
.spark{ stroke-dasharray:900; stroke-dashoffset:900; }
.reveal.in .spark{ animation:draw 1.6s ease .2s forwards; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
.axis-x{ display:flex; justify-content:space-between; font-size:8px; color:#a99cc0; padding:0 4px; margin-top:2px; }

.donut-row{ display:flex; align-items:center; gap:10px; }
.donut{ width:76px; height:76px; flex:0 0 auto; transform:rotate(-90deg); }
.d-seg{ fill:none; stroke-width:6.5; }
.legend{ display:grid; gap:6px; font-size:9px; color:#6a5d88; min-width:0; }
.legend li{ display:flex; align-items:center; gap:5px; white-space:nowrap; }
.legend i{ width:6px; height:6px; border-radius:50%; flex:0 0 auto; }
.legend b{ margin-left:auto; color:#3b2f5c; font-weight:700; }

.orders{ display:grid; gap:8px; }
.orders li{ display:flex; align-items:center; gap:7px; font-size:9.5px; color:#4e416f; white-space:nowrap; }
.orders .ava{
  width:16px; height:16px; border-radius:50%; flex:0 0 auto;
  background:linear-gradient(135deg,#cdb6e6,#a891d6); color:#fff;
  display:grid; place-items:center; font-size:8px;
}
.orders b{ margin-left:auto; font-weight:700; color:#33265c; }

/* 모바일 목업 */
.phone{
  flex:0 0 152px; margin-left:-18px; align-self:center;
  border-radius:22px; padding:10px 9px 8px;
  background:linear-gradient(170deg,#fdf7f8,#f5edf7);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 24px 50px rgba(75,61,120,.24);
}
.phone-top{ display:flex; align-items:center; justify-content:space-between; font-size:9px; color:#6a5d88; padding:2px 4px 8px; }
.phone-top b{ font-size:10px; color:#3b2f5c; }
.phone-hero{
  border-radius:13px; padding:11px 12px;
  background:linear-gradient(150deg,#cdbde8,#b9a5dd);
  color:#fff; margin-bottom:8px;
}
.phone-hero i{ display:block; font-style:normal; font-size:8.5px; opacity:.85; }
.phone-hero b{ display:block; font-size:14px; font-weight:800; letter-spacing:-.03em; margin-bottom:6px; }
.phone-hero b.sm{ font-size:12.5px; margin-bottom:0; }
.phone-chart{ width:100%; height:44px; }
.phone-tags{ display:flex; gap:4px; margin:6px 0 8px; }
.phone-tags span{ font-size:8px; padding:3px 7px; border-radius:999px; background:#f0e8f6; color:#7a6ba0; }
.phone-tags .on{ background:linear-gradient(135deg,#eeb5ab,#e39b93); color:#fff; }
.phone-nav{ display:flex; justify-content:space-between; padding:6px 6px 0; border-top:1px solid var(--line); font-size:11px; color:#a99cc0; }

/* ─────────── 가격 ─────────── */
.section-pricing{
  background:linear-gradient(170deg,#e9dff3 0%, #ded1ee 44%, #e7d9ec 100%);
}
.plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }

.plan{
  position:relative; padding:30px 26px 28px; border-radius:var(--radius-lg);
  background:linear-gradient(175deg,rgba(255,255,255,.92),rgba(252,245,250,.86));
  border:1px solid rgba(255,255,255,.9);
  box-shadow:var(--shadow); text-align:center;
  backdrop-filter:blur(6px);
  transition:transform .24s ease, box-shadow .24s ease;
}
.plan:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }

.plan-featured{
  border:1.6px solid #eab9ac;
  background:linear-gradient(175deg,rgba(255,252,252,.97),rgba(252,242,246,.94));
  box-shadow:0 20px 50px rgba(120,90,150,.20);
  transform:scale(1.03);
}
.plan-featured:hover{ transform:scale(1.03) translateY(-6px); }

.ribbon{
  position:absolute; top:-14px; right:22px;
  padding:6px 18px; border-radius:999px;
  background:linear-gradient(135deg,#5b4a90,#463a72);
  color:#fff; font-size:12.5px; font-weight:700;
  box-shadow:0 6px 16px rgba(70,58,114,.35);
}

.plan header{ margin-bottom:18px; }
.plan h3{ display:flex; align-items:baseline; justify-content:center; gap:9px; margin-bottom:8px; }
.plan-en{
  font-family:Georgia,"Times New Roman",serif; font-size:27px; font-weight:700;
  letter-spacing:0; color:#5c4a8c;
}
.plan-featured .plan-en{ color:#4b3d78; }
.plan-ko{ font-size:13px; font-weight:700; color:#a58fc4; }
.plan header p{ font-size:13px; color:var(--ink-2); }

.price{
  padding:16px 10px; border-radius:15px; margin-bottom:20px;
  background:linear-gradient(160deg,#fffdfd,#f8f1f7);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 3px 10px rgba(110,86,160,.06);
}
.price span{ font-size:15px; font-weight:700; color:#4b3d78; }
.price b{ font-size:31px; font-weight:800; color:#33265c; letter-spacing:-.04em; }

.plan ul{ display:grid; gap:10px; margin-bottom:24px; text-align:left; padding-left:8px; }
.plan ul li{ display:flex; align-items:flex-start; gap:9px; font-size:14px; color:#4e416f; }
.plan ul li::before{ content:"✓"; color:#b899cd; font-weight:800; font-size:13px; line-height:1.5; }
.plan-featured ul li::before{ color:#e0a08f; }

.btn-plan{
  width:100%; padding:14px; border-radius:12px; font-weight:700; font-size:15px;
  background:linear-gradient(135deg,#d9c9ea,#c3aede); color:#fff;
  box-shadow:0 6px 16px rgba(150,125,195,.28);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-plan:hover{ transform:translateY(-2px); filter:brightness(1.04); }
.btn-plan-strong{
  background:linear-gradient(135deg,#5b4a90,#463a72); color:#fff;
  box-shadow:0 8px 20px rgba(70,58,114,.34);
}

/* ─────────── 최종 CTA ─────────── */
.final-cta{
  padding:44px 0;
  background:
    radial-gradient(600px 260px at 18% 50%, rgba(160,135,205,.45) 0%, transparent 70%),
    linear-gradient(120deg,#4e4179 0%, #56487f 50%, #5f5089 100%);
  color:#fff;
}
.cta-inner{ display:grid; grid-template-columns:auto 1fr auto; gap:32px; align-items:center; }
.cta-orb svg{ width:132px; height:132px; filter:drop-shadow(0 0 30px rgba(255,225,180,.35)); }
.cta-text h2{ font-size:clamp(21px,2.3vw,29px); font-weight:800; margin-bottom:12px; letter-spacing:-.035em; }
.cta-text p{ font-size:15px; color:#ddd3ee; line-height:1.7; }
.cta-action{ text-align:center; }
.btn-cta{
  padding:16px 40px; border-radius:999px; font-size:16.5px; font-weight:800;
  background:linear-gradient(110deg,#f7cfc6 0%, #e6c1d5 48%, #c9b3e8 100%);
  color:#4b3163; border:1px solid rgba(255,255,255,.55);
  box-shadow:0 12px 30px rgba(20,10,50,.28);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn-cta:hover{ transform:translateY(-3px); box-shadow:0 18px 38px rgba(20,10,50,.36); }
.cta-action small{ display:block; margin-top:12px; font-size:12.5px; color:#d3c8e8; }

/* ─────────── 푸터 ─────────── */
.site-footer{ padding:26px 0; background:#3d3265; color:#b9adda; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.site-footer nav{ display:flex; gap:22px; font-size:13.5px; }
.site-footer nav a:hover{ color:#fff; }
.site-footer p{ font-size:12.5px; color:#8d81b0; }

/* ─────────── 모달 ─────────── */
.modal{ position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; }
.modal[hidden]{ display:none; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(45,32,75,.55); backdrop-filter:blur(4px); animation:fade .2s ease; }
.modal-panel{
  position:relative; width:min(100%,540px); max-height:86vh; overflow-y:auto;
  padding:34px 32px; border-radius:26px;
  background:linear-gradient(170deg,#fffdfd,#f7effa);
  box-shadow:0 30px 80px rgba(45,32,75,.4);
  animation:pop .28s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes fade{ from{ opacity:0; } }
@keyframes pop{ from{ opacity:0; transform:translateY(18px) scale(.96); } }
.modal-x{
  position:absolute; top:16px; right:18px; width:32px; height:32px; border-radius:50%;
  color:#8d84a6; font-size:15px; transition:background .18s ease;
}
.modal-x:hover{ background:#f0e8f6; }

.res-head{ text-align:center; margin-bottom:22px; }
.res-head .res-sub{ font-size:13px; color:var(--ink-3); }
.res-head h3{ font-size:23px; font-weight:800; margin:6px 0 12px; color:#33265c; }
.res-tags{ display:flex; justify-content:center; gap:7px; flex-wrap:wrap; }
.res-tags span{
  padding:5px 13px; border-radius:999px; font-size:12.5px; font-weight:700;
  background:linear-gradient(135deg,#efe6f8,#f9e9ee); color:#6a5d88;
}
.res-score{
  display:grid; place-items:center; gap:2px;
  margin:20px auto; width:132px; height:132px; border-radius:50%;
  background:conic-gradient(from -90deg, #a58fd0 var(--deg,0deg), #ece3f3 0);
  position:relative;
}
.res-score::before{
  content:""; position:absolute; inset:11px; border-radius:50%;
  background:linear-gradient(160deg,#fffdfd,#f6eefa);
}
.res-score b, .res-score i{ position:relative; }
.res-score b{ font-size:34px; font-weight:800; color:#4b3d78; letter-spacing:-.04em; }
.res-score i{ font-style:normal; font-size:11.5px; color:var(--ink-3); }

.res-quote{
  padding:16px 18px; border-radius:15px; margin-bottom:20px;
  background:linear-gradient(140deg,#f4ecfa,#fbeef2);
  font-size:14.5px; line-height:1.75; color:#4b3f6e; text-align:center;
}
/* ── AI 풀이 본문 ── */
.res-block{ margin-bottom:22px; }
.res-block h4{
  font-size:13px; font-weight:800; color:#7a63b4; margin-bottom:10px;
  display:flex; align-items:center; gap:8px;
}
.res-block h4::after{
  content:""; flex:1; height:1px;
  background:linear-gradient(90deg,#e2d7ee,transparent);
}
.res-block p{ font-size:14px; line-height:1.8; color:#4b3f6e; margin-bottom:9px; }
.res-block p:last-child{ margin-bottom:0; }

.res-cat{ padding:12px 0; border-bottom:1px dashed #ece3f3; }
.res-cat:last-child{ border-bottom:0; }
.res-cat-text{ font-size:13px; line-height:1.7; color:#6a5d88; margin-top:8px; padding-left:2px; }

/* ── 로딩 ── */
.res-loading{ text-align:center; padding:32px 8px 20px; }
.res-loading h3{ font-size:18px; font-weight:800; color:#33265c; margin-bottom:10px; }
.res-loading p{ font-size:13.5px; color:var(--ink-3); line-height:1.7; }
.res-spin{ display:flex; justify-content:center; gap:9px; margin-bottom:22px; }
.res-spin span{
  width:11px; height:11px; border-radius:50%;
  background:linear-gradient(135deg,#a891d6,#eeb5ab);
  animation:bounce 1.3s ease-in-out infinite;
}
.res-spin span:nth-child(2){ animation-delay:.18s; }
.res-spin span:nth-child(3){ animation-delay:.36s; }
@keyframes bounce{
  0%,80%,100%{ transform:translateY(0); opacity:.45; }
  40%{ transform:translateY(-11px); opacity:1; }
}

.res-bars{ display:grid; gap:2px; margin-bottom:20px; }
.res-bar{ display:grid; grid-template-columns:64px 1fr 38px; align-items:center; gap:10px; }
.res-bar > span{ font-size:13px; font-weight:700; color:#4e416f; }
.res-bar .track{ height:8px; border-radius:99px; background:#ece3f3; overflow:hidden; }
.res-bar .fill{
  height:100%; border-radius:99px; width:0;
  background:linear-gradient(90deg,#a891d6,#eeb5ab);
  transition:width .9s cubic-bezier(.2,.8,.3,1);
}
.res-bar > b{ font-size:12.5px; color:#7a6ba0; text-align:right; }

.res-lucky{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:22px; }
.res-lucky div{
  padding:13px 8px; border-radius:14px; text-align:center;
  background:#fff; border:1px solid var(--line);
}
.res-lucky span{ display:block; font-size:11px; color:var(--ink-3); margin-bottom:4px; }
.res-lucky b{ font-size:15px; font-weight:800; color:#4b3d78; }

.res-foot{ display:flex; gap:10px; }
.res-foot .btn{ flex:1; padding:13px; border-radius:13px; }
.res-note{ margin-top:14px; font-size:11.5px; color:var(--ink-3); text-align:center; line-height:1.6; }
.res-note code{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:11px;
  background:#f0e8f6; color:#5c4a8c; padding:1px 5px; border-radius:4px;
}

/* ─────────── 상담 신청 폼 ─────────── */
.form-lead{ font-size:13px; color:var(--ink-2); line-height:1.65; margin-top:10px; }

.lead-form{ display:grid; grid-template-columns:1fr 1fr; gap:14px 12px; margin-top:22px; }
.lf{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.lf-full{ grid-column:1 / -1; }
.lf > span{ font-size:12.5px; font-weight:700; color:#4e416f; padding-left:2px; }
.lf > span i{ font-style:normal; color:#d98a86; }

.lf input, .lf select, .lf textarea{
  width:100%; padding:11px 12px; border-radius:11px;
  border:1px solid #e2d7ee; background:#fff;
  color:var(--ink); font-size:14px; font-family:inherit;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.lf textarea{ resize:vertical; min-height:76px; line-height:1.6; }
.lf input::placeholder, .lf textarea::placeholder{ color:#bdb2ce; }
.lf input:focus, .lf select:focus, .lf textarea:focus{
  outline:none; border-color:#a58fd0; box-shadow:0 0 0 3px rgba(165,143,208,.22);
}
.lf select{
  appearance:none; cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,#8d84a6 50%),
                   linear-gradient(135deg,#8d84a6 50%,transparent 50%);
  background-position:calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size:5px 5px, 5px 5px; background-repeat:no-repeat; padding-right:32px;
}

.lf-agree{ grid-column:1 / -1; }
.lf-agree > label{ display:flex; align-items:flex-start; gap:9px; cursor:pointer; }
.lf-agree input{ width:17px; height:17px; margin-top:2px; accent-color:var(--purple); flex:0 0 auto; cursor:pointer; }
.lf-agree span{ font-size:13px; color:#4e416f; line-height:1.55; }
.lf-agree span b{ font-weight:600; color:var(--ink-3); }

.err{ display:none; font-style:normal; font-size:11.5px; color:#cf7b76; padding-left:2px; }
.has-err .err{ display:block; }
.has-err input, .has-err select, .has-err textarea{
  border-color:#e3a9a4; box-shadow:0 0 0 3px rgba(227,169,164,.18);
}

/* 허니팟 — 화면·스크린리더 양쪽에서 숨긴다 (봇만 채우도록) */
.lf-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.lf-submit{ grid-column:1 / -1; width:100%; padding:14px; border-radius:13px; margin-top:2px; }
.lf-submit:disabled{ opacity:.6; cursor:progress; transform:none; }

/* ─────────── 스크롤 리빌 ─────────── */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.in{ opacity:1; transform:none; }
.grid .reveal:nth-child(2){ transition-delay:.07s; }
.grid .reveal:nth-child(3){ transition-delay:.14s; }
.grid .reveal:nth-child(4){ transition-delay:.21s; }
.grid .reveal:nth-child(5){ transition-delay:.28s; }
.grid .reveal:nth-child(6){ transition-delay:.35s; }
.plans .reveal:nth-child(2){ transition-delay:.09s; }
.plans .reveal:nth-child(3){ transition-delay:.18s; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ══════════════════ 반응형 ══════════════════ */
@media (max-width:1080px){
  .grid-6{ grid-template-columns:repeat(3,1fr); }
  .service-chips{ grid-template-columns:repeat(3,1fr); }
  .dash-grid{ grid-template-columns:1fr; }
  .phone{ display:none; }
  .nav{ gap:22px; }
}

@media (max-width:900px){
  .nav{
    position:absolute; top:72px; left:0; right:0;
    flex-direction:column; gap:0; padding:8px 20px 16px;
    background:rgba(253,247,246,.98); border-bottom:1px solid var(--line);
    box-shadow:0 12px 30px rgba(120,95,160,.14);
    display:none;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:13px 0; border-bottom:1px solid #f2eaf4; }
  .nav a::after{ display:none; }
  .nav-toggle{ display:block; order:3; }
  .header-inner{ position:relative; }
  .header-cta{ margin-left:auto; }

  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:2; }
  .zodiac{ width:min(72%, 380px); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .plans{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; }
  .plan-featured{ transform:none; }
  .plan-featured:hover{ transform:translateY(-6px); }

  .steps{ grid-template-columns:repeat(2,1fr); gap:30px 12px; }
  .step-arrow{ display:none; }

  .cta-inner{ grid-template-columns:1fr; text-align:center; justify-items:center; }
  .admin{ grid-template-columns:1fr; }
  .admin-side{ display:none; }
  .kpis{ grid-template-columns:repeat(2,1fr); }
  .panels{ grid-template-columns:1fr; }
}

@media (max-width:620px){
  .header-cta{ display:none; }
  .grid-6{ grid-template-columns:repeat(2,1fr); }
  .service-chips{ grid-template-columns:repeat(2,1fr); }
  .demo-fields{ gap:12px; }
  .field{ flex:1 1 calc(50% - 6px); }
  .demo-submit{ flex:1 1 100%; }
  .section{ padding:48px 0; }
  .modal-panel{ padding:28px 20px; }
  .res-lucky{ grid-template-columns:1fr; }
  .lead-form{ grid-template-columns:1fr; }
  .footer-inner{ justify-content:center; text-align:center; }
}
