:root {
  --primary: #0b6375;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --panel: #f9fafb;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
}

p {
  margin-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.logo img {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.subhead {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 32px;
  border-radius: 99px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  opacity: 0.9;
}

/* Features */
.features {
  padding: 80px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

.card h3 {
  font-size: 24px;
  margin: 0;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}

/* How it works */
.how-it-works {
  padding: 80px 0;
}

.how-it-works h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 60px;
}

/* Footer */
.site-footer {
  background: var(--panel);
  padding: 80px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.site-footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 16px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-bottom: 12px;
}

.site-footer a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 99, 117, 0.1);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--bg);
  padding: 40px;
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* Page Hero */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 40px 0;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}

.feature-row:nth-child(odd) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}
.feature-content h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--primary);
}
.feature-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--panel);
  border-radius: 24px;
  padding: 40px;
  min-height: 300px;
}
.feature-visual .icon {
  width: 80px;
  height: 80px;
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-summary {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-size: 20px;
  margin: 0;
  padding-right: 24px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  width: 2px;
  height: 100%;
}

.faq-toggle::after {
  width: 100%;
  height: 2px;
}

details[open] .faq-toggle::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
