/* ============================================================
   소리튠 자동화 (SoriTune Automation) — Main Stylesheet
   H&M-inspired catalog-grid / cosmic color scheme
   ============================================================ */

/* ----------------------------------------------------------
   0. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #E51937;
  --primary-dark: #c41430;
  --primary-light: #ff3d57;
  --secondary: #667eea;
  --tertiary: #764ba2;
  --accent: #f093fb;

  /* Cosmic palette */
  --cosmic-dark: #0d1117;
  --cosmic-navy: #161b33;
  --cosmic-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 50%, var(--accent) 100%);
  --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);

  /* Text */
  --text-dark: #ffffff;
  --text-body: #c8ccd4;
  --text-light: #8892a4;
  --text-white: #ffffff;
  --text-muted: #b0b8c8;

  /* Backgrounds */
  --bg-white: #0a0a1a;
  --bg-light: #0f0f24;
  --bg-section: #12122a;
  --bg-dark: var(--cosmic-dark);
  --bg-overlay: rgba(13, 17, 23, 0.7);

  /* Borders */
  --border-light: rgba(255,255,255,0.08);
  --border-medium: rgba(255,255,255,0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  --shadow-primary: 0 4px 20px rgba(229, 25, 55, 0.3);
  --shadow-cosmic: 0 4px 30px rgba(102, 126, 234, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --radius-circle: 50%;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;
  --fs-6xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-overlay: 1500;
  --z-modal: 2000;
  --z-toast: 2500;
  --z-tooltip: 3000;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-body);
  background-color: #0a0a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--primary);
  color: var(--text-white);
}

::-moz-selection {
  background-color: var(--primary);
  color: var(--text-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f0f24;
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-body);
}

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

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

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--space-md);
}

strong {
  font-weight: 700;
}

/* ----------------------------------------------------------
   2. Layout / Container
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-sm {
  max-width: 800px;
}

.container-lg {
  max-width: 1400px;
}

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

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

.section--gray {
  background-color: var(--bg-section);
}

.section--dark {
  background-color: var(--cosmic-dark);
  color: var(--text-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--text-white);
}

.section--dark p {
  color: var(--text-muted);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section__subtitle {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-lg);
}

.section__desc {
  font-size: var(--fs-md);
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   3. Header
   ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-header);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

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

.header__logo img {
  height: 36px;
  width: auto;
}

.header__logo-text {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.header__logo-text span {
  color: var(--primary);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav__link--active {
  color: var(--primary);
  font-weight: 600;
}

.nav__link .icon-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav__item:hover .icon-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #161630;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

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

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition: var(--transition);
}

.nav__dropdown-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
}

.nav__dropdown-link .icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.nav__dropdown-link:hover .icon {
  background: rgba(229, 25, 55, 0.08);
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__cta {
  display: inline-flex;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.05);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger__line + .hamburger__line {
  margin-top: 5px;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-header) - 1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay--active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-header);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: var(--space-xl);
}

.mobile-nav--active {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: rgba(255,255,255,0.05);
  font-size: var(--fs-xl);
  color: #ffffff;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

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

.mobile-nav__cta {
  margin-top: var(--space-2xl);
}

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--fs-base);
}

.btn--sm {
  padding: 8px 20px;
  font-size: var(--fs-xs);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Primary (Red) */
.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(229, 25, 55, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary (Outline) */
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(229, 25, 55, 0.04);
}

/* Gradient (Cosmic) */
.btn-gradient {
  background: var(--cosmic-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-cosmic);
}

