:root {
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --accent-light: #e8f0fe;
  --accent-dark: #174ea6;
  --bg: #ffffff;
  --surface-alt: #f8f9fa;
  --surface: #ffffff;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --border: #dadce0;
  --border-light: #e8eaed;
  --success: #188038;
  --error: #c5221f;
  --shadow-sm: 0 1px 2px rgba(60,64,67,0.08);
  --shadow-md: 0 2px 8px rgba(60,64,67,0.12);
  --shadow-lg: 0 4px 16px rgba(60,64,67,0.15);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.25s ease-out;
  --transition-slow: 0.4s ease-out;
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 15px;
  --line-height-base: 1.7;
  --container-max: 1120px;
  --navbar-height: 56px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface-alt);
}

h1, .h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-primary);
}

h2, .h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text-primary);
}

h3, .h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h4, .h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-secondary {
  background: white;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

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

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #137333;
  color: white;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-highlight {
  border-left: 3px solid var(--accent);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.badge-location {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.badge-urgent {
  background: var(--accent-light);
  color: var(--accent);
}

.urgent-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.badge-salary {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.detail-item {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e6f4ea;
  border: 1px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  flex-shrink: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.benefit-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 16px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
}

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

.faq-toggle {
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 20px 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border-light);
  border: 2px solid var(--border);
}

.timeline-step.completed .timeline-dot {
  background: var(--success);
  border-color: var(--success);
}

.timeline-step.current .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  margin-top: 7px;
  min-width: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-primary);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border-light);
  will-change: transform;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-inner .logo {
  order: 1;
}

.navbar-inner .mobile-menu-btn {
  order: 3;
}

.navbar-inner .nav-links {
  order: 4;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo-senior {
  color: var(--accent);
}

.logo-citizen {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  gap: 8px;
  z-index: 90;
  will-change: transform;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
}

.hero {
  background: var(--surface-alt);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.disclaimer-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

.disclaimer-box p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

table th {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--text-primary);
}

table td {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px -16px;
    width: calc(100% + 32px);
  }
}

.content-body h2 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.content-body h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-body p {
  margin-bottom: 20px;
}

.content-body ul, .content-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.content-body li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-body ul li {
  list-style-type: disc;
}

.content-body ol li {
  list-style-type: decimal;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 52px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 12px 16px;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 40px 0 32px;
  }
  
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .detail-item {
    padding: 12px 8px;
  }
  
  .floating-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 64px;
  }
  
  .hero {
    padding: 48px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-cta {
    gap: 12px;
  }

  .hero-cta .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    padding: 20px;
  }

  .card {
    padding: 20px;
  }

  .content-body h2 {
    font-size: 22px;
    margin-top: 32px;
  }

  .content-body h3 {
    font-size: 18px;
    margin-top: 24px;
  }

  .step-item {
    gap: 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table th, table td {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .breadcrumb {
    padding: 12px 0;
    font-size: 12px;
  }

  .disclaimer-box {
    padding: 16px;
    margin: 20px 0;
  }

  .faq-question {
    padding: 16px 0;
    font-size: 14px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .form-input {
    padding: 14px 16px;
    font-size: 16px;
  }

  .quick-facts-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .quick-facts-grid div {
    padding: 8px;
    background: white;
    border-radius: 4px;
    font-size: 13px;
  }

  [style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  [style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] > div {
    padding: 8px;
    background: white;
    border-radius: 4px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 15px;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .content-body h2 {
    font-size: 20px;
  }

  .content-body h3 {
    font-size: 16px;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
  }

  .check-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .floating-cta .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
  }

  .card {
    padding: 16px;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .check-item {
    align-items: flex-start;
  }

  .check-item span:last-child {
    font-size: 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }

  .faq-question {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}
