:root {
    --primary: #003b4a;
    --primary-light: #005d73;
    --accent: #b38b5c;
    --bg: #ffffff;
    --text: #002b37;
    --muted: #6b6b6b;
    --success: #28a745;
    --warning: #ffc107;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }
  
  /* Update your existing .card CSS */
.card {
  width: 100%;
  max-width: 700px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  animation: fadeIn 0.5s ease-out;
  margin: 3rem auto; /* Add margin top and bottom */
}
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  h1 {
    text-align: center;
    margin: 0 0 2rem 0;
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 600;
  }
  
  h2 {
    text-align: center;
    margin: 0 0 1.5rem 0;
    color: var(--primary-light);
    font-size: 1.5rem;
  }
  
  .age-section {
    margin: 2rem 0;
  }
  
  .age-display {
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .slider-wrapper {
    margin: 1rem 0;
  }
  
  .slider-wrapper input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
  }
  
  .slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
  }
  
  .toggle-group {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .toggle-group button {
    flex: 1;
    border: 2px solid var(--primary);
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
  }
  
  .toggle-group button.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 59, 74, 0.3);
  }
  
  .toggle-group button.inactive {
    background: transparent;
    color: var(--primary);
  }
  
  .toggle-group button:hover {
    transform: translateY(-1px);
  }
  
  .time-section {
    margin: 1rem 0;
  }
  
  .time-label {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .custom-time-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.2rem;
    transition: border-color 0.3s ease;
  }
  
  .custom-time-input:focus-within {
    border-color: var(--accent);
    background: white;
  }
  
  .hour-input, .minute-input {
    width: 60px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    outline: none;
  }
  
  .hour-input::-webkit-outer-spin-button,
  .hour-input::-webkit-inner-spin-button,
  .minute-input::-webkit-outer-spin-button,
  .minute-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  .hour-input[type=number],
  .minute-input[type=number] {
    -moz-appearance: textfield;
  }
  
  .time-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    font-family: 'Courier New', monospace;
  }
  
  .time-input {
    width: 100%;
    padding: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
    font-weight: 500;
    transition: border-color 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
  }
  
  .time-input::-webkit-datetime-edit-ampm-field {
    display: none;
  }
  
  .time-input::-webkit-datetime-edit {
    color: var(--primary);
  }
  
  .time-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
  }
  
  .calc-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #9b7247 100%);
    color: white;
    border: none;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 139, 92, 0.4);
  }
  
  .calc-btn:active {
    transform: translateY(0);
  }
  
  .results {
    display: none;
    margin-top: 2rem;
    animation: slideIn 0.5s ease-out;
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  .summary-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .sleep-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
  }
  
  .sleep-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--muted);
    transition: background 0.3s ease;
  }
  
  .sleep-option.recommended {
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.1);
  }
  
  .sleep-option.recommended::before {
    background: var(--success);
  }
  
  .sleep-option.warning {
    border-color: var(--warning);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
  }
  
  .sleep-option.warning::before {
    background: var(--warning);
  }
  
  .sleep-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .sleep-time {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
  }
  
  .sleep-duration {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0.5rem 0;
  }
  
  .sleep-cycles {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
  }
  
  .recommendation-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .recommended .recommendation-badge {
    background: var(--success);
    color: white;
  }
  
  .warning .recommendation-badge {
    background: var(--warning);
    color: #333;
  }
  
  .footer-info {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary);
  }
  
  .footer-info strong {
    color: var(--primary);
  }
  
  @media (max-width: 768px) {
    .card, .calculator-card {
      width: calc(100% - 2rem);
      margin: 1rem;
      padding: 1.5rem 1rem;
      min-width: 0; /* Important! */
    }
    
    .main-content {
      padding: 1rem 0.5rem;
    }
  }
  /* Header Styles */
.header {
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(0, 59, 74, 0.1);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}
/* Footer Styles */
.footer {
  background: var(--primary);
  color: white;
  padding: 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

/* Platform specific colors on hover */
.social-links a:hover .fa-pinterest {
  color: #E60023;
}

.social-links a:hover .fa-youtube {
  color: #FF0000;
}

.social-links a:hover .fa-instagram {
  color: #E4405F;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-brand {
    order: 2;
  }
  
  .footer-center {
    order: 1;
  }
  
  .social-links {
    order: 3;
    justify-content: center;
  }
}
/* About Page Styles */
.page-content {
  width: 100%;
  max-width: 900px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin: 3rem auto;
  animation: fadeIn 0.5s ease-out;
}

.page-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.page-title {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 0;
}

