/* Base Styles */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-600: #ca8a04;
  --yellow-700: #a16207;
  --yellow-800: #854d0e;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-800);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1.25rem;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--blue-700);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s ease;
}

nav a:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

nav a.active {
  background-color: var(--blue-100);
  color: var(--blue-700);
}

#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

#mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--gray-600);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, var(--blue-50), var(--blue-100));
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.hero-text {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: var(--gray-600);
}

/* Notary Geek CTA Section */
.notary-geek-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  padding: 4rem 0;
  color: white;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 48rem;
  margin: 0 auto;
}

.cta-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-card h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.feature-check {
  color: #10b981;
  font-weight: bold;
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1.125rem;
}

.cta-button.primary {
  background-color: white;
  color: var(--blue-700);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
  background-color: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
}

.cta-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

/* Notary Geek Highlight in Resources */
.notary-geek-highlight {
  margin-bottom: 3rem;
}

.highlight-card {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.highlight-icon {
  font-size: 2rem;
}

.highlight-card h2 {
  color: white;
  margin-bottom: 0;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.highlight-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

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

.highlight-cta {
  text-align: center;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Resource Link */
.resource-link {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: underline;
}

.resource-link:hover {
  color: var(--blue-800);
}

/* Alerts */
.alert {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
  text-align: left;
}

.alert-warning {
  background-color: var(--yellow-50);
  border: 1px solid var(--yellow-100);
}

.alert-warning h3 {
  color: var(--yellow-800);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.alert-warning p {
  color: var(--yellow-700);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.alert-icon {
  flex-shrink: 0;
  color: var(--yellow-600);
}

/* Sections */
section {
  padding: 4rem 0;
}

.mission {
  background-color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.feature-icon.blue {
  background-color: var(--blue-100);
  color: var(--blue-600);
}

.feature-icon.green {
  background-color: var(--green-100);
  color: var(--green-600);
}

.feature-icon.purple {
  background-color: var(--purple-100);
  color: var(--purple-600);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

/* Key Issues */
.key-issues {
  background-color: var(--gray-50);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.issue-card {
  background-color: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.issue-card h3 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.expert-quote {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to right, var(--blue-600), var(--blue-800));
  color: white;
  text-align: center;
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  font-size: 1.25rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-box {
  background-color: var(--blue-700);
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.email-link {
  color: var(--blue-100);
  text-decoration: underline;
  transition: color 0.2s;
}

.email-link:hover {
  color: white;
}

/* Footer */
footer {
  background-color: var(--gray-900);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-info p {
  color: var(--gray-300);
  max-width: 32rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
}

.footer-contact a {
  color: var(--gray-300);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--blue-400);
}

.footer-notice h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-notice p {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(to bottom right, var(--blue-50), var(--blue-100));
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.25rem;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
}

.content-section .container {
  max-width: 1024px;
}

/* Cards */
.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  margin-bottom: 2rem;
}

.card.with-icon {
  padding-top: 1rem;
}

.card h2 {
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon.blue {
  background-color: var(--blue-100);
  color: var(--blue-600);
}

.card-icon.green {
  background-color: var(--green-100);
  color: var(--green-600);
}

.card-icon.purple {
  background-color: var(--purple-100);
  color: var(--purple-600);
}

/* Timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.5rem;
  width: 2px;
  background-color: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 2px solid;
  z-index: 1;
}

.timeline-icon.success {
  border-color: var(--green-600);
  color: var(--green-600);
}

.timeline-icon.pending {
  border-color: var(--yellow-600);
  color: var(--yellow-600);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
}

.timeline-detail {
  background-color: var(--gray-50);
  padding: 1rem;
  border-radius: 0.375rem;
  margin-top: 0.75rem;
}

.timeline-detail p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* Grid Layouts */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

/* Feature Boxes */
.feature-box {
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.feature-box h3 {
  margin-bottom: 0.75rem;
}

.feature-box p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.feature-box.blue {
  background-color: var(--blue-50);
}

.feature-box.blue h3 {
  color: var(--blue-800);
}

.feature-box.blue p {
  color: var(--blue-700);
}

.feature-box.green {
  background-color: var(--green-50);
}

.feature-box.green h3 {
  color: var(--green-800);
}

.feature-box.green p {
  color: var(--green-700);
}

.feature-box.purple {
  background-color: var(--purple-50);
}

.feature-box.purple h3 {
  color: var(--purple-800);
}

.feature-box.purple p {
  color: var(--purple-700);
}

.feature-box.orange {
  background-color: var(--orange-50);
}

.feature-box.orange h3 {
  color: var(--orange-800);
}

.feature-box.orange p {
  color: var(--orange-700);
}

/* Alert Card */
.alert-card {
  background-color: var(--yellow-50);
  border-color: var(--yellow-100);
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.alert-item {
  display: flex;
  gap: 1rem;
}

.alert-icon {
  flex-shrink: 0;
  color: var(--yellow-600);
}

.alert-item h3 {
  color: var(--yellow-800);
  margin-bottom: 0.5rem;
}

.alert-item p {
  color: var(--yellow-700);
  margin-bottom: 0;
}

/* Quote Card */
.quote-card blockquote {
  border-left: 4px solid var(--blue-600);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--gray-600);
}

/* Insight Cards */
.insight-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-tag.red {
  background-color: var(--red-100);
  color: var(--red-800);
}

.card-tag.blue {
  background-color: var(--blue-100);
  color: var(--blue-800);
}

.card-tag.green {
  background-color: var(--green-100);
  color: var(--green-800);
}

.expert-name {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 1rem;
}

/* Topic Cards */
.topic-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.topic-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.topic-icon.blue {
  background-color: var(--blue-100);
  color: var(--blue-600);
}

.topic-icon.green {
  background-color: var(--green-100);
  color: var(--green-600);
}

.topic-icon.yellow {
  background-color: var(--yellow-100);
  color: var(--yellow-600);
}

.topic-icon.purple {
  background-color: var(--purple-100);
  color: var(--purple-600);
}

.topic-card h3 {
  margin-bottom: 0.5rem;
}

.topic-card p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* Warning Boxes */
.warnings-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.warning-box {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.warning-icon {
  flex-shrink: 0;
}

.warning-box h3 {
  margin-bottom: 0.5rem;
}

.warning-box p {
  margin-bottom: 0;
}

.warning-box.red {
  background-color: var(--red-50);
  border: 1px solid var(--red-100);
}

.warning-box.red .warning-icon {
  color: var(--red-600);
}

.warning-box.red h3 {
  color: var(--red-800);
}

.warning-box.red p {
  color: var(--red-700);
}

.warning-box.yellow {
  background-color: var(--yellow-50);
  border: 1px solid var(--yellow-100);
}

.warning-box.yellow .warning-icon {
  color: var(--yellow-600);
}

.warning-box.yellow h3 {
  color: var(--yellow-800);
}

.warning-box.yellow p {
  color: var(--yellow-700);
}

.warning-box.blue {
  background-color: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.warning-box.blue .warning-icon {
  color: var(--blue-600);
}

.warning-box.blue h3 {
  color: var(--blue-800);
}

.warning-box.blue p {
  color: var(--blue-700);
}

/* Resource List */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resource-item {
  display: flex;
  gap: 1rem;
}

.resource-icon {
  color: var(--blue-600);
  flex-shrink: 0;
}

.resource-item h3 {
  margin-bottom: 0.5rem;
}

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

/* CTA Box */
.cta-box {
  background: linear-gradient(to right, var(--blue-600), var(--blue-800));
  color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.cta-box h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.contact-details {
  background-color: var(--blue-700);
  padding: 1.5rem;
  border-radius: 0.375rem;
  max-width: 32rem;
  margin: 0 auto;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-title {
  font-weight: 600;
}

/* Expert Box */
.expert-box {
  background-color: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

.expert-box h3 {
  color: var(--blue-800);
  margin-bottom: 0.75rem;
}

.expert-box p {
  color: var(--blue-700);
  margin-bottom: 0;
}

/* Status Box */
.status-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-top: 1.5rem;
}

.status-icon {
  flex-shrink: 0;
}

.status-box.success {
  background-color: var(--green-50);
  border: 1px solid var(--green-100);
}

.status-box.success .status-icon {
  color: var(--green-600);
}

.status-box.success h3 {
  color: var(--green-800);
  margin-bottom: 0.25rem;
}

.status-box.success p {
  color: var(--green-700);
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  #mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .timeline::before {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 2.5rem;
  }

  .timeline-icon {
    width: 2rem;
    height: 2rem;
  }

  .topic-card {
    flex-direction: column;
  }

  .topic-icon {
    margin-bottom: 1rem;
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-features {
    align-items: flex-start;
  }

  .feature-item {
    justify-content: flex-start;
  }

  .highlight-header {
    flex-direction: column;
    text-align: center;
  }

  .highlight-features {
    align-items: flex-start;
  }

  .feature-row {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-text {
    font-size: 1rem;
  }

  .logo span {
    display: none;
  }

  section {
    padding: 2.5rem 0;
  }

  .card {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}