@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}

:root {
  --primary-color: #2c5f7c;
  --secondary-color: #f4a261;
  --accent-color: #e76f51;
  --text-dark: #264653;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --header-bg: #1a3a4d;
  --footer-bg: #1a3a4d;
  --border-color: #dee2e6;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: linear-gradient(135deg, var(--header-bg) 0%, #2c5f7c 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  border-radius: 8px;
}

.header-notice {
  font-size: 0.85rem;
  opacity: 0.9;
  text-align: right;
}

main {
  flex: 1;
}

.blog-article {
  background: var(--bg-white);
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-hero {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-date,
.blog-readtime {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog-disclaimer-top {
  background: rgba(244, 162, 97, 0.1);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 4px solid var(--secondary-color);
  margin-top: 1.5rem;
}

.blog-content {
  padding: 2rem;
}

.blog-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 400;
}

.blog-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  align-items: start;
}

.blog-highlights {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.blog-highlights h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-highlights ul {
  list-style: none;
  padding-left: 0;
}

.blog-highlights li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  font-size: 0.95rem;
}

.blog-highlights li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.blog-form-compact {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
}

.blog-form-compact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
}

.form-compact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group-compact input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group-compact input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.checkbox-group-compact input {
  width: auto;
  margin-top: 0.2rem;
}

.btn-submit-compact {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-submit-compact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.blog-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.blog-toc {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 2px solid var(--border-color);
}

.blog-toc h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: left;
}

.blog-toc ol {
  padding-left: 1.5rem;
  columns: 2;
  column-gap: 2rem;
}

.blog-toc li {
  padding: 0.4rem 0;
  line-height: 1.5;
  break-inside: avoid;
}

.blog-toc a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.blog-toc a:hover {
  color: var(--primary-color);
}

.blog-section {
  margin: 3rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.blog-section:first-of-type {
  border-top: none;
  margin-top: 0;
}

.blog-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.3;
}

.blog-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-figure {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-figure figcaption {
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
}

.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
  color: var(--primary-color);
  font-size: 1rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.blog-conclusion {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.blog-conclusion h2 {
  text-align: left;
}

.contact-form {
  background: var(--bg-white);
  padding: 3rem 0;
}

.contact-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form > .container > p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.site-footer {
  background: linear-gradient(135deg, var(--footer-bg) 0%, #2c5f7c 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 2rem;
}

.footer-notice {
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-legal a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

.footer-disclaimer {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.footer-disclaimer p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  body {
    word-break: break-word;
  }
    .thanks-content {
      padding: 3rem 1rem !important;
    }
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-notice {
    text-align: center;
    font-size: 0.75rem;
  }
  
  .blog-article {
    margin: 1rem;
    border-radius: 8px;
  }
  
  .blog-header {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .blog-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-toc ol {
    columns: 1;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-legal {
    align-items: center;
  }
}
    .thanks-container {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: calc(100vh - 200px);
      padding: 2rem;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .thanks-content {
      background: white;
      padding: 3rem;
      border-radius: 16px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      text-align: center;
      max-width: 600px;
    }
    
    .thanks-logo {
      margin-bottom: 2rem;
    }
    
    .thanks-logo img {
      width: 80px;
      height: 80px;
      border-radius: 12px;
    }
    
    .thanks-content h1 {
      font-family: 'Playfair Display', serif;
      color: #2c5f7c;
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
    }
    
    .thanks-content p {
      font-size: 1.2rem;
      line-height: 1.8;
      color: #264653;
      margin-bottom: 1rem;
    }
    
    .thanks-details {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 2rem 0;
      font-size: 1rem;
    }
    
    .thanks-details p {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .legal-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: left;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.legal-content h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .legal-content h1 {
    font-size: 1.75rem;
  }
  
  .legal-content h2 {
    font-size: 1.3rem;
  }
}