.content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.content-section:last-of-type {
  border-bottom: none;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  color: var(--primary);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.section-header i {
  color: var(--accent);
}

.section-text {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0;
}

.section-text strong {
  color: var(--primary);
}

.section-text em {
  color: var(--accent);
  font-style: italic;
}

/* Commitments Grid */
.commitments-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.commitment-number {
  background: var(--accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.commitment-content h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.commitment-content p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f8f9fa;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.member-role {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.member-description {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.cta-button:hover {
  background: #9b7247;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 139, 92, 0.4);
}

.cta-signature {
  font-size: 1rem;
  margin: 0;
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-content {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .commitment-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
  }
}
/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--muted);
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-highlight {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 16px;
}

.contact-form-section h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(179, 139, 92, 0.1);
}

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

.submit-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #9b7247 100%);
  color: white;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 139, 92, 0.4);
}

.form-response {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-response.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-response.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 2px solid #f0f0f0;
}

.faq-section h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* Social CTA Section */
.social-cta {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
}

.social-cta h2 {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.social-cta p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-btn.pinterest {
  background: #E60023;
}

.social-btn.youtube {
  background: #FF0000;
}

.social-btn.instagram {
  background: #E4405F;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-btn {
    width: 200px;
    justify-content: center;
  }
}
/* Privacy Policy Page Styles */
.privacy-content {
  max-width: 1000px;
  line-height: 1.7;
}

.effective-date {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
  font-style: italic;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.privacy-section:last-of-type {
  border-bottom: none;
}

.section-header h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-number {
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: center;
}

.section-content {
  color: var(--text);
  font-size: 1.05rem;
}

.section-content p {
  margin-bottom: 1.2rem;
}

.section-content strong {
  color: var(--primary);
}

.section-content em {
  color: var(--accent);
}

/* Data Tables */
.data-table {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 1.5fr;
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 1.5fr;
  border-bottom: 1px solid #e0e0e0;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:nth-child(even) {
  background: white;
}

.table-cell {
  padding: 1rem;
  border-right: 1px solid #e0e0e0;
}

.table-cell:last-child {
  border-right: none;
}

.footnote {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* Cookie Types */
.cookie-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.cookie-type {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.cookie-type h3 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-type i {
  color: var(--accent);
}

.cookie-type p {
  margin: 0 0 0.5rem 0;
}

.cookie-type ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.cookie-type li {
  margin-bottom: 0.5rem;
}

.cookie-management {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.cookie-management h3 {
  color: white;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-management p {
  margin: 0;
  opacity: 0.9;
}

/* Important Notes */
.important-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  color: #856404;
  font-weight: 500;
}

/* Retention List */
.retention-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.retention-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.retention-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.right-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.right-item i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.processing-time {
  background: #e8f5e8;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  color: #155724;
  font-weight: 500;
}

/* Security Measures */
.security-measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--success);
}

.security-item i {
  color: var(--success);
  font-size: 1.1rem;
}

/* AdSense Details */
.adsense-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.adsense-details li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  position: relative;
  padding-left: 2.5rem;
}

.adsense-details li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
  left: 1rem;
  top: 0.8rem;
}

/* Contact Info Privacy */
.contact-info-privacy {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-method-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.contact-method-privacy i {
  font-size: 1.2rem;
}

.contact-method-privacy a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.contact-method-privacy a:hover {
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-to-top a:hover {
  background: #9b7247;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 139, 92, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .table-cell {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .table-header .table-cell {
    background: var(--primary);
    color: white;
    font-weight: 600;
  }
  
  .table-row .table-cell:first-child {
    font-weight: 600;
    background: #f0f0f0;
  }
  
  .cookie-types {
    grid-template-columns: 1fr;
  }
  
  .rights-grid {
    grid-template-columns: 1fr;
  }
  
  .security-measures {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .section-number {
    font-size: 1rem;
    min-width: 2rem;
  }
}
/* Homepage Content Sections */
.tool-info-section, .faq-section {
  background: white;
  margin: 4rem 0 2rem 0;
  padding: 4rem 0;
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tool Hero */
.tool-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid #f0f0f0;
}

.tool-hero h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

/* Section Headers */
.tool-info-section h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tool-info-section h3 i {
  color: var(--accent);
}

/* How It Works */
.how-it-works {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #f0f0f0;
}

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

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.step-number {
  background: var(--accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.step-content p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.conclusion {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  text-align: center;
  font-weight: 500;
}

/* Benefits */
.benefits-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #f0f0f0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-item h4 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Sleep Cycles */
.sleep-cycles {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #f0f0f0;
}

.cycles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.cycle-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 2px solid var(--accent);
}

.cycle-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cycle-item h4 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.cycle-item p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.cycles-conclusion {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  color: #856404;
  font-weight: 500;
  text-align: center;
}

/* Polyphasic Sleep */
.polyphasic-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  border-radius: 12px;
}

.polyphasic-section h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.polyphasic-section p {
  margin: 0;
  line-height: 1.8;
  opacity: 0.9;
}

/* Tips */
.tips-section {
  margin-bottom: 4rem;
}

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

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.tip-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tip-item p {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
}

.tip-item strong {
  color: var(--primary);
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
  border-top: 3px solid var(--accent);
}

.faq-section h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.faq-section h2 i {
  color: var(--accent);
}

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

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-item h4 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.faq-item p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-container {
    padding: 0 1rem;
  }
  
  .tool-hero h2 {
    font-size: 1.6rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .tool-info-section h3 {
    font-size: 1.4rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cycles-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-info-section, .faq-section {
    margin: 2rem 0;
    padding: 2rem 0;
  }
}

.age-label {
  text-align: center;
  margin: 0 0 1.5rem 0;
  color: var(--primary-light);
  font-size: 1.5rem;
  font-weight: 600;
}
.results-title {
  text-align: center;
  margin: 0 0 1.5rem 0;
  color: var(--primary-light);
  font-size: 1.5rem;
  font-weight: 600;
}