/* ===== COMPLETE COMMISSION LLC - STYLES ===== */

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

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --secondary: #1a7f8f;
  --accent-warm: #ff8c42;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --border-light: #e8e8e8;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --success: #27ae60;
  --error: #e74c3c;
}

html {
  scroll-behavior: smooth;
}

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

/* ===== HEADER & NAV ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.header-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.header-contact a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-contact a:hover {
  color: var(--primary-dark);
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
    gap: 0.5rem;
  }

  nav.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-contact {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
}

section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

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

/* ===== FORMS ===== */
form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

form.wide {
  max-width: 100%;
}

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

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

label .required {
  color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.checkbox-group {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.checkbox-group label {
  display: inline;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-fine-print {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.4;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.honeypot {
  display: none;
}

button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--secondary);
}

.btn-secondary:hover {
  background: #155d6e;
}

/* ===== CARDS & GRIDS ===== */
.grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
  list-style: none;
  margin: 2rem 0;
}

.benefits-list li {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-warm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefits-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 1.5rem;
  min-width: 30px;
}

.benefits-list li strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== FAQs ===== */
.faq-section {
  max-width: 700px;
  margin: 2rem auto;
}

details {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

summary {
  background: var(--bg-light);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.3s ease;
}

summary:hover {
  background: #f0f0f0;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

tr:hover {
  background: var(--bg-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent-warm);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-warm);
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-warm);
  color: var(--text-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-warm);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-light);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-light);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none \!important;
    transition: none \!important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

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

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  form {
    padding: 1.5rem;
  }
}

/* ===== FORM SUCCESS MESSAGE ===== */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: none;
}

.success-message.show {
  display: block;
}
