/* =========================================================
   DalogiStudio Landing — Shared Stylesheet
   Brand color: #C45D3E (terracotta)
   ========================================================= */

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

:root {
  --brand:       #C45D3E;
  --brand-dark:  #a34932;
  --brand-light: #f9ede9;
  --text:        #1a1a1a;
  --text-muted:  #6b6b6b;
  --border:      #e5e5e5;
  --bg:          #ffffff;
  --bg-alt:      #faf9f8;
  --radius:      12px;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);
  --max-w:       1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--text-muted); }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section    { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-alt); }

/* ---------- LAUNCH BANNER ---------- */
.launch-banner {
  background: #e65100;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.launch-banner a {
  color: #fff;
  text-decoration: underline;
  margin-inline-start: 6px;
}
.launch-banner a:hover { opacity: 0.85; }

/* ---------- HEADER ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-w); margin: 0 auto;
}
.logo-wrap {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.logo-wrap img { height: 44px; width: auto; mix-blend-mode: multiply; border-radius: 50%; }
.logo-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.3px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-link {
  font-size: 0.875rem; color: var(--text-muted);
  text-decoration: none; padding: 6px 10px; border-radius: 6px;
}
.lang-link:hover { background: var(--bg-alt); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-size: 1rem;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-light); }
.btn-lg { padding: 15px 32px; font-size: 1.1rem; border-radius: 10px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 60%);
  padding: 100px 0 80px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 64px; align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 span { color: var(--brand); }
.hero-sub { font-size: 1.15rem; margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 0.95rem; margin-top: 12px; color: var(--text-muted); }
.install-hint { font-size: 0.8rem; margin-top: 6px; color: var(--text-muted); opacity: 0.75; }
.install-steps { margin-top: 10px; padding-right: 1.25rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 4px; }
.install-steps li { font-size: 0.9rem; color: var(--text-muted); }
.hero-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 5px; }
.hero-bullets li { font-size: 0.85rem; color: var(--text-muted); }
.hero-bullets li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.seo-text { background: var(--surface); border-top: 1px solid var(--border); }
.seo-text .container { padding-top: 28px; padding-bottom: 28px; }
.seo-text p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; max-width: 720px; }
.seo-text strong { color: var(--text); font-weight: 600; }
.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  max-height: 520px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #e5e5e5, 0 24px 56px rgba(0,0,0,0.14);
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-placeholder {
  background: var(--bg-alt); border: 2px dashed var(--border);
  border-radius: var(--radius); height: 400px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--text-muted);
  font-size: 0.9rem; text-align: center; padding: 24px;
}

/* ---------- FEATURES ---------- */
.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub  { font-size: 1.1rem; max-width: 560px; margin-bottom: 56px; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p  { font-size: 0.95rem; }

.features-secondary {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 24px;
}
.feature-secondary {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.feature-secondary .icon { font-size: 1.5rem; flex-shrink: 0; }
.feature-secondary h3 { margin-bottom: 4px; font-size: 1rem; }
.feature-secondary p  { font-size: 0.9rem; }

/* ---------- SOCIAL PROOF ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.testimonial-text { font-size: 0.95rem; color: var(--text); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-author img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-placeholder {
  grid-column: 1 / -1; text-align: center; padding: 40px;
  color: var(--text-muted); font-size: 0.9rem;
  border: 2px dashed var(--border); border-radius: var(--radius);
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 700px;
}
.pricing-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  background: var(--bg);
}
.pricing-card.featured {
  border-color: var(--brand); background: var(--brand-light);
}
.pricing-tier { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pricing-card.featured .pricing-tier { color: var(--brand); }
.pricing-price { font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { padding: 5px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.pricing-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }
.pricing-annual { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }
.pricing-annual a { color: var(--brand); }
.pricing-original { font-size: 1.2rem; font-weight: 400; text-decoration: line-through; opacity: 0.55; margin-inline-start: 8px; display: inline; }
.launch-badge { display: inline-block; background: #e65100; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; }
details {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
details:first-child { border-top: 1px solid var(--border); }
summary {
  font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; font-size: 0.95rem; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--brand); color: #fff; text-align: center; padding: 80px 24px;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }
.btn-white {
  background: #fff; color: var(--brand); font-weight: 700;
  padding: 15px 36px; border-radius: 10px; font-size: 1.05rem;
  text-decoration: none; display: inline-block;
  transition: transform 0.15s ease;
}
.btn-white:hover { transform: translateY(-2px); }
.cta-note { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 14px; }

/* ---------- FOOTER ---------- */
footer {
  background: #1a1a1a; color: rgba(255,255,255,0.6);
  padding: 40px 24px; text-align: center; font-size: 0.875rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-visual        { order: -1; }
  .features-grid      { grid-template-columns: 1fr; }
  .features-secondary { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .pricing-grid       { grid-template-columns: 1fr; }
  section             { padding: 56px 0; }
  .hero               { padding: 60px 0 48px; }
}
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .hero-ctas    { flex-direction: column; }
  .btn-lg       { width: 100%; text-align: center; }
}

/* ---------- FEATURE PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 60%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero .container { max-width: 760px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero h1 span { color: var(--brand); }
.page-hero .hero-sub { margin: 0 auto 32px; font-size: 1.15rem; max-width: 600px; }
.page-hero .hero-note { font-size: 0.8rem; margin-top: 12px; }
.page-hero .hero-ctas { justify-content: center; }

/* ---------- STEPS LIST ---------- */
.steps-list { list-style: none; counter-reset: steps; max-width: 640px; margin: 40px auto 0; }
.steps-list li {
  counter-increment: steps;
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  background: var(--brand); color: #fff;
  min-width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.steps-list li strong { display: block; margin-bottom: 4px; font-size: 1rem; color: var(--text); }
.steps-list li span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- SCENARIO BOX ---------- */
.scenario-box {
  background: var(--brand-light); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 28px 32px;
  max-width: 720px; margin: 40px auto 0;
}
.scenario-box p { color: var(--text); font-size: 1rem; line-height: 1.8; font-style: italic; }

/* ---------- ALSO EXPLORE ---------- */
.also-explore { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; justify-content: center; }
.also-explore a {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 18px; font-size: 0.9rem;
  text-decoration: none; color: var(--text); font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.also-explore a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switcher { position: relative; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  padding: 6px 8px; border-radius: 6px;
  color: var(--text-muted); display: flex; align-items: center;
  transition: background 0.15s; line-height: 1;
}
.lang-btn:hover { background: var(--bg-alt); }
.lang-btn svg { display: block; }
.lang-dropdown {
  display: none; position: absolute;
  top: calc(100% + 6px); inset-inline-end: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  min-width: 200px; padding: 6px; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: block; padding: 9px 14px; border-radius: 6px;
  text-decoration: none; color: var(--text); font-size: 0.9rem;
  transition: background 0.1s;
}
.lang-option:hover { background: var(--bg-alt); }
.lang-option.active { font-weight: 700; color: var(--brand); }
.lang-more {
  margin: 4px 0 0; padding: 8px 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}

/* ---------- RTL (Hebrew) ---------- */
[dir="rtl"] body        { font-family: 'Noto Sans Hebrew', system-ui, sans-serif; }
[dir="rtl"] .hero-sub   { margin-right: 0; margin-left: auto; }
[dir="rtl"] .section-sub{ margin-right: 0; margin-left: auto; }
[dir="rtl"] .feature-secondary { flex-direction: row-reverse; }
[dir="rtl"] summary     { flex-direction: row-reverse; }
[dir="rtl"] .footer-links { flex-direction: row-reverse; }

/* ---------- Korean font ---------- */
[lang="ko"] body { font-family: 'Noto Sans KR', system-ui, sans-serif; }
