/* ========================================
   Ghostify Solutions - B2B Lead Finder
   Dark Tech Theme with Neon Blue Accents
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --bg-primary: #0D1117;
  --bg-secondary: #1E1E2F;
  --bg-card: #161B22;
  --accent-primary: #00BFFF;
  --accent-secondary: #00D4AA;
  --accent-purple: #A855F7;
  --text-primary: #E0E0E0;
  --text-secondary: #8B949E;
  --text-muted: #6E7681;
  --border-color: rgba(255, 255, 255, 0.1);
  --error-color: #F85149;
  --success-color: #3FB950;
  
  /* Fonts */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  /* Spacing */
  --container-max: 1280px;
  --section-padding: 6rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-glow: 0 0 20px rgba(0, 191, 255, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(0, 191, 255, 0.5);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-normal);
}

.skip-link:focus {
  top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #4DD4FF;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), #4DD4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.btn--primary:hover {
  background: #4DD4FF;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(0, 191, 255, 0.5);
  color: var(--accent-primary);
}

.btn--outline:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: var(--accent-primary);
}

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

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn--full {
  width: 100%;
}

.btn--glow:hover {
  box-shadow: var(--shadow-glow);
}

.btn__content,
.btn__loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn__loading {
  display: none;
}

.btn.is-loading .btn__content {
  display: none;
}

.btn.is-loading .btn__loading {
  display: flex;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo img {
  width: 40px;
  height: 40px;
}

.header__brand {
  display: flex;
  flex-direction: column;
}

.header__brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.header__brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent-primary);
  letter-spacing: 0.15em;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header__nav-link {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--accent-primary);
}

.header__cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
}

/* Mobile Menu */
.header__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.header__mobile-nav-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.header__mobile-nav-link {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: 10%;
  left: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  bottom: 10%;
  right: -10%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.hero__feature-dot--green {
  background: var(--success-color);
}

.hero__feature-dot--cyan {
  background: var(--accent-primary);
}

.hero__feature-dot--purple {
  background: var(--accent-purple);
}

/* Form Card */
.hero__form-wrapper {
  justify-self: end;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 420px;
  width: 100%;
}

.form-card__header {
  margin-bottom: 1.5rem;
}

.form-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Form Elements */
.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form__required {
  color: var(--accent-primary);
}

.form__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form__input-wrapper {
  position: relative;
}

.form__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.form__input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

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

.form__input:hover {
  border-color: rgba(0, 191, 255, 0.3);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form__input--select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B949E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__error {
  display: block;
  font-size: 0.8125rem;
  color: var(--error-color);
  margin-top: 0.375rem;
}

.form__input[aria-invalid="true"] {
  border-color: var(--error-color);
}

.form__footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ========================================
   Results Section
   ======================================== */
.results {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results__title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.results__title {
  font-size: 1.75rem;
}

.results__count {
  color: var(--text-secondary);
}

.results__count-number {
  color: var(--accent-primary);
  font-weight: 600;
}

.results__actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.results__table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  overflow-x: auto;
}

.results__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.results__table th {
  background: rgba(0, 191, 255, 0.05);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.results__table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9375rem;
}

.results__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.results__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

.results__sort-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.results__sort-btn:hover {
  color: #4DD4FF;
}

.results__sort-btn svg {
  opacity: 0.5;
}

.results__cell-link {
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.results__cell-link:hover {
  text-decoration: underline;
}

.results__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.results__badge--verified {
  background: rgba(63, 185, 80, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.results__badge--standard {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.results__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.how-it-works__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.how-it-works__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}

.how-it-works__glow--1 {
  background: var(--accent-primary);
  top: -20%;
  left: 10%;
}

.how-it-works__glow--2 {
  background: var(--accent-purple);
  bottom: -20%;
  right: 10%;
}

.how-it-works__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.how-it-works__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.how-it-works__subtitle {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.step-card__number {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), #4DD4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
}

.step-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(0, 191, 255, 0.05));
  border-radius: 14px;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.step-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-it-works__cta {
  text-align: center;
}

.how-it-works__cta p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.how-it-works__cta-link {
  font-weight: 600;
  font-size: 1.0625rem;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.features__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features__content {
  max-width: 520px;
}

.features__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 1rem 0;
}

.features__description {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item__dot {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.feature-item__dot--cyan {
  background: var(--accent-primary);
}

.feature-item__dot--purple {
  background: var(--accent-purple);
}

.feature-item__title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.feature-item__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.features__image {
  position: relative;
}

.features__image-glow {
  position: absolute;
  inset: -20%;
  background: var(--accent-primary);
  opacity: 0.15;
  filter: blur(80px);
  border-radius: 50%;
}

.features__image img {
  position: relative;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  opacity: 0.08;
  filter: blur(100px);
  border-radius: 50%;
}

.cta__inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta__description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo img {
  width: 44px;
  height: 44px;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1;
}

.footer__logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent-primary);
  letter-spacing: 0.15em;
}

.footer__description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.3);
  color: var(--accent-primary);
}

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

.footer__column-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer__column-list {
  list-style: none;
}

.footer__column-list li {
  margin-bottom: 0.625rem;
}

.footer__column-list a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer__column-list a:hover {
  color: var(--accent-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========================================
   Toast Notifications
   ======================================== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  animation: slideIn 0.3s ease;
  max-width: 400px;
}

.toast--success {
  border-color: rgba(63, 185, 80, 0.3);
}

.toast--error {
  border-color: rgba(248, 81, 73, 0.3);
}

.toast__icon {
  flex-shrink: 0;
}

.toast__message {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.toast__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  transition: color var(--transition-fast);
}

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

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero__content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero__features {
    justify-content: center;
  }
  
  .hero__form-wrapper {
    justify-self: center;
    width: 100%;
    max-width: 480px;
  }
  
  .how-it-works__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features__content {
    max-width: 100%;
  }
  
  .features__image {
    order: -1;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }
  
  .header__nav,
  .header__cta {
    display: none;
  }
  
  .header__menu-toggle {
    display: flex;
  }
  
  .header__mobile-menu.is-open {
    display: block;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .form-card {
    padding: 1.5rem;
  }
  
  .how-it-works__steps {
    grid-template-columns: 1fr;
  }
  
  .features__list {
    grid-template-columns: 1fr;
  }
  
  .results__header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .results__actions {
    width: 100%;
  }
  
  .results__actions .btn {
    flex: 1;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .cta__buttons {
    flex-direction: column;
  }
  
  .cta__buttons .btn {
    width: 100%;
  }
  
  .toast-container {
    left: 1rem;
    right: 1rem;
    top: 1rem;
  }
  
  .toast {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero__features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* ========================================
   Accessibility - Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   Focus Styles
   ======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: rgba(255, 255, 255, 0.3);
    --text-secondary: #B0B0B0;
  }
}
