/* ========================================
   TWINKLE ENGINE - SOFT PASTEL DESIGN
   Modern Science Education Platform
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #4a4a4a;
  background: linear-gradient(135deg, #fef9f3 0%, #fff5f0 100%);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style-position: inside;
}

/* ========================================
   TYPOGRAPHY - SOFT PASTEL STYLE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #5a4a6a;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  color: #6d5a7a;
  text-shadow: 2px 2px 4px rgba(108, 63, 181, 0.1);
}

h2 {
  font-size: 32px;
  color: #7a6a8a;
}

h3 {
  font-size: 24px;
  color: #8a7a9a;
}

p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #5a5a5a;
}

.subheadline {
  font-size: 18px;
  color: #8a7a9a;
  font-weight: 300;
  line-height: 1.7;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  background: linear-gradient(135deg, #fef5f9 0%, #f9f0ff 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.08);
  border-bottom: 2px solid rgba(255, 179, 71, 0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #6d5a7a;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.main-nav a:hover {
  background: linear-gradient(135deg, #ffddcc 0%, #ffd6e8 100%);
  color: #5a4a6a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(108, 63, 181, 0.15);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: linear-gradient(135deg, #ffd6e8 0%, #ffddcc 100%);
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.2);
  transition: all 0.3s ease;
  color: #6d5a7a;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(108, 63, 181, 0.3);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #fef5f9 0%, #f9f0ff 100%);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -4px 0 20px rgba(108, 63, 181, 0.15);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 179, 71, 0.3);
  border: none;
  padding: 10px 14px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6d5a7a;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(255, 179, 71, 0.5);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  color: #6d5a7a;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border: 1px solid rgba(108, 63, 181, 0.1);
}

.mobile-nav a:hover {
  background: linear-gradient(135deg, #ffddcc 0%, #ffd6e8 100%);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.15);
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
  background: linear-gradient(135deg, #fef5f9 0%, #f0e6ff 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 8px 24px rgba(108, 63, 181, 0.1);
  border: 2px solid rgba(255, 179, 71, 0.2);
}

.hero h1 {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero .subheadline {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 20px;
  animation: fadeInUp 1s ease;
}

.error-hero {
  background: linear-gradient(135deg, #fff0f5 0%, #ffe6f0 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #d4a5c9;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 3px 3px 6px rgba(212, 165, 201, 0.3);
}

.legal-hero {
  background: linear-gradient(135deg, #f5f0ff 0%, #fffaf5 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
  border: 2px solid rgba(108, 63, 181, 0.1);
}

.thank-you-hero {
  background: linear-gradient(135deg, #e6ffed 0%, #fff0f5 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 8px 24px rgba(108, 195, 163, 0.15);
}

.success-message {
  font-size: 24px;
  color: #6ca579;
  font-weight: 500;
  margin-top: 16px;
}

/* ========================================
   BUTTONS & CALLS-TO-ACTION
   ======================================== */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-primary,
.cta-secondary,
.cta-button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.cta-primary {
  background: linear-gradient(135deg, #d4a5c9 0%, #b799d8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.25);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 63, 181, 0.35);
  background: linear-gradient(135deg, #c995be 0%, #a688cd 100%);
}

.cta-secondary {
  background: linear-gradient(135deg, #ffd6b8 0%, #ffc4a8 100%);
  color: #6d5a7a;
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.25);
}

.cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 179, 71, 0.35);
  background: linear-gradient(135deg, #ffc8a8 0%, #ffb698 100%);
}

.cta-button {
  background: linear-gradient(135deg, #c4b5d8 0%, #d8c4e8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 63, 181, 0.3);
}

.cta-link {
  color: #8a7a9a;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a5c9, #ffd6b8);
  transition: width 0.3s ease;
}

.cta-link:hover::after {
  width: 100%;
}

.cta-link:hover {
  color: #6d5a7a;
  transform: translateX(4px);
}

.trust-indicator {
  margin-top: 24px;
  font-size: 14px;
  color: #8a7a9a;
  font-style: italic;
}

/* ========================================
   CARDS & GRIDS - FLEXBOX ONLY
   ======================================== */
.services-grid,
.benefits-grid,
.stats-grid,
.process-steps,
.categories-grid,
.formats-grid,
.audiences-grid,
.blog-grid,
.help-options,
.contact-grid,
.inquiry-grid,
.tools-grid,
.paths-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 32px;
}

.service-card,
.benefit-item,
.stat-item,
.step,
.category-card,
.format-item,
.audience-card,
.blog-card,
.option-card,
.contact-card,
.inquiry-card,
.tool-card,
.path-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f9 100%);
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(108, 63, 181, 0.08);
  transition: all 0.3s ease;
  border: 2px solid rgba(212, 165, 201, 0.2);
  position: relative;
  margin-bottom: 20px;
}

