/* ============================================
   SPO-DATA Design System — CSS Variables
   ============================================ */
:root {
  /* Colors */
  --color-primary:        #DD4B1F;
  --color-primary-dark:   #D03E1A;
  --color-primary-medium: #C44F26;
  --color-bg-900:         #1A0D0B;
  --color-bg-800:         #591A15;
  --color-bg-700:         #7B2F1A;
  --color-bg-600:         #724637;
  --color-neutral-600:    #5B5554;
  --color-neutral-500:    #7E5F5B;
  --color-cream:          #E6D6D1;
  --color-white:          #FFFFFF;

  /* Typography */
  --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-bg-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================
   Utility
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

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

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-neutral-500);
  margin-top: var(--space-4);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   Logo Mark
   ============================================ */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.logo-mark--lg {
  width: 64px;
  height: 64px;
  font-size: var(--text-3xl);
}

.logo-name {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}

.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(221, 75, 31, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(26, 13, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.header__nav a:hover {
  color: var(--color-white);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--color-bg-900);
}

/* Background decoration */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.25;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -100px;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-bg-700);
  bottom: -100px;
  left: -100px;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--color-primary-medium);
  top: 40%;
  right: 30%;
  opacity: 0.1;
}

/* Grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(221, 75, 31, 0.15);
  border: 1px solid rgba(221, 75, 31, 0.4);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__title-accent {
  color: var(--color-primary);
  display: block;
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__portfolios {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-pf {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.hero-pf__name {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.hero-pf__client {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-2);
  line-height: 1.5;
  min-height: 1.5em;
}

.hero-pf__stack {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  line-height: 1.6;
  min-height: 1.6em;
}

.hero__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.stack-tag {
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}

.stack-tag:hover {
  background: rgba(221, 75, 31, 0.15);
  border-color: rgba(221, 75, 31, 0.4);
  color: var(--color-primary);
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 460px;
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.hero__card-sub {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.hero__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.hero__stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-4) var(--space-3);
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.hero__stat-bar {
  margin-top: var(--space-3);
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.hero__stat-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: var(--color-bg-900);
  position: relative;
}

.services__header {
  margin-bottom: var(--space-16);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-8) var(--space-10);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(221, 75, 31, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(221, 75, 31, 0.15);
  border: 1px solid rgba(221, 75, 31, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: rgba(221, 75, 31, 0.25);
  border-color: var(--color-primary);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
}

/* ============================================
   About / Stats Section
   ============================================ */
.about {
  background: var(--color-cream);
  color: var(--color-bg-900);
}

.about .section-label {
  color: var(--color-primary);
}

.about .section-title {
  color: var(--color-bg-900);
}

