/* Agency Demo - Custom styles (supplements TailwindCSS CDN) */

:root {
  --agency-primary: #1e40af;
  --agency-primary-dark: #1e3a8a;
  --agency-accent: #f59e0b;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* CTA buttons */
.btn-primary {
  background-color: var(--agency-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--agency-primary-dark);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.btn-outline {
  border: 2px solid var(--agency-primary);
  color: var(--agency-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

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

/* Hero section */
.hero-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

/* Iframe container */
.iframe-container {
  height: calc(100vh - 64px);
  position: relative;
}

/* Loading spinner for iframe */
.iframe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
}

.iframe-loading.hidden {
  display: none;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid #bfdbfe;
  border-top-color: var(--agency-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
