/* ===== H24 Technology — Design IT Services Website ===== */

:root {
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-400: #60a5fa;
  --cyan-400: #38bdf8;
  --accent: #3b82f6;
  --gradient-btn: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
  --header-h: 72px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border: rgba(59, 130, 246, 0.18);
  --border-light: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --header-bg: rgba(255, 255, 255, 0.88);
  --nav-active-bg: rgba(15, 23, 42, 0.06);
  --surface-subtle: rgba(15, 23, 42, 0.04);
  --surface-muted: rgba(15, 23, 42, 0.06);
  --btn-outline-bg: rgba(15, 23, 42, 0.02);
  --btn-outline-border: rgba(100, 116, 139, 0.35);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --dropdown-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --about-card-header-bg: rgba(15, 23, 42, 0.04);
  --gradient-text: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #060b14;
  --bg-secondary: #0a1120;
  --bg-card: #0d1526;
  --bg-card-hover: #111c32;
  --border: rgba(59, 130, 246, 0.12);
  --border-light: rgba(255, 255, 255, 0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --header-bg: rgba(6, 11, 20, 0.85);
  --nav-active-bg: rgba(255, 255, 255, 0.08);
  --surface-subtle: rgba(255, 255, 255, 0.03);
  --surface-muted: rgba(255, 255, 255, 0.06);
  --btn-outline-bg: rgba(255, 255, 255, 0.03);
  --btn-outline-border: rgba(148, 163, 184, 0.3);
  --nav-mobile-bg: rgba(6, 11, 20, 0.97);
  --dropdown-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --about-card-header-bg: rgba(0, 0, 0, 0.3);
  --gradient-text: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* ===== Typography ===== */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-btn);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.4);
}

.btn--outline {
  background: var(--btn-outline-bg);
  color: var(--text-primary);
  border: 1px solid var(--btn-outline-border);
  border-radius: var(--radius-full);
}

.btn--outline:hover {
  border-color: var(--blue-500);
  background: rgba(59, 130, 246, 0.08);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.header__inner .logo {
  justify-self: start;
}

.header__inner .nav {
  justify-self: center;
}

.header__inner .header__actions {
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
}

.logo__img--light {
  display: none;
}

html[data-theme="light"] .logo__img--dark {
  display: none;
}

html[data-theme="light"] .logo__img--light {
  display: block;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}

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

.nav__link--active {
  color: var(--text-primary);
  background: var(--nav-active-bg);
}

.nav__dropdown .nav__link svg {
  opacity: 0.7;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-chevron {
  transition: transform 0.2s ease;
}

.nav__dropdown.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--dropdown-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav__dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown:hover .nav__dropdown-chevron,
.nav__dropdown.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle__icon--sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, black 10%, transparent 75%);
}

.hero__glow {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 60px 24px 100px;
}

.hero__content {
  width: 100%;
  max-width: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 28px;
}

.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-500);
}

.hero__title {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 100%;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Dashboard Mockup ===== */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.hero__visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.55) 0%,
    rgba(37, 99, 235, 0.35) 30%,
    rgba(59, 130, 246, 0.18) 50%,
    rgba(59, 130, 246, 0.06) 70%,
    transparent 85%
  );
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  transform: scale(0.88);
  transform-origin: center center;
  /* Keep the dashboard "app" dark in both themes */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

.dashboard__window {
  background: #0f1729;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(59, 130, 246, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.dashboard__titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard__dots {
  display: flex;
  gap: 5px;
}