.btn-gradient:hover {
  box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

/* White */
.btn-white {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Ripple effect container */
.btn .ripple {
  position: absolute;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

/* ----------------------------------------------------------
   5. Hero Slider
   ---------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--cosmic-dark);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero__slide--active .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.85) 0%,
    rgba(22, 27, 51, 0.6) 50%,
    rgba(13, 17, 23, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: var(--text-white);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.hero__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  max-width: 700px;
}

.hero__title em {
  font-style: normal;
  background: var(--cosmic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Pagination dots */
.hero__pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 5;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot--active {
  background: var(--primary);
  width: 32px;
  border-radius: var(--radius-pill);
}

/* Navigation arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-circle);
  color: var(--text-white);
  font-size: var(--fs-xl);
  z-index: 5;
  cursor: pointer;
  transition: var(--transition);
}

.hero__arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* ----------------------------------------------------------
   6. Catalog Grid (H&M Style)
   ---------------------------------------------------------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.catalog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.catalog-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
  transition: var(--transition);
  cursor: pointer;
}

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

.catalog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.08);
}

.catalog-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-white);
  background: var(--primary);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: var(--transition);
}

.catalog-card:hover .catalog-card__overlay {
  opacity: 1;
}

.catalog-card__body {
  padding: var(--space-lg);
}

.catalog-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.catalog-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.catalog-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.catalog-card__price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
}

.catalog-card__action {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ----------------------------------------------------------
   7. Service Cards
   ---------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cosmic-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 25, 55, 0.08), rgba(102, 126, 234, 0.08));
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-lg);
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(229, 25, 55, 0.15), rgba(102, 126, 234, 0.15));
  transform: scale(1.1);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   8. Feature Steps
   ---------------------------------------------------------- */
.feature-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.feature-step {
  text-align: center;
  position: relative;
}

/* Connector line */
.feature-step::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.3;
}

.feature-step:last-child::after {
  display: none;
}

.feature-step__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: var(--primary-gradient);
  color: var(--text-white);
  font-size: var(--fs-xl);
  font-weight: 800;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-primary);
}

.feature-step__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-step__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
}

/* ----------------------------------------------------------
   9. Mobile App Mockup Section
   ---------------------------------------------------------- */
.app-mockup-section {
  position: relative;
  overflow: hidden;
}

.app-mockup-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
}

.app-mockup-content {
  flex: 1;
}

.app-mockup-phone {
  flex-shrink: 0;
  width: 300px;
  position: relative;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: var(--cosmic-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--cosmic-dark);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-frame__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0a0a1a;
}

.phone-frame__screen img {
  width: 100%;
  animation: phone-scroll 8s ease-in-out infinite;
}

@keyframes phone-scroll {
  0%, 15% { transform: translateY(0); }
  35%, 50% { transform: translateY(-30%); }
  70%, 85% { transform: translateY(-60%); }
  100% { transform: translateY(0); }
}

/* ----------------------------------------------------------
   10. Stats / Counter Section
   ---------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-item__number {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
  background: var(--cosmic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ----------------------------------------------------------
   11. Testimonials
   ---------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-lg);
}

.testimonial-card__star {
  color: #fbbf24;
  font-size: var(--fs-md);
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
  position: relative;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: var(--fs-4xl);
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
  font-style: normal;
  font-weight: 700;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.testimonial-card__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

/* ----------------------------------------------------------
   12. Blog Cards
   ---------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(10,10,26,0.85);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #ffffff;
  box-shadow: none;
}

.blog-card__body {
  padding: var(--space-lg);
}

.blog-card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--secondary);
  background: rgba(102, 126, 234, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.blog-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.blog-card__read-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card__read-more:hover {
  gap: 8px;
}

/* ----------------------------------------------------------
   13. CTA Sections
   ---------------------------------------------------------- */
.cta-section {
  padding: var(--space-5xl) 0;
  background: var(--cosmic-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-section__title {
  font-size: var(--fs-4xl);
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.cta-section__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   14. Contact Form
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.form-group {
  position: relative;
  margin-bottom: var(--space-xl);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  font-size: var(--fs-base);
  color: #ffffff;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(229, 25, 55, 0.08);
}

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

/* Floating label */
.form-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-base);
  color: var(--text-light);
  pointer-events: none;
  transition: var(--transition);
  background: #0a0a1a;
  padding: 0 4px;
}

.form-group--textarea .form-label {
  top: 20px;
  transform: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label {
  top: 0;
  transform: translateY(-50%);
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--primary);
  margin-top: var(--space-xs);
  display: none;
}

.form-group--error .form-input,
.form-group--error .form-textarea {
  border-color: var(--primary);
}

.form-group--error .form-error {
  display: block;
}

/* ----------------------------------------------------------
   15. Footer
   ---------------------------------------------------------- */
.footer {
  background: var(--cosmic-dark);
  color: var(--text-muted);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-top: var(--space-lg);
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: var(--fs-md);
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--primary);
  color: var(--text-white);
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

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

.footer__links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

/* Newsletter */
.footer__newsletter {
  margin-top: var(--space-lg);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.footer__newsletter-input {
  flex: 1;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-white);
}

.footer__newsletter-input::placeholder {
  color: var(--text-muted);
}

.footer__newsletter-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.footer__newsletter-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.footer__newsletter-btn:hover {
  background: var(--primary-dark);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--fs-xs);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  color: var(--text-muted);
}

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

