:root {
  --purple: #3c0c87;
  --beige: #f2dcb2;
  --white: #ffffff;
  --dark: #2c3e50;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: var(--purple);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: slideDown 0.6s ease-out forwards;
}

@keyframes slideDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--beige);
}

/* Hero */
.hero {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

.senator-credit {
  font-style: italic;
  opacity: 0.8;
}

/* Section */
.section {
  margin: 4rem 0;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  animation: fadeIn 0.8s ease-in;
}

.section-title {
  text-align: center;
  color: var(--purple);
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 4px;
  background: var(--purple);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--beige);
  padding: 1.5rem;
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  transition: transform 0.3s ease;
  animation: fadeInUp 0.6s ease-in;
}

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

.card h3 {
  margin-top: 0;
  color: var(--purple);
}

.card ul {
  padding-left: 1.2rem;
}

.tip {
  background: rgba(60, 12, 135, 0.08);
  padding: 0.75rem;
  border-left: 4px solid var(--purple);
  margin-top: 1rem;
  border-radius: 6px;
  font-style: italic;
}

/* Checklist */
.checklist {
  margin-top: 1rem;
}

.checklist h4 {
  color: var(--purple);
  margin-bottom: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--purple);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.checkbox.checked {
  background: var(--purple);
}

.checkbox.checked::after {
  content: \"✓\";
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Button */
.btn-download {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #2a085f;
}

/* Footer */
footer {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
