/* FB INSURANCES Original Brand Styling */

:root {
  --bg: #F8F5F0;           /* Blanc - Primary Background */
  --pink: #d43790;         /* Bright rose pink - Correct color */
  --pink-hover: #b82d7a;   /* Darker rose pink - Button Hover */
  --plum: #541E4D;         /* FB Plum - Deep accent only */
  --border: #A89583;       /* Taupe Mist - Border/Divider */
  --text: #000000;         /* Noir - Primary Text */
}

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

body {
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.company-logo {
  width: 300px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.company-name {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  letter-spacing: 0.5px;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 700;
}

.main-content {
  text-align: center;
  max-width: 600px;
}

.summary {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.cta-button {
  background: var(--pink);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(84, 30, 77, 0.2);
}

.cta-button:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 167, 125, 0.3);
}

@media (min-width: 768px) {
  .button-container {
    flex-direction: row;
    gap: 2rem;
  }

  .company-name {
    font-size: 4rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 1rem;
  }

  .company-name {
    font-size: 2.5rem;
  }

  .summary {
    font-size: 1.1rem;
  }

  .cta-button {
    min-width: 250px;
  }
}

/* Form Styling */
.form-container {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(84, 30, 77, 0.1);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(216, 166, 189, 0.1);
}

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

.submit-button {
  background: var(--pink);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top: 1rem;
}

.submit-button:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
}

.submit-button:disabled {
  background: var(--border);
  cursor: not-allowed;
  transform: none;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--pink-hover);
  text-decoration: underline;
}

/* Legal pages styles */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(84, 30, 77, 0.1);
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 10px;
}

.legal-date {
    text-align: center;
    color: var(--border);
    font-style: italic;
    margin-bottom: 40px;
}

.legal-content {
    line-height: 1.7;
    color: var(--text);
}

.legal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--plum);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--plum);
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .company-logo {
        margin-bottom: 10px;
    }

    .button-container {
        flex-direction: column;
    }

    .cta-button {
        margin-bottom: 15px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .company-name {
        font-size: 2rem;
    }

    .legal-title {
        font-size: 2rem;
    }
}

/* Footer styles */
.footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: var(--plum);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--pink);
    text-decoration: underline;
}

.footer-divider {
    color: var(--border);
}

/* Disclaimer styling */
.disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--border);
    border-radius: 4px;
}

.disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Licensing disclosure styling */
.licensing-disclosure {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f0f0f0;
    border-radius: 4px;
    text-align: center;
}

.licensing-disclosure p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Checkbox styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
    font-weight: 400;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-container:hover {
    color: var(--pink);
}