.service-card:hover,
.benefit-item:hover,
.category-card:hover,
.audience-card:hover,
.blog-card:hover,
.option-card:hover,
.contact-card:hover,
.inquiry-card:hover,
.tool-card:hover,
.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(108, 63, 181, 0.15);
  border-color: rgba(255, 179, 71, 0.4);
}

.service-card h3,
.benefit-item h3,
.category-card h3,
.audience-card h3,
.blog-card h3,
.inquiry-card h3,
.tool-card h3,
.path-card h3 {
  color: #6d5a7a;
  margin-bottom: 12px;
}

.service-card p,
.benefit-item p,
.category-card p,
.audience-card p,
.blog-card p,
.inquiry-card p,
.tool-card p,
.path-card p {
  color: #6a6a6a;
  font-size: 15px;
  line-height: 1.6;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #b799d8;
  margin: 16px 0;
  display: block;
}

/* Service Detail Cards */
.service-detail {
  background: linear-gradient(135deg, #ffffff 0%, #fef9f9 100%);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(108, 63, 181, 0.1);
  border: 2px solid rgba(212, 165, 201, 0.2);
}

.service-detail h2 {
  color: #6d5a7a;
  margin-bottom: 16px;
}

.service-detail ul {
  margin: 20px 0;
  padding-left: 20px;
}

.service-detail li {
  margin-bottom: 12px;
  color: #6a6a6a;
  position: relative;
  padding-left: 24px;
}

.service-detail li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: #ffd6b8;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: linear-gradient(135deg, #f9f0ff 0%, #fff5f0 100%);
  padding: 60px 20px;
  border-radius: 24px;
  margin-bottom: 60px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(108, 63, 181, 0.1);
  border-left: 4px solid #d4a5c9;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: #4a4a4a;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-card .author {
  color: #6d5a7a;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 165, 201, 0.3);
}

/* ========================================
   STATISTICS SECTION
   ======================================== */
.statistics {
  background: linear-gradient(135deg, #fef5f9 0%, #f0e6ff 100%);
  padding: 60px 20px;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 60px;
}

.stat-item {
  flex: 1 1 calc(25% - 20px);
  min-width: 200px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: #b799d8;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(183, 153, 216, 0.2);
}

.stat-item p {
  color: #6d5a7a;
  font-size: 16px;
  font-weight: 500;
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fffaf5 0%, #fff5f0 100%);
  border-radius: 24px;
  margin-bottom: 60px;
}

.step {
  flex: 1 1 calc(25% - 20px);
  min-width: 220px;
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  position: relative;
}

.step h3 {
  color: #b799d8;
  font-size: 28px;
  margin-bottom: 12px;
}

.step p {
  color: #6a6a6a;
  font-size: 15px;
}

/* ========================================
   TEXT-IMAGE SECTIONS
   ======================================== */
.text-section {
  margin-bottom: 40px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border-left: 4px solid #ffd6b8;
}

.text-section h2,
.text-section h3 {
  color: #6d5a7a;
  margin-bottom: 16px;
}

.text-section p {
  color: #5a5a5a;
  line-height: 1.7;
}

.text-section ul {
  margin: 16px 0;
  padding-left: 20px;
}

.text-section li {
  margin-bottom: 12px;
  color: #5a5a5a;
  padding-left: 8px;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
  padding-left: 32px;
  border-left: 3px solid rgba(212, 165, 201, 0.3);
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f9 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.08);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: #d4a5c9;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(212, 165, 201, 0.3);
}

.timeline-item h3 {
  color: #6d5a7a;
  margin-bottom: 8px;
}

/* ========================================
   VALUES LIST
   ======================================== */
.values-list {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #fef9f9 0%, #f9f0ff 100%);
  border-radius: 16px;
}

.values-list h3 {
  color: #6d5a7a;
  margin-bottom: 20px;
}

.values-list ul {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border-left: 4px solid #ffd6b8;
  color: #5a5a5a;
}

.values-list strong {
  color: #6d5a7a;
  display: block;
  margin-bottom: 4px;
}

/* ========================================
   BLOG & ARTICLES
   ======================================== */
.featured-article {
  margin-bottom: 60px;
}

