/* ===== HMWebs Design System ===== */

/* --- CSS Custom Properties --- */
:root {
  /* Colors - Dark Professional Palette */
  --primary-50: #e6f2ff;
  --primary-100: #b3d9ff;
  --primary-200: #80bfff;
  --primary-300: #4da6ff;
  --primary-400: #1a8cff;
  --primary-500: #0073e6;
  --primary-600: #005bb3;
  --primary-700: #004280;
  --primary-800: #002a4d;
  --primary-900: #001a33;

  --accent-50: #e0f7ff;
  --accent-100: #b3ecff;
  --accent-200: #80e0ff;
  --accent-300: #4dd4ff;
  --accent-400: #1ac9ff;
  --accent-500: #00bfff;
  --accent-600: #0099cc;
  --accent-700: #007399;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --white: #ffffff;
  --black: #000000;

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-dark: #0a1628;
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-400);

  /* Gradients - Blue/White/Gray */
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #2563b0 100%);
  --gradient-accent: linear-gradient(135deg, #00bfff 0%, #1a8cff 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-cta: linear-gradient(135deg, #00bfff, #0073e6);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --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;

  /* 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;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: var(--fs-5xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: var(--space-md);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--gray {
  background: var(--bg-light);
}

.section--accent {
  background: var(--bg-accent);
}

.section--dark {
  background: var(--gradient-hero);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-500);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section--dark .section-header .badge {
  background: rgba(0, 198, 255, 0.15);
  color: var(--accent-300);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--gray-500);
  font-size: var(--fs-md);
}

.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  background: rgba(255, 255, 255, 0.1);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 198, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.45);
}

.btn--secondary {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--primary-800);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: 18px 40px;
}

.btn--sm {
  font-size: var(--fs-xs);
  padding: 10px 22px;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--primary-200);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-100) 100%);
  border-radius: var(--radius-md);
  color: var(--primary-600);
  margin-bottom: var(--space-lg);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-100) 100%);
  padding: var(--space-4xl);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 2px solid var(--primary-200);
}

.cta-banner h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

.cta-banner p {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xl);
  color: var(--gray-700);
}

.card:hover .card__icon {
  background: var(--gradient-cta);
  color: var(--white);
  transform: scale(1.08);
}

.card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--gray-500);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Glass card variant */
.card--glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.card--glass:hover {
  border-color: rgba(0, 198, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.card--glass .card__icon {
  background: rgba(0, 198, 255, 0.15);
  color: var(--accent-300);
}

.card--glass:hover .card__icon {
  background: var(--gradient-cta);
  color: var(--white);
}

.card--glass .card__title {
  color: var(--white);
}

.card--glass .card__text {
  color: rgba(255, 255, 255, 0.65);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.nav--transparent {
  background: transparent;
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--white);
  z-index: 1001;
}

.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-cta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--white);
  font-weight: 900;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__cta {
  margin-left: var(--space-md);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: var(--space-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile overlay */
.nav__overlay {
  display: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--gradient-hero);
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-4xl);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.2) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.15) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

/* Dot grid pattern */
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
}

.hero__image {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 191, 255, 0.15);
  color: var(--accent-300);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-md);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-3xl);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--white);
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* --- Pricing Card --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  border: 2px solid var(--accent-500);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card__name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-xl);
}

.pricing-card__price {
  margin-bottom: var(--space-xl);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--gray-900);
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--gray-500);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.pricing-card__feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.testimonial__stars {
  color: var(--warning);
  margin-bottom: var(--space-md);
  font-size: var(--fs-lg);
}

.testimonial__text {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.testimonial__name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--gray-900);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 var(--space-2xl);
  margin-top: var(--space-4xl);
  border-top: 1px solid var(--gray-800);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  max-width: 300px;
  margin-top: var(--space-md);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--white);
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent-300);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--accent-500);
  color: var(--white);
  transform: translateY(-2px);
}

/* Page Header */
.page-header {
  background: var(--gradient-hero);
  color: var(--white);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  margin-bottom: var(--space-md);
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  position: relative;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a:hover {
  color: var(--accent-300);
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Feature List --- */
.feature-list {
  display: grid;
  gap: var(--space-lg);
}

.feature-list__item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.feature-list__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-list__title {
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.feature-list__text {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-md);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 200ms;
}

.delay-3 {
  transition-delay: 300ms;
}

.delay-4 {
  transition-delay: 400ms;
}

.delay-5 {
  transition-delay: 500ms;
}

.delay-6 {
  transition-delay: 600ms;
}

/* --- Misc --- */
.divider {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: var(--space-3xl) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn--primary {
  background: var(--primary-500);
  color: var(--white);
  border-color: var(--primary-500);
}

.btn--primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border-color: var(--gray-100);
}

.btn--secondary:hover {
  background: var(--gray-200);
  border-color: var(--gray-200);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn--outline {
  background: transparent;
  color: var(--primary-500);
  border-color: var(--primary-500);
}

.btn--outline:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.1);
}

.btn--text {
  background: transparent;
  color: var(--primary-500);
  border-color: transparent;
  padding: var(--space-xs) var(--space-sm);
}

.btn--text:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}

.tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-500);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-50) 100%);
  border-left: 4px solid var(--primary-500);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--primary-700);
}

/* Two-column feature layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.two-col__visual {
  position: relative;
}

.two-col__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-300);
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.two-col__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Table styles */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th {
  background: var(--primary-900);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
}

.table-wrap td {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap tr:nth-child(even) {
  background: var(--gray-50);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  h1 {
    font-size: var(--fs-3xl);
  }

  h2 {
    font-size: var(--fs-2xl);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--primary-900);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    gap: var(--space-xs);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--fs-base);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
  }

  .nav__overlay--active {
    opacity: 1;
    visibility: visible;
  }

  .nav__links--active {
    right: 0;
  }

  /* Toggle animation */
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__container {
    flex-direction: column;
    gap: var(--space-3xl);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__image {
    order: -1;
  }

  .hero__image svg {
    max-width: 350px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero__stat {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* CTA banner mobile */
  .cta-banner {
    padding: var(--space-2xl);
  }

  .cta-banner h2 {
    font-size: var(--fs-2xl);
  }

  /* Page header mobile */
  .page-header {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  /* Pricing */
  .pricing-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--fs-2xl);
  }

  .hero__stat-number {
    font-size: var(--fs-xl);
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .btn--lg {
    padding: 16px 30px;
  }
}