:root {
  --bg-primary: #070707;
  --bg-surface: #121212;
  --bg-card: #181818;
  --bg-card-hover: #222222;
  --border-subtle: #242424;
  --border-active: #FF7262;
  --coral-primary: #FF7262;
  --coral-hover: #E05545;
  --coral-glow: rgba(255, 114, 98, 0.18);
  --text-primary: #FFFFFF;
  --text-secondary: #C8C5C5;
  --text-muted: #888888;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #FF7262, #B82E1F);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--coral-glow);
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral-primary);
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 114, 98, 0.1);
  border: 1px solid rgba(255, 114, 98, 0.25);
  color: var(--coral-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #FFFFFF 40%, #A8A8A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--coral-primary);
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px var(--coral-glow);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: var(--coral-hover);
  transform: translateY(-2px);
}

/* Feature Grid */
.features-section {
  padding: 40px 0 80px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 114, 98, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-primary);
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Document & Legal Content */
.legal-content {
  max-width: 800px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px 40px;
}

.legal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-header .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content a {
  color: var(--coral-primary);
  text-decoration: underline;
}

.highlight-box {
  background: rgba(255, 114, 98, 0.08);
  border-left: 4px solid var(--coral-primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

/* Steps Timeline */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}

.step-card {
  display: flex;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: rgba(255, 114, 98, 0.4);
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #FF7262, #B82E1F);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 2px 10px var(--coral-glow);
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.step-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0 36px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--coral-primary);
  box-shadow: 0 0 0 3px rgba(255, 114, 98, 0.2);
}

.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

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

.form-help {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.checkbox-group {
  margin: 24px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--coral-primary);
  cursor: pointer;
}

.btn-danger {
  background: linear-gradient(135deg, #FF5252, #D32F2F);
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #FF7070, #E53935);
  box-shadow: 0 4px 20px rgba(255, 82, 82, 0.35);
}

/* Alerts */
.alert-box {
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}

.alert-success h3 {
  color: #4ADE80;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.alert-success p {
  color: #DCFCE7;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* Data Table */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.badge-deleted {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-retained {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(234, 179, 8, 0.15);
  color: #FACC15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.cta-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--coral-primary);
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 40px 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 640px) {
  .legal-content {
    padding: 28px 20px;
    margin: 20px auto 40px;
  }
  .nav-wrapper {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}