.dashboard__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dashboard__dot--red { background: #ef4444; }
.dashboard__dot--yellow { background: #eab308; }
.dashboard__dot--green { background: #22c55e; }

.dashboard__title {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dashboard__body {
  display: flex;
  min-height: 210px;
}

.dashboard__sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard__nav-item {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard__nav-item--active {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.dashboard__main {
  flex: 1;
  padding: 12px;
}

.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.dashboard__metric {
  padding: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.dashboard__metric-label {
  display: block;
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.dashboard__metric-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard__metric-change {
  font-size: 0.6rem;
  font-weight: 600;
}

.dashboard__metric-change--up {
  color: #22c55e;
}

.dashboard__table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.dashboard__table-head {
  padding: 8px 11px;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 11px;
  font-size: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard__row:last-child {
  border-bottom: none;
}

.dashboard__row span:first-child {
  color: var(--text-secondary);
}

.dashboard__row span:nth-child(2) {
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard__status {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.dashboard__status--paid {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.dashboard__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.dashboard__float--left {
  bottom: 10px;
  left: -24px;
}

.dashboard__float--right {
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
}

.dashboard__float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.dashboard__float-icon--green {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.dashboard__float-icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-600);
}

.dashboard__float-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.dashboard__float-value {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
}

/* ===== Stats ===== */
.stats {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  background: var(--bg-card);
  text-align: center;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

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

.section__header {
  margin-bottom: 56px;
  max-width: 600px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  color: var(--blue-400);
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-400);
  transition: color 0.2s;
}

.service-card__link:hover {
  color: var(--cyan-400);
}

/* ===== Pricing ===== */
#pricing {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.pricing-tabs__btn {
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.pricing-tabs__btn:hover {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.pricing-tabs__btn--active {
  color: #fff;
  background: var(--gradient-btn);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.pricing-panel {
  display: none;
}

.pricing-panel--active {
  display: block;
}

.pricing-panel[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, var(--bg-card) 40%);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-btn);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 2.8em;
}

.pricing-card__price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pricing-card__period {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing__note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing__note a {
  color: var(--blue-400);
  font-weight: 600;
  transition: color 0.2s;
}

.pricing__note a:hover {
  color: var(--cyan-400);
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  color: var(--blue-400);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__card-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: var(--about-card-header-bg);
  border-bottom: 1px solid var(--border);
}

.about__card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.about__card-dot--red { background: #ef4444; }
.about__card-dot--yellow { background: #eab308; }
.about__card-dot--green { background: #22c55e; }

.about__card-body {
  padding: 28px;
}

.about__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.about__metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about__metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-400);
}

.about__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin: 20px 0;
  padding: 0 4px;
}

.about__bar {
  flex: 1;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}

.about__bar--active {
  background: var(--gradient-btn);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ===== Process ===== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.process-step:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.process-step__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.process-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Portfolio ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.portfolio-filters__btn {
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.portfolio-filters__btn:hover {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.portfolio-filters__btn--active {
  color: #fff;
  background: var(--gradient-btn);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.portfolio-filters__btn--active:hover {
  color: #fff;
  border-color: transparent;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 24px;
}

.portfolio-card__visual--erp {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d1526 100%);
}

.portfolio-card__visual--mobile {
  background: linear-gradient(135deg, #1a365d 0%, #0c1929 100%);
}

.portfolio-card__visual--web {
  background: linear-gradient(135deg, #1e40af 0%, #0a1628 100%);
}

.portfolio-card__badges {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.portfolio-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.portfolio-card__badge--erp {
  color: #fff;
  background: var(--blue-600);
}

.portfolio-card__badge--mobile {
  color: #fff;
  background: #0891b2;
}

.portfolio-card__badge--web {
  color: #fff;
  background: #7c3aed;
}

.portfolio-card__badge--industry {
  color: var(--text-secondary);
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
}

html[data-theme="light"] .portfolio-card__visual--erp {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

html[data-theme="light"] .portfolio-card__visual--mobile {
  background: linear-gradient(135deg, #cffafe 0%, #ecfeff 100%);
}

html[data-theme="light"] .portfolio-card__visual--web {
  background: linear-gradient(135deg, #ddd6fe 0%, #ede9fe 100%);
}

.portfolio-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
}

.portfolio-card__icon--erp {
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.1);
}

.portfolio-card__icon--mobile {
  color: var(--cyan-400);
  background: rgba(56, 189, 248, 0.1);
}

.portfolio-card__icon--web {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.1);
}

.portfolio-card__content {
  padding: 24px;
}

.portfolio-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-btn);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

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

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.cta__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta__form {
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: left;
}

.cta__label {
  display: block;
}

.cta__label-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.cta__textarea {
  resize: vertical;
  min-height: 100px;
}

.cta__form .btn {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cta__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}

.cta__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cta__input--full {
  grid-column: 1 / -1;
}

.cta__success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
}

@media (max-width: 600px) {
  .cta__form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
}

.footer__links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

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

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

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Mobile Nav ===== */
.nav--open {
  display: block !important;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nav-mobile-bg);
  backdrop-filter: blur(16px);
  padding: 32px 24px;
  z-index: 999;
}

.nav--open .nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.nav--open .nav__link {
  font-size: 1.15rem;
  color: var(--text-primary);
  width: 100%;
}

.nav--open .nav__dropdown {
  width: 100%;
}

.nav--open .nav__dropdown-menu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-width: 0;
  width: 100%;
  margin-top: 4px;
  padding: 4px 0 4px 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: none;
}

.nav--open .nav__dropdown.is-open .nav__dropdown-menu {
  display: block;
}

.nav--open .nav__dropdown-menu a {
  font-size: 1rem;
  padding: 10px 16px;
}

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

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero__visual::before {
    width: 400px;
    height: 400px;
  }

  .dashboard {
    max-width: 360px;
    transform: scale(0.92);
  }

  .dashboard__float--left {
    left: -10px;
    bottom: 10px;
  }

  .dashboard__float--right {
    right: -10px;
  }

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

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    order: -1;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .nav__dropdown:hover .nav__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav__dropdown:hover .nav__dropdown-chevron {
    transform: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .btn--sm {
    display: none;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard__float {
    padding: 10px 12px;
  }

  .dashboard__float--left {
    left: 0;
    bottom: -10px;
  }

  .dashboard__float--right {
    right: 0;
    top: auto;
    bottom: 60px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}
