/* PivotalPoint.io - Shared Styles */

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0e1a;
  color: #fff;
  line-height: 1.6;
}

body.has-bottom-cta {
  padding-bottom: 90px;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Shared site header (rendered by shared-header.js) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-header-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.site-header-logo i {
  margin-right: 8px;
  color: #ff6b35;
}

.site-header-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
  font-size: 0.9rem;
  transition: opacity 0.25s ease;
}

.site-header-link:hover {
  opacity: 1;
}

.site-header-link.is-active {
  opacity: 1;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 2px;
}

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

.logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo i {
  margin-right: 8px;
  color: #ff6b35;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 1;
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #0a0e1a 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ff6b35;
}

.content-section h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  margin-top: 25px;
  color: #fff;
}

.content-section p {
  margin-bottom: 15px;
  opacity: 0.8;
}

.content-section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
  opacity: 0.8;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table thead tr {
  background: rgba(255, 107, 53, 0.1);
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn i {
  margin-right: 8px;
}

/* Contact/Highlight Boxes */
.contact-info,
.highlight-box {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-info h3,
.highlight-box h3 {
  color: #ff6b35;
  margin-bottom: 15px;
}

.contact-info a,
.highlight-box a {
  color: #ff6b35;
  text-decoration: none;
}

.contact-info a:hover,
.highlight-box a:hover {
  text-decoration: underline;
}

/* Special callout boxes */
.callout-box {
  background: rgba(255, 107, 53, 0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #ff6b35;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #0a0e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
  margin: 0 15px;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: #ff6b35;
}

footer a {
  color: #ff6b35;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 1;
}

/* Bottom CTA Bar */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 18px;
  background: rgba(10, 14, 26, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bottom-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bottom-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bottom-cta-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
}

.bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.bottom-cta-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header-inner {
    padding: 12px 16px;
    display: block;
  }

  .site-header-logo {
    display: inline-block;
    margin-bottom: 10px;
  }

  .site-header-nav {
    justify-content: flex-start;
    gap: 10px 12px;
  }

  .site-header-link {
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .content-section {
    padding: 30px 20px;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  table th,
  table td {
    padding: 8px;
  }

  body.has-bottom-cta {
    padding-bottom: 120px;
  }

  .bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-cta-btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
