@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  font-family: 'Schibsted Grotesk', sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #020710;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Custom Color Tokens */
  --bg-primary: #020710;
  --bg-secondary: #051022;
  --bg-tertiary: #08162d;
  --bg-card: rgba(10, 25, 47, 0.7);
  
  --accent-gold: #ffaa00;
  --accent-orange: #ff5500;
  --accent-cyan: #00f0ff;
  --accent-blue: #0077ff;
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #64748b;
  
  --border-glow: rgba(0, 240, 255, 0.15);
  --border-gold: rgba(255, 170, 0, 0.2);
  --border-glass: rgba(255, 255, 255, 0.08);

  --gradient-gold: linear-gradient(135deg, #ffca28 0%, #ff8f00 50%, #ff6f00 100%);
  --gradient-neon: linear-gradient(135deg, #00f0ff 0%, #0072ff 100%);
  --gradient-dark: linear-gradient(180deg, #020710 0%, #051022 100%);
  --gradient-glow-orange: radial-gradient(circle at 50% 50%, rgba(255, 85, 0, 0.15) 0%, transparent 60%);
  --gradient-glow-blue: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 60%);
}

html {
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

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

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

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

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

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

/* Utilities */
.glass {
  background: rgba(5, 16, 34, 0.4);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border-glass);
}

.glass-card {
  background: rgba(10, 25, 47, 0.35);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
  transform: translateY(-4px);
}

.gradient-text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-sparkle-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.btn-sparkles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 430px;
  height: 96px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: invert(1) brightness(2);
}

.btn-sparkle-wrapper:hover .btn-sparkles {
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(1.05);
}

.btn-talk {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  padding: 0 36px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 54px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2a1810 0%, #150c08 100%);
  border: 1.5px solid rgba(255, 170, 0, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 170, 0, 0.15);
  line-height: 1;
}

.btn-talk:hover {
  transform: translateY(-2px);
  border-color: #ffaa00;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 170, 0, 0.35);
  background: linear-gradient(135deg, #382112 0%, #1e120a 100%);
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-glow);
}

/* Blog Carousel */
.blog-carousel::-webkit-scrollbar,
.services-carousel::-webkit-scrollbar {
  display: none;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card:hover .blog-read-more {
  color: #ffaa00;
}

#contactus {
  scroll-margin-top: 88px;
}

@media (max-width: 1023px) {
  #contactus {
    scroll-margin-top: 72px;
  }

  .btn-sparkles {
    display: none;
  }

  .btn-sparkle-wrapper {
    width: 100%;
  }

  .btn-talk {
    min-width: unset;
    width: 100%;
    height: 48px;
    font-size: 0.88rem;
    padding: 0 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

