@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
  --color-primary: #0047AB;
  --color-primary-light: #3371FF;
  --color-primary-dark: #002B66;
  --color-accent: #E31837;
  --color-accent-hover: #C4122C;
  --color-background: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-border: #E2E8F0;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title.left-align {
  text-align: left;
}

.bg-light {
  background-color: #F1F5F9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
  gap: 0.5rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Glass & Gradient */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.opacity-0 {
  opacity: 0;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.delay-100 {
  transition-delay: 100ms;
}

.animate-on-scroll.delay-200 {
  transition-delay: 200ms;
}

.animate-on-scroll.delay-300 {
  transition-delay: 300ms;
}

.animate-on-scroll.delay-400 {
  transition-delay: 400ms;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form inputs */
input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  margin-bottom: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(51, 113, 255, 0.2);
}

.form-group {
  display: flex;
  gap: 1rem;
}

@media (max-width: 767px) {
  .form-group {
    flex-direction: column;
    gap: 0;
  }
}

/* SVG Icons */
.icon {
  display: inline-block;
  vertical-align: middle;
}

.icon-right {
  margin-left: 0.25rem;
}

/* ——— Navbar ——— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary-dark);
}

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

.nav-link {
  font-weight: 500;
  color: white;
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link:hover {
  color: var(--color-accent) !important;
}

.mobile-menu-btn {
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  padding: 0.25rem;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--color-text);
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }

  .mobile-only {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.5rem 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 32px 32px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.campaign-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-accent);
  background: white;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 375px) {
  .campaign-label {
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.75rem;
  }
}

@media (min-width: 768px) {
  .campaign-label {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
  }
}

.hero-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title span {
  color: #FFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.hero-subtitle:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-image-placeholder {
    aspect-ratio: 4/5;
  }
}

/* ——— About ——— */
.custom-accordion {
  background: white;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.experience-title {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 800;
  padding: 1.25rem 1.5rem 0.5rem;
  margin: 0;
  border-bottom: 1px solid var(--color-primary);
}

.custom-accordion-item {
  border-bottom: 1px solid var(--color-primary);
}

.custom-accordion-item:last-child {
  border-bottom: 1px solid var(--color-primary);
}

.custom-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.125rem;
  transition: background-color var(--transition-fast);
}

.custom-accordion-header:hover {
  background-color: rgba(0, 71, 171, 0.05); /* light blue tint */
}

.custom-accordion-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.custom-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}

.custom-accordion-content p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-container {
    grid-template-columns: 5fr 4fr;
    gap: 4rem;
  }
}

.about-candidate-photo {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-candidate-photo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -6px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #E2E8F0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 600;
}

.about-stats {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Outfit';
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 1rem 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-checklist li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 71, 171, 0.05) 0%, transparent 100%);
  transition: width var(--transition-normal);
  z-index: -1;
}

.about-checklist li:hover::after {
  width: 100%;
}

.about-checklist li:hover {
  transform: translateX(8px) translateY(-2px);
  box-shadow: var(--shadow-md);
}

.checklist-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.about-checklist li:hover .checklist-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: #16a34a;
  color: white;
}

.signature {
  margin-top: 2rem;
  border-top: 2px solid var(--color-border);
  padding-top: 1.5rem;
}

.signature-name {
  font-family: 'Outfit';
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

/* ——— Issues ——— */
.issues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .issues-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.issue-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid transparent;
}

.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--color-primary);
}

.issue-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(51, 113, 255, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.issue-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* ——— Action ——— */
.action-section {
  position: relative;
}

.action-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  background: var(--color-primary-dark);
  z-index: -1;
}

.action-card {
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 1024px) {
  .action-card {
    grid-template-columns: 1fr 1fr;
    padding: 4rem;
  }
}

.action-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary-dark);
}

.action-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.action-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  color: #166534;
  font-weight: 600;
  text-align: center;
}

/* ——— Footer ——— */
.footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-disclaimer {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  max-width: 600px;
}

.footer-disclaimer a {
  color: white;
  font-weight: 600;
}

.footer-disclaimer a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.paid-for {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}