/* utrecht-chat.site - Main Stylesheet */
:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --dark: #1F2937;
  --light: #F9FAFB;
  --gray: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  nav.open {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

/* Buttons */
.cta-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #059669;
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 18px 36px;
  font-size: 1.2rem;
  z-index: 99;
  border-radius: 50px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

/* Steps */
.steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step p {
  color: var(--gray);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-content {
  padding: 24px;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.blog-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.blog-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.blog-card a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--light);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-question svg.open {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  padding: 0 24px 24px;
  max-height: 500px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

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

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-section a {
  display: block;
  color: #9CA3AF;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  color: #9CA3AF;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
}

p {
  margin-bottom: 16px;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.75rem;
  }
}

/* Additional styles for replacing inline styles */

/* Blog article hero */
.hero-blog {
  padding: 100px 0;
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  color: white;
  text-align: center;
}
.hero-blog h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero-blog p {
  opacity: 0.9;
}

/* White background sections */
.bg-white {
  background: white;
}

/* Narrow content container */
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Contact form wrapper */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* Lead paragraph (used in non-hero sections) */
.lead-paragraph {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--gray);
}

/* Centered CTA container */
.centered-cta {
  text-align: center;
  margin: 60px 0;
}
.centered-cta-sm {
  text-align: center;
  margin: 40px 0;
}

/* Key takeaway box */
.key-takeaway {
  background: var(--light);
  padding: 32px;
  border-radius: var(--radius);
  margin-top: 60px;
  border-left: 4px solid var(--primary);
}
.key-takeaway h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.key-takeaway p {
  color: var(--gray);
  margin: 0;
}

/* Related articles section */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-articles p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Step circle (used in safety tips) */
.step-circle {
  background: #3B82F6;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Safety item (flex container for each tip) */
.safety-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.safety-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.safety-item p {
  color: var(--gray);
  margin: 0;
}

/* Success check circle */
.success-check {
  background: #10B981;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* Feature card left alignment modifier */
.feature-card--left {
  text-align: left;
}

/* Author name in success stories */
.author {
  color: var(--primary);
  font-weight: 600;
}

/* Testimonial text */
.testimonial {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 16px;
}

/* Footer text */
.footer-text {
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* Content narrow typography */
.content-narrow h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
}
.content-narrow h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}
.content-narrow p {
  color: var(--gray);
  margin-bottom: 16px;
}
.content-narrow .lead {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

/* About page specific text size */
.about-content > p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Utility margin classes */
.mt-5 { margin-top: 60px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 40px; }

/* Full width button */
.btn-full {
  width: 100%;
}

/* Responsive adjustments for hero-blog */
@media (max-width: 768px) {
  .hero-blog h1 {
    font-size: 2rem;
  }
}

/* Intro lead paragraph for content sections */
.intro-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 24px;
}

/* Subtitle in hero for page headers (e.g., Last updated) */
.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Example box for blog articles */
.example-box {
  background: var(--light);
  padding: 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

/* Narrow features grid modifier */
.features-grid--narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* Margin bottom utility - 40px */
.mb-40 {
  margin-bottom: 40px;
}
