/* ============================================================
   getcloze.com — Global Stylesheet
   Brand: Modern Romantic + Secret Garden Hybrid
   Primary Gradient: #7B9CF4 → #C07EE6
   ============================================================ */

:root {
  --gradient: linear-gradient(135deg, #7B9CF4 0%, #C07EE6 100%);
  --primary: #9B84F0;
  --primary-blue: #7B9CF4;
  --primary-pink: #C07EE6;
  --primary-light: #F0EEFF;
  --bg: #FFFFFF;
  --surface: #F8F7FF;
  --text: #1A1A2E;
  --text-secondary: #6B7280;
  --divider: #E5E7EB;
  --error: #DC2626;
  --radius: 16px;
  --radius-pill: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: clamp(0.5rem, 2vw, 2rem); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gradient); color: #fff; }
.btn-secondary { background: var(--primary-light); color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

/* ── HERO ── */
.hero {
  background: var(--gradient);
  padding: 100px 5% 80px;
  text-align: center;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-store {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-store:hover { background: rgba(255,255,255,0.3); }

/* ── SECTIONS ── */
section { padding: 80px 5%; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 3rem;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-num {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(155, 132, 240, 0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 80px 5%;
}

.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { opacity: 0.9; margin-bottom: 2rem; }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }

/* ── LEGAL PAGES ── */
.legal-hero {
  background: var(--surface);
  padding: 60px 5% 40px;
  border-bottom: 1px solid var(--divider);
}
.legal-hero .breadcrumb { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.5rem; }
.legal-hero .meta { font-size: 0.88rem; color: var(--text-secondary); }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 5%;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--divider);
}

.legal-body p { margin-bottom: 1rem; color: var(--text-secondary); }
.legal-body ul, .legal-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-body li { color: var(--text-secondary); margin-bottom: 0.4rem; }

.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: 0.9rem; word-break: break-word; }
.legal-table th { background: var(--surface); font-weight: 600; padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--divider); }
.legal-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--divider); color: var(--text-secondary); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }

.notice-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.notice-box p { color: var(--text); margin: 0; font-size: 0.93rem; }

/* ── SUPPORT PAGE ── */
.faq-list { max-width: 720px; margin: 0 auto; }

details {
  border-bottom: 1px solid var(--divider);
  padding: 1.25rem 0;
}
summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); }
details[open] summary::after { content: '−'; }
details p { padding-top: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.contact-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem; flex-grow: 1; }
.contact-card .btn { margin-top: 1.5rem; width: 100%; box-sizing: border-box; padding: 0.75rem 0.5rem; font-size: clamp(0.75rem, 3vw, 0.9rem); word-break: break-all; }

/* ── ABOUT-THIS-MESSAGE ── */
.atm-hero {
  background: var(--gradient);
  color: #fff;
  padding: 80px 5%;
  text-align: center;
}
.atm-hero h1 { color: #fff; margin-bottom: 1rem; }
.atm-hero p { opacity: 0.9; max-width: 520px; margin: 0 auto; }

.atm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.atm-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 48px 5%;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .nav-logo { font-size: 1.2rem; }
.footer-brand p { font-size: 0.83rem; margin-top: 0.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; font-size: 0.8rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 5% 50px; }
  section { padding: 60px 5%; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
