/* Custom CSS for additional styling not easily handled by Tailwind utilities */

/* GC North Sans Font Setup */
@font-face {
  font-family: "GC North Sans";
  src:
    url("../fonts/GCNorthSans-Regular.woff2") format("woff2"),
    url("../fonts/GCNorthSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GC North Sans";
  src:
    url("../fonts/GCNorthSans-Medium.woff2") format("woff2"),
    url("../fonts/GCNorthSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GC North Sans";
  src:
    url("../fonts/GCNorthSans-SemiBold.woff2") format("woff2"),
    url("../fonts/GCNorthSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GC North Sans";
  src:
    url("../fonts/GCNorthSans-Bold.woff2") format("woff2"),
    url("../fonts/GCNorthSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GC North Sans";
  src:
    url("../fonts/GCNorthSans-ExtraBold.woff2") format("woff2"),
    url("../fonts/GCNorthSans-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Hide scrollbar for marquee */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Navigation pill – solid white box (reference nav) */
.nav-pill {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.nav-pill .nav-link:hover {
  background-color: #f1f5f9;
  color: #233876;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating animation for hero elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 3s;
}

/* SOLUTIONS DASHBOARD */
#solutions {
  --brand-primary: #233876;
  --brand-secondary: #4a388b;
  --brand-light: #eef2ff;
}

.bg-brand-gradient {
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
}

.text-brand-gradient {
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-tab {
  position: relative;
  z-index: 1;
  cursor: pointer;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-tab.active {
  background: white;
  box-shadow: 0 15px 35px rgba(35, 56, 118, 0.12);
  border-color: rgba(35, 56, 118, 0.05);
}

.solution-tab.active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, rgba(35, 56, 118, 0.1), transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.solution-tab.active .icon-container {
  background: #eff6ff;
  color: var(--brand-primary);
  box-shadow: inset 0 2px 4px rgba(35, 56, 118, 0.05);
}

.solution-tab.active i {
  color: var(--brand-primary) !important;
  --ph-secondary-opacity: 0.7;
  filter: drop-shadow(0 2px 4px rgba(35, 56, 118, 0.2));
}

.solution-tab h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.solution-tab p {
  font-size: 10px;
  opacity: 0.8;
}

.solution-tab i {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure duotone icons are visible */
.ph-duotone {
  --ph-primary-opacity: 1;
  --ph-secondary-opacity: 0.3;
}

.solution-tab.active .ph-duotone {
  --ph-secondary-opacity: 0.5;
}

.solution-pane {
  transition: all 0.5s ease;
}

/* Custom Pricing Toggle */
.toggle-checkbox:checked {
  right: 0;
  border-color: #5850ec;
}
.toggle-checkbox:checked + .toggle-label {
  background-color: #5850ec;
}

/* Grid Patterns */
.bg-grid-pattern {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bento-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Marquee Animation Pause on Hover */
.group:hover .animate-marquee {
  animation-play-state: paused;
}

.animate-marquee {
  display: inline-flex;
}

/* Premium Solutions Section Styling */
.solutions-section {
  position: relative;
}

.solutions-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-btn {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-btn.active {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: rgba(74, 56, 139, 0.1);
}

.tab-btn.active .icon-wrapper {
  background: linear-gradient(135deg, #233876, #4a388b);
  color: white;
  transform: scale(1.1);
}

.icon-wrapper {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-item {
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(8px);
}

.feature-item:hover .check-icon {
  transform: scale(1.2);
}

.check-icon {
  transition: all 0.3s ease;
}

/* Gradient Text for Headings */
.text-brand-gradient {
  background: linear-gradient(90deg, #233876, #4a388b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animation for the illustration */
@keyframes float-soft {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.animate-float-soft {
  animation: float-soft 4s ease-in-out infinite;
}

/* Premium UI Utilities */
.premium-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(35, 56, 118, 0.12);
  border-color: rgba(35, 56, 118, 0.1);
}

.border-glow {
  position: relative;
}

.border-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(35, 56, 118, 0.2),
    rgba(74, 56, 139, 0.2),
    transparent
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-card:hover.border-glow::after {
  opacity: 1;
}

.mesh-gradient {
  background-color: #233876;
  background-image:
    radial-gradient(at 0% 0%, hsla(225, 54%, 30%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(258, 42%, 38%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(180, 80%, 40%, 1) 0, transparent 50%);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Social Flip Button Component */
.social-flip-btn-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: 0 4px 15px -3px rgba(35, 56, 118, 0.08);
  border: 1px solid rgba(35, 56, 118, 0.1);
}

.social-flip-border-container {
  position: absolute;
  inset: -1px;
  border-radius: 1rem;
  overflow: hidden;
  pointer-events: none;
}

.social-flip-border-top,
.social-flip-border-bottom {
  position: absolute;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(74, 56, 139, 0.4),
    rgba(35, 56, 118, 0.4),
    transparent
  );
}

.social-flip-border-top {
  top: 0;
  animation: socialSlideRight 2.5s linear infinite;
}

.social-flip-border-bottom {
  bottom: 0;
  animation: socialSlideLeft 2.5s linear infinite;
}

@keyframes socialSlideRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes socialSlideLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.social-flip-node {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
  cursor: pointer;
  perspective: 1000px;
  display: block;
}

.social-flip-inner {
  position: relative;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-flip-node:hover .social-flip-inner {
  transform: rotateY(180deg);
}

.social-flip-front,
.social-flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  backface-visibility: hidden;
}

.social-flip-front {
  background: #f8fafc;
  border: 1px solid rgba(35, 56, 118, 0.05);
  color: #233876;
  font-size: 1.125rem;
  font-weight: 800;
}

.social-flip-back {
  background: linear-gradient(135deg, #233876, #4a388b);
  color: #ffffff;
  font-size: 1.125rem;
  transform: rotateY(180deg);
  box-shadow: 0 4px 10px rgba(35, 56, 118, 0.2);
}

/* Tooltip */
.social-flip-tooltip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(10px) scale(0.8);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  border-radius: 0.5rem;
  background-color: #171717;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 50;
  pointer-events: none;
  margin-bottom: 0.5rem;
}

.social-flip-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #171717 transparent transparent transparent;
}

.social-flip-node:hover .social-flip-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Mobile Adjustments for Social Flip */
@media (max-width: 768px) {
  .social-flip-inner {
    transform: rotateY(180deg) !important;
  }

  .social-flip-tooltip {
    display: none !important;
  }
}

/* ─── Migrated from HTML inline styles (visual parity) ─── */
.oss-bg-page-soft {
  background-color: #f8f9ff;
}

.oss-badge-soft {
  background: #eef0f8;
  color: #233876;
}

.oss-text-gradient-90 {
  background: linear-gradient(90deg, #233876, #4a388b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.oss-bg-gradient-brand {
  background: linear-gradient(135deg, #233876, #4a388b);
}

.oss-bg-brand-solid {
  background: #233876;
}

.oss-bg-brand-tint {
  background: #eef0f8;
}

.oss-text-brand {
  color: #233876;
}

.oss-text-brand-mid {
  color: #4a388b;
}

.oss-pricing-featured {
  background: linear-gradient(135deg, #233876, #4a388b);
  border-color: #233876;
}

.oss-bg-footer-banner {
  background: linear-gradient(110deg, #16121f 0%, #0a0a0a 60%);
}

.oss-anim-delay-500 {
  animation-delay: 0.5s;
}

.oss-anim-delay-1000 {
  animation-delay: 1s;
}

.oss-spin-duration-8s {
  animation-duration: 8s;
}

.oss-spin-duration-9s-reverse {
  animation-duration: 9s;
  animation-direction: reverse;
}

.oss-spin-duration-7s {
  animation-duration: 7s;
}

.oss-bg-gradient-deep-navy {
  background: linear-gradient(135deg, #1a2a5a, #233876);
}

.oss-bg-gradient-purple-mid {
  background: linear-gradient(135deg, #4a388b, #332663);
}

.oss-bg-gradient-deep-purple {
  background: linear-gradient(135deg, #1a2a5a, #4a388b);
}

.oss-bg-gradient-navy-deep {
  background: linear-gradient(135deg, #233876, #1a2a5a);
}

.oss-bg-gradient-mid-deep {
  background: linear-gradient(135deg, #332663, #1a2a5a);
}

.oss-bg-gradient-purple-navy {
  background: linear-gradient(135deg, #4a388b, #233876);
}

.oss-bg-gradient-teal-inner {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.oss-bg-gradient-purple-indigo {
  background: linear-gradient(135deg, #4a388b, #6366f1);
}

.oss-blog-feature-icon {
  font-size: 5rem;
  opacity: 0.3;
}

.oss-blog-card-icon {
  font-size: 3.5rem;
  opacity: 0.35;
}

.oss-tab-indicator-init {
  height: 92px;
  transform: translateY(0);
}

.oss-t-delay-100 {
  transition-delay: 100ms;
}

.oss-t-delay-150 {
  transition-delay: 150ms;
}

.oss-t-delay-200 {
  transition-delay: 200ms;
}

.oss-t-delay-300 {
  transition-delay: 300ms;
}

.oss-t-delay-400 {
  transition-delay: 400ms;
}

.oss-t-delay-500 {
  transition-delay: 500ms;
}

.oss-ireland-map-host {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.oss-how-pattern-135 {
  background: repeating-linear-gradient(
    135deg,
    #fff 0px,
    #fff 1px,
    transparent 1px,
    transparent 40px
  );
}

.oss-how-pattern-45 {
  background: repeating-linear-gradient(
    45deg,
    #fff 0px,
    #fff 1px,
    transparent 1px,
    transparent 40px
  );
}

.oss-stats-radial-overlay {
  background:
    radial-gradient(circle at 20% 50%, #fff 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, #fff 0%, transparent 60%);
}

.oss-bg-stats-section {
  background: linear-gradient(135deg, #1a2a5a, #233876, #4a388b);
}
