/* ============================================================
   Workshop Plan — Styles
   workshopplan.co.uk
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --color-navy: #0f172a;
  --color-navy-light: #1a2744;
  --color-slate: #1e293b;
  --color-blue: #3b82f6;
  --color-blue-dark: #1d4ed8;
  --color-blue-hover: #2563eb;
  --color-blue-light: #dbeafe;
  --color-blue-glow: rgba(59, 130, 246, 0.25);
  --color-amber: #f59e0b;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-white: #ffffff;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 40px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(59, 130, 246, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section__header::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue);
  border-radius: 2px;
  margin: 1.25rem auto 0;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section__title--light {
  color: var(--color-white);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  max-width: 540px;
  margin: 0 auto;
}

.section__subtitle--light {
  color: var(--color-gray-400);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 2px 8px var(--color-blue-glow);
}

.btn--primary:hover {
  background: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-blue-glow);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--color-blue-glow);
}

.btn--sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.9375rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  width: 28px;
  height: 28px;
  display: block;
}

.nav__logo-text strong {
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__links a {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover,
.nav__links a.nav__link--active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__mobile-cta {
  display: none;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    var(--color-navy);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 1.5rem 3rem;
}

.hero__logo {
  width: 140px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--color-gray-300);
  margin-bottom: 2.5rem;
}

.hero__cta {
  margin-bottom: 1.25rem;
}

/* ============================================================
   Overview (index page CTA cards)
   ============================================================ */
.overview {
  background: var(--color-gray-50);
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.overview-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-blue-light);
}

.overview-card:hover::before {
  opacity: 1;
}

.overview-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  border-radius: var(--radius-md);
  margin: 0 auto 1.25rem;
  transition: background 0.3s ease;
}

.overview-card:hover .overview-card__icon {
  background: #bfdbfe;
}

.overview-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  text-align: center;
}

.overview-card__desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  text-align: center;
}

/* ============================================================
   Features
   ============================================================ */
.features {
  background: var(--color-gray-50);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-blue);
  opacity: 0;
  transition: opacity 0.3s var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-blue-light);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: background 0.3s var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: #bfdbfe;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* ============================================================
   How it Works
   ============================================================ */
.how-it-works {
  background: var(--color-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

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

.step__number {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--color-blue-light), 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: box-shadow 0.3s var(--transition), background 0.3s var(--transition);
}

.step:hover .step__number {
  box-shadow: 0 0 0 10px #bfdbfe, 0 6px 20px rgba(15, 23, 42, 0.2);
  background: var(--color-blue);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  transition: color 0.3s var(--transition);
}

.step:hover .step__title {
  color: var(--color-blue);
}

.step__connector {
  display: none;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  background: var(--color-gray-50);
}

.pricing__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.pricing-card__header {
  padding: 2.5rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
    var(--color-navy);
  color: var(--color-white);
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.pricing-card__price {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-blue);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.pricing-card__period {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-gray-400);
}

.pricing-card__model {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-top: 0.25rem;
}

.pricing-card__body {
  padding: 2rem;
}

.pricing-card__features {
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  border-bottom: 1px solid var(--color-gray-100);
}

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

.pricing-card__features svg {
  flex-shrink: 0;
}

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

.pricing__download {
  text-align: center;
}

/* System Requirements */
.system-req {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
}

.system-req__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.system-req__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.system-req__list li {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  padding-left: 1.5rem;
  position: relative;
}

.system-req__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-blue);
}

/* ============================================================
   Page Hero (sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
  padding: 5.5rem 0 3rem;
  text-align: center;
}

.page-hero--compact {
  padding: 4.5rem 0 2rem;
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(60deg, var(--color-blue) 1px, transparent 1px),
    linear-gradient(-60deg, var(--color-blue) 1px, transparent 1px);
  background-size: 60px 104px;
  background-position: 0 0, 30px 52px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.2) 100%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-400);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   Slideshow
   ============================================================ */
.screenshots {
  background: var(--color-gray-50);
}

.slideshow {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.slideshow__viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-navy);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-card-hover);
}

.slideshow__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow__slide {
  flex: 0 0 100%;
  width: 100%;
}

.slideshow__slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 560px;
  background: var(--color-navy);
}

.slideshow__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 3rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    var(--color-slate);
  color: var(--color-gray-400);
}

.slideshow__img-placeholder p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 1.25rem;
  margin-bottom: 0.375rem;
}

.slideshow__img-placeholder span {
  font-size: 0.9375rem;
  color: var(--color-gray-400);
}

.slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: rgba(15, 23, 42, 0.75);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  z-index: 2;
}

.slideshow__btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.slideshow__btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.slideshow__btn--prev {
  left: -22px;
}

.slideshow__btn--next {
  right: -22px;
}

.slideshow__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}

.slideshow__dot:hover {
  border-color: var(--color-blue);
}

.slideshow__dot--active {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.slideshow__dot:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================================
   Download Page
   ============================================================ */
.download-card {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.download-card__icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.download-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.download-card__version {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

.download-card__info {
  text-align: left;
  margin-bottom: 2rem;
}

.download-card__info li {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.download-card__info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-blue);
}

.download-card__cta {
  margin-bottom: 1rem;
}

.download-card__note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.install-steps__list {
  counter-reset: step;
  list-style: none;
}

.install-steps__list li {
  counter-increment: step;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  padding: 0.75rem 0 0.75rem 2.75rem;
  position: relative;
  border-bottom: 1px solid var(--color-gray-100);
}

.install-steps__list li:last-child {
  border-bottom: none;
}

.install-steps__list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 24px;
  height: 24px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Sign Up Page
   ============================================================ */
.signup-section {
  background: var(--color-gray-50);
}

.signup__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.signup__form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.signup-price-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  color: var(--color-white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.signup-form__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.signup-form__field {
  margin-bottom: 1.25rem;
}

.signup-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.375rem;
}

.signup-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.signup-form__input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-light);
}

