/* Home page specific styles */
body { background: var(--purple-900); }
html { background: var(--purple-900); }
.hero {
  background: var(--purple-900);
  color: #fff; text-align: center;
  padding: 72px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Carousel Styles */
.carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.carousel-container {
  position: relative;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-slide.active {
  opacity: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s;
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.carousel-btn.prev {
  left: 20px;
}
.carousel-btn.next {
  right: 20px;
}
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: white;
}

.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; opacity: .7; margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 14px;
}
.hero p { font-size: 17px; opacity: .8; line-height: 1.6; margin-bottom: 32px; }
.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-btns .btn {
  min-width: 180px; justify-content: center;
  font-size: 15px; padding: 13px 24px;
}
.btn-hero-primary {
  background: var(--purple-600); color: #fff;
}
.btn-hero-primary:hover { background: var(--purple-800); }
.btn-hero-secondary {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); }

/* Announcements */
.announce-bar {
  background: var(--surf); border-bottom: 1px solid var(--border);
}
.announce-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.announce-item {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
}
.announce-item:last-child { border-bottom: none; }
.announce-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.announce-body .title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.announce-body .text  { font-size: 13px; color: var(--text2); }
.announce-item.info .announce-icon { color: var(--purple-600); }
.announce-item.warning .announce-icon { color: var(--amber-600); }
.announce-item.success .announce-icon { color: var(--green-600); }

/* Feature sections */
.features { background: var(--gray-50); padding: 56px 24px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-intro { text-align: center; margin-bottom: 40px; }
.features-intro h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.features-intro p { font-size: 15px; color: var(--text2); max-width: 540px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 28px 24px;
  text-align: center;
}
.feature-card .fi { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin-bottom: 18px; }
.feature-card .fc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--purple-50); color: var(--purple-800);
  border: 1px solid var(--purple-200); border-radius: var(--r);
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .13s; cursor: pointer; font-family: var(--sans);
}
.feature-card .fc-btn:hover { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }

/* Quick info strip */
.info-strip { background: var(--purple-900); color: #fff; padding: 40px 24px; }
.info-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.info-item .ii-label { font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; opacity: .55; margin-bottom: 5px; }
.info-item .ii-value { font-size: 14.5px; font-weight: 600; }
.info-item .ii-sub { font-size: 12px; opacity: .6; margin-top: 2px; }
.info-item a { color: #CECBF6; }

/* Links section */
.links-section { background: var(--surf); padding: 40px 24px; border-top: 1px solid var(--border); }
.links-inner { max-width: 1100px; margin: 0 auto; }
.links-inner h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--gray-50); color: var(--text2);
}
.quick-link:hover { background: var(--purple-50); border-color: var(--purple-200); color: var(--purple-800); }

@media(max-width:820px){
  .hero { padding: 58px 18px 68px; }
  .features { padding: 40px 18px; }
}