.about .section-desc {
  color: var(--color-bg-600);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about__text {
  max-width: 480px;
}

.about__body {
  font-size: var(--text-base);
  color: var(--color-bg-600);
  line-height: 1.9;
  margin-top: var(--space-6);
}

.about__body p + p {
  margin-top: var(--space-6);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.stat-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: 0 4px 24px rgba(89, 26, 21, 0.08);
  transition: transform var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item__value {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-item__suffix {
  font-size: var(--text-3xl);
  color: var(--color-primary);
  font-weight: 900;
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-neutral-500);
  margin-top: var(--space-3);
}

/* ============================================
   Tech Stack Section
   ============================================ */
.tech {
  background: rgba(89, 26, 21, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.tech__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.tech-badge {
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  cursor: default;
}

.tech-badge__dot {
  display: none;
}

.tech-badge:hover {
  background: rgba(221, 75, 31, 0.15);
  border-color: rgba(221, 75, 31, 0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--color-bg-800) 0%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.cta__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  font-weight: 800;
}

.btn-white:hover {
  background: var(--color-cream);
  border-color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0F0807;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 300px;
}

.footer__nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-4);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav-list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer__nav-list a:hover {
  color: var(--color-white);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.footer__contact-icon {
  font-size: var(--text-sm);
  flex-shrink: 0;
  opacity: 0.7;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(221, 75, 31, 0.2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================
   Hero — Cost Badge
   ============================================ */
.hero__cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(232, 150, 42, 0.1);
  border: 1px solid rgba(232, 150, 42, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.hero__cost-badge-icon {
  color: var(--color-primary);
  font-size: var(--text-xs);
}

.hero__cost-badge strong {
  color: var(--color-primary);
  font-weight: 800;
}

/* Hero stat highlight (5th item) */
.hero__stat--highlight {
  grid-column: 1 / -1;
  background: rgba(232, 150, 42, 0.12);
  border-color: rgba(232, 150, 42, 0.3);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  background: var(--color-bg-900);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.pricing__header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.pricing__tabs {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing__tab {
  padding: 0.625rem 1.5rem;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.pricing__tab--active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

.pricing__tab:hover:not(.pricing__tab--active) {
  color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 720px;
  margin: 0 auto var(--space-16);
}

.pricing__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
}

.pricing__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 150, 42, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.pricing__card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(232, 150, 42, 0.15);
  border: 1px solid rgba(232, 150, 42, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.pricing__card-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.pricing__card-grade {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-6);
}

.pricing__card-price {
  margin-bottom: var(--space-6);
}

.pricing__card-amount {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.pricing__card-unit {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.25rem;
}

.pricing__card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing__card-features li {
  padding: 0.5rem 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing__card-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Calculator */
.pricing__calculator {
  max-width: 720px;
  margin: 0 auto var(--space-16);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
}

.pricing__calc-title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  text-align: center;
}

.pricing__calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.pricing__calc-field label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.pricing__calc-field select,
.pricing__calc-field input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  color: #fff;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast);
}

.pricing__calc-field select:focus,
.pricing__calc-field input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.pricing__calc-field select option {
  background: var(--color-bg-900);
  color: #fff;
}

.pricing__calc-result {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
}

.pricing__calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
}

.pricing__calc-row + .pricing__calc-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing__calc-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.pricing__calc-value {
  font-size: var(--text-base);
  font-weight: 700;
}

.pricing__calc-value--muted {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.pricing__calc-value--accent {
  color: var(--color-primary);
  font-size: var(--text-lg);
  font-weight: 900;
}

.pricing__calc-row--saving {
  background: rgba(232, 150, 42, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

/* Compare bars */
.pricing__compare {
  max-width: 720px;
  margin: 0 auto;
}

.pricing__compare-title {
  font-size: var(--text-xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-8);
}

.pricing__compare-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pricing__compare-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: auto auto;
  gap: 0.25rem var(--space-4);
  align-items: center;
}

.pricing__compare-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.pricing__compare-bar-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
  height: 40px;
}

.pricing__compare-bar {
  height: 100%;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
  font-size: var(--text-sm);
  font-weight: 800;
  transition: width 0.8s ease;
}

.pricing__compare-bar--full {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.pricing__compare-bar--spo {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
}

.pricing__compare-note {
  grid-column: 2;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}


.footer__phones {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}
.footer__phones a {
  color: inherit;
  text-decoration: none;
}
.footer__phones a:hover {
  color: var(--color-primary);
}
/* ============================================
   Responsive — Tablet wide (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    gap: var(--space-8);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__card {
    max-width: 380px;
  }
}

/* ============================================
   Responsive — Tablet (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-5);
  }

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

  .section-title {
    font-size: var(--text-3xl);
  }

  /* Header */
  .header__nav {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: var(--space-16);
    align-items: flex-start;
  }

  .hero__orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
  }

  .hero__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
  }

  .hero__orb--3 {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .hero__badge {
    justify-content: center;
  }

  .hero__desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__stack {
    justify-content: center;
  }

  /* Card: 콘텐츠 아래로 이동 */
  .hero__visual {
    order: 1;
  }

  .hero__card {
    padding: var(--space-5);
    max-width: 100%;
  }

  .hero__stat-value {
    font-size: var(--text-2xl);
  }

  .hero__stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .hero__stat {
    padding: var(--space-3);
  }

  /* Hero cost badge */
  .hero__cost-badge {
    justify-content: center;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing__calc-form {
    grid-template-columns: 1fr;
  }

  .pricing__compare-item {
    grid-template-columns: 100px 1fr;
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA */
  .cta__title {
    font-size: var(--text-3xl);
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   Responsive — Mobile (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  /* Hero */
  .hero {
    padding-top: 88px;
    padding-bottom: var(--space-12);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__badge {
    font-size: 0.65rem;
  }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  .hero__stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat-value {
    font-size: var(--text-xl);
  }

  /* About stats */
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item__value {
    font-size: var(--text-3xl);
  }

  /* CTA */
  .cta__title {
    font-size: var(--text-2xl);
  }
}


/* ============================================
   Golden Orange Dark Theme Override
   Primary: #E8962A / Background: dark
   ============================================ */
:root {
  --color-primary:        #E8962A;
  --color-primary-dark:   #D4861E;
  --color-primary-medium: #F0A830;
  --color-bg-900:         #141008;
  --color-bg-800:         #2A1F0A;
  --color-bg-700:         #3D2E10;
  --color-bg-600:         #8C6030;
  --color-neutral-600:    #C8B090;
  --color-neutral-500:    #8C7055;
  --color-cream:          #2A1F0A;
  --color-white:          #FFFFFF;

  /* 오렌지 버튼 토큰 — A안 확정(창훈, 2026-10-07). .btn-primary · :hover · .pricing__tab--active 공통
     글자 #141008 on #E8962A = 7.97:1, hover #D4861E = 6.53:1 (기존 흰 글자 2.38:1 / 2.91:1)
     로고(.logo-mark)는 이 토큰을 쓰지 않는다. */
  --btn-primary-bg:       #E8962A;
  --btn-primary-fg:       #141008;
  --btn-primary-bg-hover: #D4861E;
  --btn-primary-fg-hover: #141008;
}

body {
  background-color: #141008;
  color: #F5ECD8;
}

.header {
  background: rgba(20, 16, 8, 0.88);
  border-bottom: 1px solid rgba(232, 150, 42, 0.12);
}

.logo-name { color: #F5ECD8; }
.header__nav a { color: rgba(245, 236, 216, 0.6); }
.header__nav a:hover { color: #F5ECD8; }
.header__nav a::after { background: #E8962A; }

.hero { background: #141008; }
.hero__orb--1 { background: #E8962A; opacity: 0.2; }
.hero__orb--2 { background: #3D2E10; opacity: 0.8; }
.hero__orb--3 { background: #F0A830; opacity: 0.08; }

.hero__badge { background: rgba(232, 150, 42, 0.12); border-color: rgba(232, 150, 42, 0.4); color: #E8962A; }
.hero__badge-dot { background: #E8962A; }
.hero__title-accent { color: #E8962A; }
.hero__desc { color: rgba(245, 236, 216, 0.6); }

.btn-primary { background: var(--btn-primary-bg); border-color: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); border-color: var(--btn-primary-bg-hover); color: var(--btn-primary-fg-hover); box-shadow: 0 8px 24px rgba(232, 150, 42, 0.45); }

.stack-tag, .tech-badge { background: rgba(232, 150, 42, 0.08); border-color: rgba(232, 150, 42, 0.2); color: rgba(245, 236, 216, 0.5); }
.stack-tag:hover, .tech-badge:hover { background: rgba(232, 150, 42, 0.18); border-color: rgba(232, 150, 42, 0.5); color: #E8962A; }

.hero__card { background: rgba(232, 150, 42, 0.06); border-color: rgba(232, 150, 42, 0.15); }
.hero__card-header { border-bottom-color: rgba(232, 150, 42, 0.12); }
.hero__card-title { color: rgba(245, 236, 216, 0.9); }
.hero__card-sub { color: rgba(245, 236, 216, 0.4); }

.hero__stat { background: rgba(232, 150, 42, 0.08); border-color: rgba(232, 150, 42, 0.12); }
.hero__stat-value { color: #E8962A; }
.hero__stat-label { color: rgba(245, 236, 216, 0.45); }
.hero__stat-bar { background: rgba(232, 150, 42, 0.15); }
.hero__stat-fill { background: #E8962A; }

.section-label { color: #E8962A; }

.about { background: #1E1608; color: #F5ECD8; }
.about .section-label { color: #E8962A; }
.about .section-title { color: #F5ECD8; }
.about .section-desc { color: rgba(245, 236, 216, 0.55); }
.about .about__body { color: rgba(245, 236, 216, 0.65); }

.stat-item { background: rgba(232, 150, 42, 0.08); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); border: 1px solid rgba(232, 150, 42, 0.15); }
.stat-item__value, .stat-item__suffix { color: #E8962A; }
.stat-item__label { color: rgba(245, 236, 216, 0.5); }

.services { background: #141008; }
.section-title { color: #F5ECD8; }
.section-desc { color: rgba(245, 236, 216, 0.55); }

.service-card { background: rgba(232, 150, 42, 0.05); border-color: rgba(232, 150, 42, 0.12); }
.service-card::before { background: linear-gradient(90deg, #E8962A, transparent); }
.service-card:hover { background: rgba(232, 150, 42, 0.09); border-color: rgba(232, 150, 42, 0.35); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5); }
.service-card__icon { background: rgba(232, 150, 42, 0.12); border-color: rgba(232, 150, 42, 0.28); }
.service-card:hover .service-card__icon { background: rgba(232, 150, 42, 0.22); border-color: #E8962A; }
.service-card__desc { color: rgba(245, 236, 216, 0.55); }

.tech { background: rgba(232, 150, 42, 0.06); border-top-color: rgba(232, 150, 42, 0.1); border-bottom-color: rgba(232, 150, 42, 0.1); }

.cta { background: linear-gradient(135deg, #2A1F0A 0%, #C47A10 50%, #E8962A 100%); }
.btn-white { color: #C47A10; }

.footer { background: #0C0A04; }
.footer__social-link:hover { background: rgba(232, 150, 42, 0.2); border-color: #E8962A; color: #E8962A; }

/* Pricing — Golden Orange Theme */
.pricing { background: #1E1608; }
.hero__cost-badge { background: rgba(232, 150, 42, 0.1); border-color: rgba(232, 150, 42, 0.3); }
.hero__cost-badge strong { color: #E8962A; }
.hero__cost-badge-icon { color: #E8962A; }
.hero__stat--highlight { background: rgba(232, 150, 42, 0.12); border-color: rgba(232, 150, 42, 0.3); }
.pricing__tab--active { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.pricing__card { background: rgba(232, 150, 42, 0.05); border-color: rgba(232, 150, 42, 0.12); }
.pricing__card:hover { background: rgba(232, 150, 42, 0.09); border-color: rgba(232, 150, 42, 0.35); }
.pricing__card-badge { background: rgba(232, 150, 42, 0.15); border-color: rgba(232, 150, 42, 0.3); color: #E8962A; }
.pricing__card-amount { color: #E8962A; }
.pricing__card-features li::before { color: #E8962A; }
.pricing__calculator { background: rgba(232, 150, 42, 0.05); border-color: rgba(232, 150, 42, 0.12); }
.pricing__calc-row--saving { background: rgba(232, 150, 42, 0.08); }
.pricing__calc-value--accent { color: #E8962A; }
.pricing__compare-bar--spo { background: linear-gradient(90deg, #D4861E, #E8962A); }

.header__logo .logo-mark {
  width: 32px;
  height: 32px;
  font-size: var(--text-base);
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.header__logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245, 236, 216, 0.45);
  margin-top: 2px;
}
