/* ============================================
   CoreLab — AI Trend Design System
   ============================================ */

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

:root {
  --color-primary: #6366f1;
  --color-secondary: #8b5cf6;
  --color-accent: #06b6d4;
  --color-bg: #0f0f1a;
  --color-surface: #1a1a2e;
  --color-surface-hover: #222240;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.08);
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --gradient-card: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(139, 92, 246, 0.03) 100%
  );
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans KR", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(26, 26, 46, 0.8);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.glass-card.featured {
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(6, 182, 212, 0.06)
  );
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-grid .span-2 {
  grid-column: span 2;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 15, 26, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar__item {
  position: relative;
}

.navbar__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.navbar__item:hover .navbar__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  list-style: none;
}

.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar__dropdown a:hover {
  color: var(--color-text);
  background: rgba(99, 102, 241, 0.1);
}

.navbar__lang {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar__lang:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite;
}

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

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(20px, 10px) scale(1.02);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* --- Staggered Fade-in --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in-up:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section Common --- */
.section {
  padding: 6rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Solutions Section --- */
.solutions__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.solutions__card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.solutions__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.solutions__card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.solutions__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.solutions__card-link:hover {
  gap: 0.75rem;
}

.solutions__compare {
  text-align: center;
  margin-top: 2.5rem;
}

.solutions__compare a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
}

.solutions__compare a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- Why Choose Section --- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why__card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why__card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why__cta {
  text-align: center;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.1),
    rgba(6, 182, 212, 0.08)
  );
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.cta-section__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-section__support {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.cta-section__support strong {
  color: var(--color-text);
  font-weight: 700;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer --- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact li {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

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

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

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

/* --- Subpage --- */
.subpage {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 50px;
  min-height: 80vh;
}

.subpage__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.subpage__breadcrumb a:hover {
  color: var(--color-primary);
}

.subpage__title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.subpage__content {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .navbar__logo img {
    height: 40px;
  }

  .navbar__hamburger {
    display: flex;
  }

  html, body {
    overflow-x: hidden;
  }

  img, video, canvas, svg {
    max-width: 100%;
    height: auto;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Logos Grid --- */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.logo-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--color-text);
  background: rgba(26, 26, 46, 0.6);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 700px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  font-family: "JetBrains Mono", monospace;
}

.timeline__year:first-child {
  margin-top: 0;
}

.timeline__item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1.5rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg);
}

.timeline__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question__icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 2000px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-answer strong {
  color: var(--color-text);
}

/* --- Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.compare-table thead th {
  background: var(--color-surface);
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.compare-table thead th:first-child {
  text-align: left;
}

.compare-table thead th.highlight {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-primary);
}

.compare-table tbody td {
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  background: rgba(15, 15, 26, 0.5);
}

.compare-table tbody td:first-child {
  text-align: left;
  color: var(--color-text-muted);
  font-weight: 500;
}

.compare-table tbody td.highlight {
  background: rgba(99, 102, 241, 0.05);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* --- Location Grid --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.location-card {
  padding: 0.75rem 1rem;
  min-width: 0;
  width: 100%;
}

.location-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.location-card__detail {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 43fr 57fr;
  gap: 3rem;
  max-width: 1100px;
}

.contact-info__item {
  margin-bottom: 1.5rem;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-info__name {
  font-weight: 600;
  font-size: 1rem;
}

.contact-info__detail {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-info__detail a {
  color: var(--color-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.06));
}

.pricing-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 0.25rem;
}

.pricing-card__unit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-card__features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

/* --- Case Study Cards --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-card__date {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.case-card__link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.case-card__link:hover {
  text-decoration: underline;
}

/* --- Location --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
}

.location-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-card__detail {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.location-card__detail strong {
  color: var(--color-text);
}

/* --- Feature Grid (Cloud pages) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.feature-item {
  padding: 1.25rem;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.feature-item__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 0.5rem;
}

.feature-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-item__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Case Study Filters --- */
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.case-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-filter-btn {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid transparent;
  color: var(--color-text-muted);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-filter-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-text);
}

.case-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* --- Case Count --- */
.case-count {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Case List (Accordion) --- */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.case-item.open {
  border-color: rgba(99, 102, 241, 0.3);
}

.case-item__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.case-item__header:hover {
  background: rgba(99, 102, 241, 0.03);
}

.case-item__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.case-item__date {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.case-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-tag--finance {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.case-tag--public {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.case-tag--healthcare {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.case-tag--manufacturing {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.case-tag--telecom {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.case-tag--education {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}

.case-tag--demo {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.case-tag--ha {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.case-tag--dr {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.case-tag--ha_dr {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
}

.case-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.case-item__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.case-item__chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  margin-top: 0.25rem;
}

.case-item.open .case-item__chevron {
  transform: rotate(180deg);
}

.case-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.case-detail-card {
  background: rgba(99, 102, 241, 0.04);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.case-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.case-detail__text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* reCAPTCHA v3 - no visible widget */