.featured-card {
  background: linear-gradient(135deg, #f0e6ff 0%, #fef5f9 100%);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(108, 63, 181, 0.12);
  border: 2px solid rgba(255, 179, 71, 0.3);
  position: relative;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd6b8 0%, #ffc4a8 100%);
  color: #6d5a7a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta {
  font-size: 14px;
  color: #8a7a9a;
  margin-top: 16px;
  font-style: italic;
}

.read-more {
  display: inline-block;
  margin-top: 16px;
  color: #b799d8;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #6d5a7a;
  transform: translateX(4px);
}

/* ========================================
   BLOG CATEGORY FILTERS
   ======================================== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid rgba(212, 165, 201, 0.3);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  color: #6d5a7a;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #d4a5c9 0%, #b799d8 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.2);
}

/* ========================================
   DOWNLOAD CENTER
   ======================================== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f9 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(108, 63, 181, 0.08);
  border: 2px solid rgba(212, 165, 201, 0.2);
  flex-wrap: wrap;
}

.download-item h3 {
  flex: 1;
  margin-bottom: 8px;
  color: #6d5a7a;
}

.download-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4a5c9 0%, #b799d8 100%);
  color: #ffffff;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108, 63, 181, 0.25);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f0ff 0%, #fffaf5 100%);
  border-radius: 24px;
  margin-bottom: 60px;
}

.faq-item {
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border-left: 4px solid #d4a5c9;
}

.faq-item h3 {
  color: #6d5a7a;
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-item p {
  color: #5a5a5a;
  line-height: 1.7;
}

/* ========================================
   CONTACT SECTIONS
   ======================================== */
.form-notice {
  background: linear-gradient(135deg, #fff0f5 0%, #fef9f9 100%);
  padding: 32px;
  border-radius: 16px;
  border: 2px solid rgba(212, 165, 201, 0.3);
  margin-top: 24px;
}

.form-notice p {
  color: #5a5a5a;
  margin-bottom: 16px;
}

.form-notice strong {
  color: #6d5a7a;
}

.form-notice a {
  color: #b799d8;
  font-weight: 600;
}

.form-notice ul {
  margin: 16px 0;
  padding-left: 24px;
}

.form-notice li {
  color: #5a5a5a;
  margin-bottom: 8px;
}

.location-info {
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  margin-top: 24px;
}

.location-info p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ========================================
   PAGE LINKS & NAVIGATION HELP
   ======================================== */
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.page-links a {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  color: #6d5a7a;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid rgba(212, 165, 201, 0.2);
}

.page-links a:hover {
  background: linear-gradient(135deg, #ffd6b8 0%, #ffc4a8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.2);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner,
.cta-section,
.newsletter-signup,
.newsletter-subscription {
  background: linear-gradient(135deg, #f0e6ff 0%, #fff0f5 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 8px 24px rgba(108, 63, 181, 0.12);
}

.cta-section h2,
.newsletter-signup h2 {
  color: #6d5a7a;
  margin-bottom: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: linear-gradient(135deg, #6d5a7a 0%, #8a7a9a 100%);
  color: #ffffff;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-column h3 {
  color: #ffd6b8;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-column a:hover {
  color: #ffd6b8;
  transform: translateX(4px);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.footer-logo {
  height: 60px;
  margin-bottom: 16px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transition: all 0.3s ease;
}

.legal-links a:hover {
  color: #ffd6b8;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #6d5a7a 0%, #8a7a9a 100%);
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-consent p {
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  min-width: 250px;
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.accept-all {
  background: linear-gradient(135deg, #ffd6b8 0%, #ffc4a8 100%);
  color: #6d5a7a;
}

.accept-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.3);
}

.reject-all {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.reject-all:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cookie-settings {
  background: rgba(212, 165, 201, 0.3);
  color: #ffffff;
}

.cookie-settings:hover {
  background: rgba(212, 165, 201, 0.5);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: linear-gradient(135deg, #fef5f9 0%, #f9f0ff 100%);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cookie-modal h3 {
  color: #6d5a7a;
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border-left: 4px solid #d4a5c9;
}

.cookie-category h4 {
  color: #6d5a7a;
  margin-bottom: 8px;
  font-size: 16px;
}

.cookie-category p {
  color: #5a5a5a;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */
@media (max-width: 768px) {
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  /* Typography */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .subheadline {
    font-size: 16px;
  }
  
  /* Hero Sections */
  .hero,
  .error-hero,
  .legal-hero,
  .thank-you-hero {
    padding: 40px 20px;
  }
  
  .error-code {
    font-size: 80px;
  }
  
  /* Cards - Full Width on Mobile */
  .service-card,
  .benefit-item,
  .stat-item,
  .step,
  .category-card,
  .format-item,
  .audience-card,
  .blog-card,
  .option-card,
  .contact-card,
  .inquiry-card,
  .tool-card,
  .path-card,
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-primary,
  .cta-secondary,
  .cta-button {
    width: 100%;
    text-align: center;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  /* Timeline */
  .timeline {
    padding-left: 20px;
  }
  
  .timeline-item::before {
    left: -32px;
  }
  
  /* Download Items */
  .download-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Cookie Consent */
  .cookie-consent .container {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: stretch;
  }
  
  .cookie-buttons button {
    flex: 1;
  }
  
  /* Service Detail */
  .service-detail {
    padding: 24px;
  }
  
  /* Featured Card */
  .featured-card {
    padding: 32px 24px;
  }
  
  /* Stat Items */
  .stat-item h3 {
    font-size: 36px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet Adjustments */
  .service-card,
  .benefit-item,
  .category-card,
  .audience-card,
  .blog-card,
  .tool-card,
  .path-card {
    flex: 1 1 calc(50% - 20px);
  }
  
  .stat-item,
  .step {
    flex: 1 1 calc(50% - 20px);
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 3px solid #ffd6b8;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffd6b8;
  outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal,
  header,
  footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}