/* ----------------------------------------------------------
   16. Badges & Tags
   ---------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}

.badge--primary {
  background: rgba(229, 25, 55, 0.1);
  color: var(--primary);
}

.badge--secondary {
  background: rgba(102, 126, 234, 0.1);
  color: var(--secondary);
}

.badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.badge--dark {
  background: var(--cosmic-dark);
  color: var(--text-white);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 500;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-body);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(229, 25, 55, 0.04);
}

/* ----------------------------------------------------------
   17. Breadcrumb
   ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  padding: var(--space-md) 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
}

.breadcrumb__item a {
  color: var(--text-body);
}

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

.breadcrumb__item--active {
  color: var(--text-dark);
  font-weight: 600;
}

.breadcrumb__separator {
  color: var(--text-light);
  font-size: var(--fs-xs);
}

/* ----------------------------------------------------------
   18. Page Header / Banner
   ---------------------------------------------------------- */
.page-header {
  position: relative;
  padding: var(--space-5xl) 0 var(--space-4xl);
  background: var(--cosmic-dark);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  opacity: 0.15;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header__title {
  font-size: var(--fs-4xl);
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.page-header__desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   19. Tables (Pricing / Comparison)
   ---------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.table th,
.table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  background: rgba(255,255,255,0.05);
  font-weight: 700;
  color: var(--text-dark);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.table--striped tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.table__highlight {
  background: rgba(229, 25, 55, 0.04) !important;
}

.table__check {
  color: #10b981;
  font-weight: 700;
}

.table__cross {
  color: var(--text-light);
}

/* Pricing table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pricing-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  padding: var(--space-2xl);
  text-align: center;
  transition: var(--transition);
}

.pricing-card--popular {
  border-color: var(--primary);
  position: relative;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 4px 16px;
  background: var(--primary);
  color: var(--text-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card__plan {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.pricing-card__price span {
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.pricing-card__features li::before {
  content: '\2713';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   20. Accordion / FAQ
   ---------------------------------------------------------- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--border-light);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

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

.accordion__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: rgba(255,255,255,0.05);
  font-size: var(--fs-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion__item--active .accordion__icon {
  background: var(--primary);
  color: var(--text-white);
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__item--active .accordion__content {
  max-height: 500px;
}

.accordion__body {
  padding-bottom: var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   21. Timeline
   ---------------------------------------------------------- */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline__content {
  width: calc(50% - 40px);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-circle);
  background: var(--primary);
  border: 3px solid #0a0a1a;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline__date {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.timeline__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
}

/* ----------------------------------------------------------
   22. Modal / Popup
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay--active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #12122a;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}

.modal-overlay--active .modal {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) 0;
}

.modal__title {
  font-size: var(--fs-xl);
  font-weight: 700;
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--text-light);
  font-size: var(--fs-xl);
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.modal__body {
  padding: var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: 0 var(--space-xl) var(--space-xl);
}

/* ----------------------------------------------------------
   23. Toast Notification
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: #12122a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary);
  max-width: 380px;
  animation: toast-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast--success { border-left-color: #10b981; }
.toast--error   { border-left-color: var(--primary); }
.toast--warning { border-left-color: #f59e0b; }

.toast--exit {
  animation: toast-out 0.3s ease forwards;
}

.toast__icon {
  font-size: var(--fs-lg);
  flex-shrink: 0;
  margin-top: 2px;
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.toast__message {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

.toast__close {
  font-size: var(--fs-md);
  color: var(--text-light);
  cursor: pointer;
  flex-shrink: 0;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* ----------------------------------------------------------
   24. Loading Spinner
   ---------------------------------------------------------- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: var(--radius-circle);
  animation: spin 0.8s linear infinite;
}

.spinner--sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner--lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

.spinner--white {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: var(--text-white);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loading-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------
   25. Back to Top
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-circle);
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-primary);
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ----------------------------------------------------------
   26. Utility Classes
   ---------------------------------------------------------- */

/* Text alignment */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Text color */
.text-primary   { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-dark      { color: var(--text-dark); }
.text-body      { color: var(--text-body); }
.text-light     { color: var(--text-light); }
.text-white     { color: var(--text-white); }

/* Font weight */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Font size */
.fs-sm   { font-size: var(--fs-sm); }
.fs-base { font-size: var(--fs-base); }
.fs-md   { font-size: var(--fs-md); }
.fs-lg   { font-size: var(--fs-lg); }
.fs-xl   { font-size: var(--fs-xl); }

/* Spacing */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

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

.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }

/* Display */
.d-none     { display: none; }
.d-block    { display: block; }
.d-flex     { display: flex; }
.d-grid     { display: grid; }
.d-inline   { display: inline; }
.d-inline-flex { display: inline-flex; }

/* Flexbox */
.flex-wrap    { flex-wrap: wrap; }
.flex-column  { flex-direction: column; }
.align-center { align-items: center; }
.align-start  { align-items: flex-start; }
.align-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Width */
.w-100 { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }

/* Border radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-circle); }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }

/* Visibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

/* Separator / Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin: var(--space-xl) 0;
}

.divider--gradient {
  height: 2px;
  background: var(--cosmic-gradient);
}

/* Image utilities */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* ============================================================
   HOME PAGE — Hero Slider, Sections, Cards
   ============================================================ */

/* --- Hero Slider --- */
.hero-slider { position: relative; width: 100%; overflow: hidden; }
.slider-viewport { position: relative; width: 100%; height: 85vh; min-height: 500px; max-height: 800px; overflow: hidden; }
.slider-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slider-track .slide { flex: 0 0 100%; position: relative; overflow: hidden; }
.slide-image { position: absolute; inset: 0; }
.slide-image img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,0,26,0.85) 0%, rgba(10,0,26,0.4) 50%, rgba(229,25,55,0.15) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.slide-tag { display: inline-block; background: rgba(229,25,55,0.15); color: #E51937; font-size: 13px; font-weight: 700; padding: 6px 18px; border-radius: 30px; border: 1px solid rgba(229,25,55,0.3); margin-bottom: 20px; width: fit-content; letter-spacing: 1px; text-transform: uppercase; }
.slide-content h1,
.slide-content h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; color: #fff; line-height: 1.15; margin: 0 0 16px; letter-spacing: -1px; }
.slide-heading-alt { font-size: clamp(32px, 5vw, 64px); font-weight: 900; color: #fff; line-height: 1.15; margin: 0 0 16px; letter-spacing: -1px; }
.slide-desc { font-size: clamp(15px, 1.8vw, 20px); color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.7; margin: 0 0 32px; }

/* --- Buttons: glow, outline, outline-light --- */
.btn-glow { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: #E51937; color: #fff; font-size: 15px; font-weight: 700; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 25px rgba(229,25,55,0.35); text-decoration: none; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(229,25,55,0.5); background: #cc1530; }
.btn-arrow { width: 18px; height: 18px; transition: transform 0.3s; display: inline-block; margin-left: 4px; }
.btn-glow:hover .btn-arrow { transform: translateX(4px); }
.btn-lg { padding: 18px 42px; font-size: 16px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); font-size: 15px; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline-light { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); font-size: 15px; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn-outline-light:hover { background: rgba(255,255,255,0.2); }

/* --- Slider Controls --- */
.slider-controls { position: absolute; bottom: 32px; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: center; gap: 24px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; }
.slider-btn:hover { background: rgba(229,25,55,0.8); border-color: #E51937; }
.slider-dots { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; z-index: 10; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.slider-dots .dot.active { background: #E51937; width: 28px; border-radius: 5px; }
.slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.1); z-index: 10; }
.slider-progress-bar { height: 100%; background: #E51937; width: 0; transition: width linear; }

/* --- Section Styles --- */
.section-services,
.section-stats,
.section-process,
.section-app-preview,
.section-blog,
.section-cta,
.section-trust,
.section-overview,
.section-values,
.section-history,
.section-team { padding: clamp(64px, 10vw, 120px) 0; position: relative; }

.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-label { display: inline-block; font-size: 12px; font-weight: 700; color: #E51937; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: #fff; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 16px; }
.section-subtitle { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.55); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-header--light .section-title { color: #fff; }
.section-header--light .section-subtitle { color: rgba(255,255,255,0.7); }
.section-footer { text-align: center; margin-top: 48px; }

/* --- Catalog Grid (home page) --- */
.catalog-card__link { display: block; text-decoration: none; color: inherit; }
.catalog-card__number { display: inline-block; font-size: 13px; font-weight: 800; color: #E51937; letter-spacing: 0.05em; margin-bottom: 8px; }
.catalog-card__cta { font-size: 14px; font-weight: 600; color: #E51937; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }
.catalog-card--wide { grid-column: span 2; }

/* --- Stat Cards --- */
.stat-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 40px 32px; text-align: center; transition: all 0.3s; }
.stat-card:hover { transform: translateY(-6px); border-color: rgba(229,25,55,0.2); background: rgba(255,255,255,0.05); }
.stat-card__icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; border-radius: 50%; background: rgba(229,25,55,0.1); color: #E51937; }
.stat-card__number { font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; background: linear-gradient(135deg, #667eea, #764ba2, #f093fb); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card__label { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.stat-card__desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* --- Energy Vortex Background --- */
.energy-vortex-bg { position: relative; background: #0a0a1a; overflow: hidden; }
.energy-vortex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.4; }

/* --- Process Timeline --- */
.process-timeline { display: flex; gap: 0; position: relative; justify-content: center; }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.process-step__connector { display: flex; align-items: center; width: 100%; margin-bottom: 24px; }
.process-step__line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); }
.process-step__line--end { background: transparent; }
.process-step:first-child .process-step__line:first-child { background: transparent; }
.process-step__dot { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: linear-gradient(135deg, #E51937, #cc1530); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 4px 20px rgba(229,25,55,0.3); }
.process-step__card { padding: 0 16px; }
.process-step__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.process-step__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-step__desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* --- App Preview --- */
.app-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.app-preview__device { position: relative; display: flex; justify-content: center; gap: 24px; }
.device-frame { position: relative; border-radius: 24px; overflow: hidden; background: #0d1117; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 16px 60px rgba(0,0,0,0.4); }
.device-frame--phone { width: 240px; height: 480px; border-radius: 32px; }
.device-frame--tablet { width: 320px; height: 420px; border-radius: 20px; }
.device-frame__screen { width: 100%; height: 100%; overflow: hidden; }
.device-frame__screen img { width: 100%; height: 100%; object-fit: cover; }
.device-frame__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: #0d1117; border-radius: 0 0 14px 14px; z-index: 2; }
.app-preview__content { }
.app-preview__intro { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }

/* --- Feature List --- */
.feature-list { list-style: none; padding: 0; margin: 0 0 40px; }
.feature-list__item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.feature-list__item:last-child { border-bottom: none; }
.feature-list__icon { width: 44px; height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(229,25,55,0.1); color: #E51937; }
.feature-list__text { }
.feature-list__text strong { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.feature-list__text span { font-size: 14px; color: rgba(255,255,255,0.5); }

/* --- Blog Section (home) --- */
.blog-card__link { display: block; text-decoration: none; color: inherit; }
.blog-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%); opacity: 0; transition: opacity 0.3s; }
.blog-card:hover .blog-card__overlay { opacity: 1; }
.blog-empty { grid-column: 1 / -1; text-align: center; padding: 48px; color: rgba(255,255,255,0.4); }

/* --- CTA Section --- */
.section-cta { padding: 0; }
.cta-gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #E51937 100%); padding: clamp(64px, 10vw, 120px) 24px; position: relative; overflow: hidden; }
.cta-gradient-bg::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-desc { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Trust Section --- */
.section-trust { background: #0a0a1a; }
.trust-content { text-align: center; }
.trust-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: #fff; margin: 0 0 16px; }
.trust-desc { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.55); max-width: 600px; margin: 0 auto 48px; line-height: 1.7; }
.trust-logos { overflow: hidden; padding: 24px 0; }
.trust-logo-track { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; justify-content: center; }

/* --- About Page specific --- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.overview-content { }
.overview-mission,
.overview-vision { margin-bottom: 32px; }
.overview-label { font-size: 14px; font-weight: 700; color: #E51937; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.overview-label__en { font-weight: 500; color: rgba(255,255,255,0.4); margin-left: 8px; }
.overview-text { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.8; }
.overview-text strong { color: #fff; }
.overview-stats-inline { display: flex; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.overview-stat { text-align: center; }
.overview-stat__number { display: block; font-size: 28px; font-weight: 900; color: #fff; }
.overview-stat__label { font-size: 13px; color: rgba(255,255,255,0.5); }
.overview-visual { position: relative; }
.overview-image-frame { position: relative; border-radius: 20px; overflow: hidden; }
.overview-image-frame img { width: 100%; display: block; }
.overview-image-accent { position: absolute; bottom: -16px; right: -16px; width: 120px; height: 120px; background: linear-gradient(135deg, #E51937, #764ba2); border-radius: 20px; z-index: -1; }
.overview-badge { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; margin-top: 24px; }
.overview-badge__icon { color: #10b981; }
.overview-badge__text { font-size: 14px; font-weight: 600; color: #fff; }

/* --- Values Grid --- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 40px 28px; text-align: center; transition: all 0.3s; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(229,25,55,0.2); }
.value-card__icon-wrap { margin-bottom: 24px; }
.value-card__icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin: 0 auto; border-radius: 50%; background: rgba(229,25,55,0.1); color: #E51937; }
.value-card__title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.value-card__title-en { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.value-card__desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* --- History Timeline --- */
.history-timeline { position: relative; padding-left: 80px; }
.history-timeline::before { content: ''; position: absolute; left: 64px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.08); }
.history-item { position: relative; margin-bottom: 48px; display: flex; gap: 32px; }
.history-item:last-child { margin-bottom: 0; }
.history-item__year-wrap { position: absolute; left: -80px; top: 4px; }
.history-item__year { font-size: 14px; font-weight: 800; color: #E51937; }
.history-item__connector { position: absolute; left: -16px; top: 8px; display: flex; flex-direction: column; align-items: center; }
.history-item__dot { width: 12px; height: 12px; border-radius: 50%; background: #E51937; border: 3px solid #0a0a1a; box-shadow: 0 0 0 2px rgba(229,25,55,0.3); }
.history-item__line { width: 2px; flex: 1; background: rgba(255,255,255,0.08); }
.history-item__line--end { background: transparent; }
.history-item__card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 24px 28px; flex: 1; }
.history-item__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.history-item__desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* --- Team Grid --- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 40px 28px; text-align: center; transition: all 0.3s; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(229,25,55,0.2); }
.team-card__avatar { margin-bottom: 24px; }
.team-card__avatar-placeholder { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 auto; border-radius: 50%; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.3); }
.team-card__info { }
.team-card__role { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.team-card__dept { display: block; font-size: 12px; font-weight: 600; color: #E51937; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.team-card__desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* --- Page Header enhancements for dark --- */
.page-header__bg { position: absolute; inset: 0; }
.page-header__gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15)); }
.page-header__subtitle { font-size: 18px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.breadcrumb__item { font-size: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb__item a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.breadcrumb__item a:hover { color: #fff; }
.breadcrumb__item--active { color: #fff; font-weight: 600; }
.breadcrumb__separator { color: rgba(255,255,255,0.3); display: flex; align-items: center; }

/* ============================================================
   END style.css
   ============================================================ */
