/* ============================================
   Movix Light Design System
   밝은 배경 + 선명한 텍스트 + 오렌지/틸 강조
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-tertiary: #EEF0F4;
  --text-primary: #1A1A2E;
  --text-secondary: #5A5A72;
  --text-light: #8A8AA0;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --accent2: #0D9488;
  --accent2-hover: #0B7C72;
  --border: #E2E4E9;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --section-gap: 96px;
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

/* --- Typography --- */
h1 { font-size: 48px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 36px; line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 24px; line-height: 1.33; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.44; font-weight: 600; }

.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-alt {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 18px;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo:hover { color: var(--text-primary); }

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}

.nav-cta:hover { background: var(--accent-hover); color: #fff !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234,88,12,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(234,88,12,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 14px 16px;
}
.btn-ghost:hover { color: var(--accent); }

/* --- Cards --- */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.card-accent-left {
  border-left: 4px solid var(--accent2);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.badge-green {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Hero --- */
.hero {
  padding: 80px 0 96px;
  text-align: center;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}

/* --- Pricing Table --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(234,88,12,0.12);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0 4px;
}

.price span {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent2);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Phase Timeline --- */
.phase-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
}

.phase-item {
  background: var(--bg-primary);
  padding: 28px 24px;
  text-align: center;
}

.phase-item.active {
  background: #FFF7ED;
  border-bottom: 3px solid var(--accent);
}

.phase-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.phase-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.phase-detail {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--text-light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-q.open::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-a.open {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-a p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Use Case Cards --- */
.usecase-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.usecase-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.usecase-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.usecase-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.usecase-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Feature Grid --- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer a:hover { color: #fff; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Trust Section --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
}

.trust-item .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #FFF7ED 0%, #F0FDFA 100%);
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 32px; font-size: 18px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  body { font-size: 16px; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
  }

  .hero { padding: 48px 0 64px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-badges { justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .phase-timeline { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
