/* Shared styles for static landing and content pages */
.static-landing {
  min-height: 100vh;
  position: relative;
  background-color: #111827;
  background-image: url(/Toastmasters-Timer-cover-page.png);
  background-size: cover;
  background-position: 80% center;
  background-repeat: no-repeat;
  font-family: system-ui, -apple-system, sans-serif;
  color: #d1d5db;
  margin: 0;
}
.static-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.static-header {
  position: relative;
  z-index: 10;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.static-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.static-header-logo {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.static-header-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.static-main {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.static-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.static-hero {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  overflow: hidden;
  padding: 0;
}
.static-gradient-bar {
  height: 6px;
  width: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #dc2626 100%);
}
.static-hero-content {
  padding: 2.5rem 1.5rem;
}
.static-hero-logo {
  display: block;
  margin: 0 auto;
  height: 6rem;
  width: 6rem;
  border-radius: 1rem;
  object-fit: cover;
}
.static-hero h1 {
  margin-top: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.static-hero p {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.static-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .static-cta-row { flex-direction: row; }
}
.static-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: #2563eb;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.static-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.static-card h2, .static-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.static-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.static-dot {
  display: inline-block;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  margin-top: 0.375rem;
  flex-shrink: 0;
}
.static-rules-table {
  width: 100%;
  font-size: 0.875rem;
}
.static-rules-table li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.static-rules-table li:last-child {
  border-bottom: none;
}
.static-rules-table .static-rule-name {
  font-weight: 500;
  color: #fff;
}
.static-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Footer */
.static-footer {
  position: relative;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 2rem 1rem;
}
.static-footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .static-footer-inner { grid-template-columns: repeat(3, 1fr); }
}
.static-footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.static-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.static-footer-links li {
  margin-bottom: 0.5rem;
}
.static-footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.static-footer-links a:hover {
  color: #e5e7eb;
}
.static-footer-copy {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.static-breadcrumb {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  font-size: 0.875rem;
}
.static-breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
}
.static-breadcrumb a:hover {
  color: #e5e7eb;
}
.static-breadcrumb span {
  color: #6b7280;
  margin: 0 0.5rem;
}
.static-breadcrumb .current {
  color: #d1d5db;
}

/* Content page styles */
.static-content p {
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.static-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.static-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.static-content ul, .static-content ol {
  color: #d1d5db;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.static-content li {
  margin-bottom: 0.5rem;
}
.static-content strong {
  color: #fff;
}
.static-content a {
  color: #60a5fa;
  text-decoration: none;
}
.static-content a:hover {
  color: #93bbfd;
  text-decoration: underline;
}

/* Timing chart table */
.static-timing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0;
}
.static-timing-table th {
  text-align: left;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}
.static-timing-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #d1d5db;
}
.static-timing-table tr:last-child td {
  border-bottom: none;
}
.color-green { color: #22c55e; font-weight: 600; }
.color-yellow { color: #eab308; font-weight: 600; }
.color-red { color: #dc2626; font-weight: 600; }
.color-bar {
  display: flex;
  height: 1.25rem;
  border-radius: 0.25rem;
  overflow: hidden;
  margin-top: 0.25rem;
}
.color-bar-green { background: #22c55e; }
.color-bar-yellow { background: #eab308; }
.color-bar-red { background: #dc2626; }
.color-bar-over { background: #7f1d1d; }
