:root {
  --fylo-primary: #4dd7f5;
  --fylo-secondary: #7057ff;
  --fylo-dark: #0f172a;
  --fylo-midnight: #11183c;
  --fylo-text: #182046;
  --fylo-muted: rgba(24, 32, 70, 0.65);
  --fylo-border: rgba(15, 23, 42, 0.08);
  --fylo-light: #ffffffff;
  --fylo-header-bg: #10152b;
  --fylo-header-bg-scrolled: #131c3b;
  --fylo-hero-bg: #1f2b53;
  --fylo-footer-bg: #0f172a;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  z-index: 999;
  border-radius: 12px;
  background: var(--fylo-primary);
  color: #0f172a;
}

/* ===============================================
   TOP BAR WITH SOCIAL ICONS
   =============================================== */
.fylo-topbar {
  background: var(--fylo-topbar-bg);
  border-bottom: 1px solid rgba(77, 215, 245, 0.1);
  padding: 12px 0;
}

.fylo-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fylo-topbar__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fylo-topbar__label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--fylo-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.fylo-topbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fylo-topbar__social li {
  margin: 0;
  padding: 0;
}

.fylo-topbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(77, 215, 245, 0.1);
  border: 1px solid rgba(77, 215, 245, 0.2);
  border-radius: 50%;
  color: var(--fylo-primary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fylo-topbar__social a:hover {
  background: var(--fylo-primary);
  border-color: var(--fylo-primary);
  color: var(--fylo-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 215, 245, 0.3);
}

.fylo-topbar__social a i {
  line-height: 1;
}

.screen-reader-text {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* When no social links, center the label */
.fylo-topbar__inner:has(.fylo-topbar__label):not(:has(.fylo-topbar__social)) {
  justify-content: center;
}

@media (max-width: 768px) {
  .fylo-topbar {
    padding: 10px 0;
  }
  
  .fylo-topbar__inner {
    flex-direction: column;
    gap: 12px;
  }
  
  .fylo-topbar__label {
    font-size: 13px;
  }
  
  .fylo-topbar__social a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

.site-header .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-header .nav-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header .branding .site-title {
  font-size: 1.05rem;
  margin: 0;
  color: #f8fbff;
}

.site-header .branding .site-description {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.site-header .nav-menu li > a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding-bottom: 0.4rem;
}

.site-header .nav-menu li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: var(--fylo-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-header .nav-menu li.current-menu-item > a::after,
.site-header .nav-menu li > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .nav-cta .cta-ghost {
  border-color: rgba(255, 255, 255, 0.28);
}

.site-header .nav-cta .cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.site-header .nav-cta .btn-primary {
  font-size: 0.95rem;
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.announcement svg {
  width: 16px;
  height: 16px;
}

.hero-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.hero-media {
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 32px;
  border: 2px dotted rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero-media .floating-card {
  position: absolute;
  top: 12%;
  right: -6%;
  background: rgba(12, 18, 40, 0.85);
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 32px 75px -45px rgba(8, 12, 27, 0.8);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
}

.hero-meta {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta span:first-child {
  font-weight: 700;
  font-size: 1.4rem;
}

.hero-meta span:last-child {
  font-size: 0.875rem;
  color: rgba(238, 244, 255, 0.78);
}

.card-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card-grid .feature-card {
  padding: 2.2rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 95px -55px rgba(19, 23, 43, 0.6);
  border: 1px solid rgba(112, 143, 255, 0.1);
}

.card-grid .feature-card h3 {
  margin-bottom: 0.65rem;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background-color: rgba(77, 215, 245, 0.15);
  margin-bottom: 1.1rem;
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
  color: var(--fylo-secondary);
}

.site-footer {
  padding: 4rem 0 2.5rem;
  background-color: var(--fylo-footer-bg);
  color: rgba(255, 255, 255, 0.82);
}

.footer-top {
  margin-bottom: 3rem;
}

.footer-columns {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-column {
  color: rgba(255, 255, 255, 0.75);
}

.footer-column .widget {
  margin: 0;
  color: inherit;
}

.footer-column .widget-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-column li a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column li a:hover {
  color: var(--fylo-primary);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 3rem 0 2.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
}

.footer-branding .brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: var(--fylo-primary);
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-branding .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-branding .brand-text span:first-child {
  font-weight: 600;
}

.footer-branding .brand-text span:last-child {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
}

.footer-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-contact {
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.25rem;
}

.footer-contact-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social li {
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
}

.footer-social a:hover,
.footer-social a:focus {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer-social a i {
  font-size: 16px;
}

.read-more {
  font-weight: 600;
  color: var(--fylo-secondary);
}

.comment-respond {
  background: #fff;
  padding: 2rem;
  border-radius: 22px;
  box-shadow: 0 32px 120px -70px rgba(14, 20, 45, 0.55);
}

.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"],
.comment-respond .comment-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(247, 249, 255, 0.9);
  font-family: inherit;
}

.comment-respond .comment-form input[type="text"]:focus,
.comment-respond .comment-form input[type="email"]:focus,
.comment-respond .comment-form textarea:focus {
  outline: none;
  border-color: rgba(77, 215, 245, 0.75);
  box-shadow: 0 0 0 3px rgba(77, 215, 245, 0.2);
}

.widget-area {
  margin-top: 4rem;
}

.widget-area .widget {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 22px 85px -65px rgba(5, 10, 32, 0.5);
}

.widget-area .widget-title {
  margin-bottom: 1rem;
}

.site-footer .footer-bottom nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer .footer-bottom nav ul li a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .footer-bottom nav ul li a:hover {
  color: var(--fylo-primary);
}

/* Single post categories */
.entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.entry-category {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.95rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
  color: var(--fylo-midnight);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.entry-category:hover,
.entry-category:focus-visible {
  background: rgba(77, 215, 245, 0.22);
  color: var(--fylo-primary);
  transform: translateY(-1px);
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  .footer-meta {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-contact {
    justify-content: center;
  }

  .footer-contact-link {
    font-size: 0.9em;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-separator {
    display: none;
  }
}