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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #155e75 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 4px solid #0891b2;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-wrap: wrap;
  justify-content: center;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

@supports not (background-clip: text) {
  .logo-text {
    color: #0891b2;
  }
}

.tagline {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .logo {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .tagline {
    margin-left: 0;
    font-size: 0.85rem;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .logo-icon {
    font-size: 2rem;
  }
}

main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.agency-page h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.agency-url-inline {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0891b2;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.agency-url-inline:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.agency-link {
  margin-bottom: 2rem;
  text-align: center;
}

.agency-link a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0891b2;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.agency-link a:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.agency-info-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .agency-info-container {
    grid-template-columns: 1fr;
  }
}

.agency-info {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.agency-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.agency-info h2 {
  margin-bottom: 2rem;
  color: #0891b2;
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 3px solid #0891b2;
  position: relative;
}

@supports not (background-clip: text) {
  .agency-info h2 {
    color: #0891b2;
  }
}

.agency-info h2::selection {
  -webkit-text-fill-color: white;
  background: #0891b2;
}

.agency-info h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0e7490, transparent);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.transfer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(14, 116, 144, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #0891b2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(14, 116, 144, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-item:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.25);
  border-left-color: #0e7490;
}

@media (prefers-reduced-motion: reduce) {
  .info-item:hover {
    transform: none;
  }
}

.info-item:hover::before {
  opacity: 1;
}

.info-item h3 {
  font-size: 0.85rem;
  color: #0891b2;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.info-item .status {
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.status-yes {
  color: #10b981;
}

.status-no {
  color: #ef4444;
}

.agency-content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.agency-content h2 {
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.75rem;
}

.agency-content h3 {
  color: #0891b2;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.agency-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.agency-content li {
  margin-bottom: 0.5rem;
  color: #555;
}

.agency-content p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.8;
}

.home-intro {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 4rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
}

.home-intro h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #0891b2;
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -1px;
}

@supports not (background-clip: text) {
  .home-intro h1 {
    color: #0891b2;
  }
}

.home-intro h1::selection {
  -webkit-text-fill-color: white;
  background: #0891b2;
}

.home-intro p {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.agency-list {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.agency-list h2 {
  margin-bottom: 2rem;
  color: #2c3e50;
  font-weight: 700;
  font-size: 2rem;
}

.agency-list ul {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.agency-list li {
  margin-bottom: 0;
}

.agency-list a {
  display: block;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(14, 116, 144, 0.05) 100%);
  color: #2c3e50;
  text-decoration: none;
  border-radius: 12px;
  border-left: 5px solid #0891b2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  overflow: hidden;
}

.agency-list a::before {
  content: '→';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: #0e7490;
}

.agency-list a:hover {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(14, 116, 144, 0.15) 100%);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.25);
  border-left-color: #0e7490;
  padding-right: 4rem;
}

@media (prefers-reduced-motion: reduce) {
  .agency-list a:hover {
    transform: none;
  }
  
  .agency-list a:hover::before {
    transform: translateY(-50%);
  }
}

.agency-list a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

footer {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding: 2.5rem;
  margin-top: 5rem;
  border-top: 3px solid #0891b2;
}

footer p {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .home-intro h1 {
    font-size: 2rem;
  }
  
  .home-intro {
    padding: 2rem 1.5rem;
  }
  
  .home-intro p {
    font-size: 1rem;
  }
  
  .agency-info {
    padding: 1rem;
  }
  
  .agency-info h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }
  
  .agency-page h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .info-grid {
    gap: 0.75rem;
  }
  
  .info-item {
    padding: 0.75rem;
  }
  
  .info-item h3 {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
  }
  
  .info-item .status {
    font-size: 1rem;
  }
  
  .transfer-info {
    gap: 0.75rem;
  }
  
  .agency-info-container {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .agency-content {
    padding: 1.5rem;
  }
  
  .agency-content h2 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
  
  .agency-content h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
  }
  
  .agency-list {
    padding: 1.5rem;
  }
  
  .agency-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .agency-list a {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  main {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  
  .logo-icon {
    font-size: 2rem;
  }
  
  .logo-text {
    font-size: 1.75rem;
  }
  
  .tagline {
    font-size: 0.9rem;
  }
  
  header {
    padding: 1.5rem 1rem 1.25rem;
  }
  
  footer {
    padding: 1.5rem;
    margin-top: 3rem;
  }
}