.signup-form__input::placeholder {
  color: var(--color-gray-400);
}

.signup-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.signup-form__login {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.signup-form__login a {
  color: var(--color-blue);
  font-weight: 500;
}

.signup-form__login a:hover {
  text-decoration: underline;
}

.signup-form__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #dc2626;
  display: none;
}

.signup-form__error--visible {
  display: block;
}

.signup-form__field--error .signup-form__input {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.signup-form__field--error .signup-form__input:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.signup-form__success {
  text-align: center;
  padding: 2rem 0;
}

.signup-form__success-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.signup-form__success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.signup-form__success-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.signup-form__submit {
  position: relative;
}

.signup-form__submit--loading {
  color: transparent;
  pointer-events: none;
}

.signup-form__spinner {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.signup-form__submit--loading .signup-form__spinner {
  display: block;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.signup-form__strength {
  height: 4px;
  background: var(--color-gray-200);
  border-radius: 2px;
  margin-top: 0.375rem;
  overflow: hidden;
}

.signup-form__strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0;
  background: var(--color-gray-300);
}

.signup__pricing {
  position: sticky;
  top: 100px;
}

.signup-price-card {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-white);
  text-align: center;
}

.signup-price-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
}

.signup-price-card__price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}

.signup-price-card__period {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-400);
}

.signup-price-card__billing {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
}

.signup-price-card__features {
  text-align: left;
  margin-bottom: 0;
}

.signup-price-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-300);
}

.signup-price-card__features svg {
  flex-shrink: 0;
}

.signup__questions {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.signup__questions a {
  color: var(--color-blue);
  font-weight: 500;
}

.signup__questions a:hover {
  text-decoration: underline;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    var(--color-slate);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3), transparent);
}

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

.contact__card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition);
}

.contact__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.contact__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-md);
}

.contact__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  margin-bottom: 0.5rem;
}

.contact__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  overflow-wrap: break-word;
  word-break: break-word;
  transition: color var(--transition);
}

.contact__value:hover {
  color: var(--color-blue);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    var(--color-navy);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__product {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__company {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-blue);
  margin-bottom: 0.25rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

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

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

.footer__copy {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.8;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   Fade-in Animations (triggered by JS)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in the same container */
.features__grid .fade-in:nth-child(1),
.steps .fade-in:nth-child(1),
.contact__grid .fade-in:nth-child(1) { transition-delay: 0s; }

.features__grid .fade-in:nth-child(2),
.steps .fade-in:nth-child(2),
.contact__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }

.features__grid .fade-in:nth-child(3),
.steps .fade-in:nth-child(3),
.contact__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.features__grid .fade-in:nth-child(4),
.steps .fade-in:nth-child(4) { transition-delay: 0.3s; }

.features__grid .fade-in:nth-child(5) { transition-delay: 0.4s; }

.features__grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

.features__grid .fade-in:nth-child(7) { transition-delay: 0.6s; }

.features__grid .fade-in:nth-child(8) { transition-delay: 0.7s; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: 768px and below */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  /* Nav */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 2rem 2rem;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__links a {
    padding: 0.875rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .nav__links a:hover,
  .nav__links a.nav__link--active {
    color: var(--color-white);
    background: none;
    padding-left: 0.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__links .nav__mobile-cta {
    margin-top: 1rem;
    display: block;
  }

  .nav__mobile-cta a {
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm) !important;
    color: var(--color-white) !important;
    background: var(--color-blue);
    text-align: center;
    display: block;
  }

  .nav__mobile-cta a:hover {
    background: var(--color-blue-hover) !important;
  }

  html {
    scroll-padding-top: 52px;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
    margin: 0 auto;
  }

  .step {
    display: flex;
    text-align: left;
    gap: 1.25rem;
  }

  .step__number {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 1.0625rem;
    box-shadow: 0 0 0 6px var(--color-blue-light);
  }

  .step__connector {
    display: none;
  }

  .step__title {
    margin-top: 0.25rem;
  }

  /* Pricing */
  .pricing__layout {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Slideshow */
  .slideshow__slide img {
    max-height: 360px;
  }

  .slideshow__btn {
    width: 36px;
    height: 36px;
  }

  .slideshow__btn--prev {
    left: 8px;
  }

  .slideshow__btn--next {
    right: 8px;
  }


  /* Sign Up */
  .signup__layout {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .signup__pricing {
    position: static;
  }

  /* Footer */
  .footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero__content {
    padding: 6rem 1rem 3rem;
  }

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

  .btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .pricing-card__header {
    padding: 1.5rem;
  }

  .pricing-card__body {
    padding: 1.5rem;
  }

  .slideshow__slide img {
    max-height: 280px;
  }

  .download-card {
    padding: 1.5rem;
  }

  .signup__form-wrap,
  .signup-price-card {
    padding: 1.5rem;
  }

  .signup-price-card__price {
    font-size: 2.5rem;
  }
}

/* Large desktop: fine-tune for 3-column features */
@media (min-width: 1024px) {
  /* Steps connector lines */
  .step__connector {
    display: block;
    position: absolute;
    top: 26px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(to right, var(--color-blue-light), var(--color-gray-200));
    z-index: 0;
  }

  .step:last-child .step__connector {
    display: none;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 768px) {
  .hero__logo {
    width: 100px;
  }

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

@media (max-width: 480px) {
  .hero__logo {
    width: 80px;
  }

  .hero__content {
    padding: 6rem 1rem 2rem;
  }
}
