:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,86,219,0.4); }
.btn-outline {
  border: 2px solid var(--gray-200);
  color: var(--dark);
  background: #fff;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--gray-600); }
.btn-ghost:hover { color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); font-weight: 700; }
.btn-light:hover { background: var(--gray-100); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-send-code { padding: 8px 14px; font-size: 13px; white-space: nowrap; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.logo-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links > a, .nav-drop-trigger {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links > a:hover, .nav-drop-trigger:hover { color: var(--primary); background: var(--gray-50); }
.nav-links > a.active, .nav-drop-trigger.active { color: var(--primary); font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
}
.nav-drop-menu a:hover { background: var(--gray-50); color: var(--primary); }
.chevron { font-size: 11px; margin-left: 4px; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-right: 8px;
}
.lang-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.hero-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(26,86,219,0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-wrap {
  position: relative;
  width: 400px;
  height: 400px;
}
.robot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(34,211,238,0.2) 0%, rgba(59,130,246,0.1) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.robot-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  z-index: 2;
  border: 1px solid var(--gray-100);
}
.fc-icon { font-size: 18px; }
.fc-1 { top: 20px; right: 0; animation: float-gentle 5s ease-in-out infinite; }
.fc-2 { top: 90px; left: 0; animation: float-gentle 5s ease-in-out 1s infinite; }
.fc-3 { bottom: 100px; right: 10px; animation: float-gentle 5s ease-in-out 2s infinite; }
.fc-4 { bottom: 30px; left: 20px; animation: float-gentle 5s ease-in-out 1.5s infinite; }

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* SECTIONS */
.section {
  padding: 100px 0;
}
.section-alt { background: var(--gray-50); }
.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-500);
}

/* PAGE HERO */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  text-align: center;
}
.page-hero.small { padding: 60px 0 40px; text-align: left; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero.small p { margin: 0; }
.service-hero, .product-hero { padding: 100px 0 80px; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-500);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.service-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.product-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.product-featured { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.product-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
}
.product-badge.best { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.product-icon { font-size: 64px; margin-bottom: 20px; }
.product-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.product-card > p { color: var(--gray-500); margin-bottom: 20px; }
.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.product-features span {
  font-size: 14px;
  color: var(--gray-700);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-title { text-align: left; }
.about-text .section-sub { text-align: left; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.about-visual { position: relative; height: 400px; }
.about-card-stack { position: relative; width: 100%; height: 100%; }
.about-card {
  position: absolute;
  padding: 20px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 16px;
}
.ac-1 { top: 10%; left: 5%; }
.ac-2 { top: 30%; right: 10%; }
.ac-3 { bottom: 30%; left: 15%; }
.ac-4 { bottom: 10%; right: 20%; }

/* ABOUT DETAIL */
.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.about-detail-item { padding: 32px; }
.about-detail-item .num {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.3;
  margin-bottom: 8px;
}
.about-detail-item h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.about-detail-item p { color: var(--gray-500); }

/* CAPABILITIES */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.cap-item {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}
.cap-item:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.cap-icon { font-size: 32px; margin-bottom: 12px; }
.cap-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cap-item p { font-size: 14px; color: var(--gray-500); }

/* TIMELINE */
.timeline-list { max-width: 700px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.tl-year {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.tl-body h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.tl-body p { color: var(--gray-500); }

/* SERVICE FEATURES */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.s-feature {
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.s-feature:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.s-icon { font-size: 40px; margin-bottom: 16px; }
.s-feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.s-feature p { color: var(--gray-500); font-size: 15px; }

/* USE CASES */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.uc-item {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}
.uc-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.uc-item p { color: var(--gray-500); font-size: 14px; }

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.benefit {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}
.b-num {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.benefit h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.benefit p { font-size: 14px; color: var(--gray-500); }

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.p-step {
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
}
.p-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.p-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.p-step p { font-size: 14px; color: var(--gray-500); }

/* TECH STACK */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.tech-item {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  transition: all 0.2s;
}
.tech-item:hover { border-color: var(--primary); color: var(--primary); }

/* EDU AREAS */
.edu-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.edu-item {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.edu-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.edu-item p { color: var(--gray-500); font-size: 14px; }

/* PRODUCT HIGHLIGHTS */
.product-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.ph-item {
  padding: 32px 28px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}
.ph-icon { font-size: 40px; margin-bottom: 12px; }
.ph-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.ph-item p { color: var(--gray-500); font-size: 15px; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  position: relative;
  text-align: center;
  transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,86,219,0.1);
  transform: scale(1.02);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
}
.price-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.price-duration { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.price-tier {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  font-size: 14px;
}
.tier-conn { color: var(--gray-500); }
.tier-price { font-weight: 700; color: var(--dark); }
.price-card .btn { margin-top: 24px; width: 100%; }

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-text p { opacity: 0.9; font-size: 16px; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.info-card {
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.info-icon { font-size: 28px; margin-bottom: 8px; }
.info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.info-card p { color: var(--gray-500); font-size: 14px; }

.contact-form-wrap {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
}
.form-success h3 { margin-bottom: 20px; }

/* AUTH */
.auth-section {
  min-height: calc(100vh - 68px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 800;
}
.auth-card h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-sub {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
}
.auth-error {
  padding: 12px 16px;
  background: #fef2f2;
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}
.auth-form { margin-bottom: 24px; }
.verify-row { display: flex; gap: 8px; }
.verify-row input { flex: 1; }
.hint { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

.agree-group { margin: 20px 0; }
.agree-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
}
.agree-item input { width: 16px; height: 16px; }

.auth-links {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--gray-500);
}
.auth-links .link { color: var(--gray-500); }
.auth-links .link:hover { color: var(--primary); }
.auth-links .divider { margin: 0 12px; color: var(--gray-300); }
.auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

/* CHECKOUT */
.checkout-wrap { max-width: 640px; margin: 0 auto; }
.order-summary {
  background: var(--gray-50);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.order-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.order-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}
.order-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
}
.total-amount { color: var(--primary); }

.payment-methods { margin-bottom: 24px; }
.payment-methods h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.pm-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.pm-option:hover { border-color: var(--primary-light); }
.pm-option input[type="radio"]:checked + .pm-label { color: var(--primary); }
.pm-option:has(input:checked) { border-color: var(--primary); background: rgba(26,86,219,0.03); }
.pm-name { font-weight: 600; }
.pm-desc { font-size: 13px; color: var(--gray-500); }

/* INICIS */
.inicis-wrap { max-width: 500px; margin: 0 auto; }
.inicis-box {
  background: #fff;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.inicis-loading p { color: var(--gray-500); margin-bottom: 24px; }
.inicis-manual {
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  margin-top: 24px;
}
.inicis-manual p { font-size: 14px; color: var(--gray-500); margin-bottom: 12px; }

/* PAYMENT SUCCESS */
.success-section {
  padding: 80px 24px;
  min-height: calc(100vh - 68px - 200px);
  display: flex;
  align-items: center;
}
.success-wrap {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.success-icon-big {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 700;
}
.success-wrap h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.success-sub { color: var(--gray-500); margin-bottom: 32px; }
.success-info {
  background: var(--gray-50);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  text-align: left;
}
.si-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
}
.si-row span:first-child { color: var(--gray-500); }
.si-row span:last-child { font-weight: 600; }
.success-actions { display: flex; gap: 12px; justify-content: center; }

/* MYPAGE */
.mypage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mypage-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.mypage-card.full { grid-column: 1 / -1; }
.mypage-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.info-list { }
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}
.info-row span:first-child { color: var(--gray-500); }
.info-row span:last-child { font-weight: 600; }

.sub-active .sub-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.sub-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sub-status.active { background: #ecfdf5; color: var(--success); }
.sub-detail { font-size: 14px; color: var(--gray-500); }
.sub-empty {
  text-align: center;
  padding: 20px 0;
  color: var(--gray-500);
}
.sub-empty p { margin-bottom: 16px; }

.billing-list { }
.billing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.br-plan { font-weight: 600; }
.br-date { font-size: 13px; color: var(--gray-500); }
.br-amount { font-weight: 700; text-align: right; }
.br-status {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
}
.br-status.completed { color: var(--success); }
.br-status.pending { color: var(--warning); }
.br-status.cancelled { color: var(--danger); }

/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--gray-400);
  font-size: 14px;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 24px;
  border-top: 1px solid var(--gray-700);
  font-size: 13px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 300px; margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .mypage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links > a, .nav-drop-trigger { padding: 14px; width: 100%; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .page-hero { padding: 60px 0 40px; }
  .service-hero, .product-hero { padding: 60px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .price-card.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .auth-card { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .billing-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .br-status { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .success-actions { flex-direction: column; }
  .success-actions .btn { width: 100%; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
}
