/* Novita Group - Static Site Styles
   Premium Consulting Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Core palette - Deep navy with warm amber accents */
  --background: 222 47% 4%;
  --foreground: 210 20% 98%;
  --card: 222 40% 7%;
  --card-foreground: 210 20% 98%;
  --primary: 38 92% 50%;
  --primary-foreground: 222 47% 4%;
  --secondary: 217 33% 17%;
  --secondary-foreground: 210 20% 98%;
  --muted: 217 33% 12%;
  --muted-foreground: 215 20% 65%;
  --accent: 210 100% 60%;
  --accent-foreground: 222 47% 4%;
  --border: 217 25% 15%;
  --radius: 0.75rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, hsl(38 92% 50%) 0%, hsl(28 85% 55%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glass card */
.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.05);
  background: linear-gradient(135deg, hsla(217, 33%, 17%, 0.4) 0%, hsla(217, 33%, 12%, 0.2) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px -8px hsla(0, 0%, 0%, 0.5), 0 0 0 1px hsla(217, 25%, 15%, 0.5);
}

/* Gradient border effect */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, hsl(38 92% 50%) 0%, hsl(210 100% 60%) 50%, hsl(38 92% 50%) 100%);
  -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;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* Mesh background */
.mesh-bg {
  background-image: radial-gradient(at 40% 20%, hsla(210, 100%, 60%, 0.08) 0px, transparent 50%),
                    radial-gradient(at 80% 0%, hsla(38, 92%, 50%, 0.06) 0px, transparent 50%),
                    radial-gradient(at 0% 50%, hsla(217, 33%, 17%, 0.3) 0px, transparent 50%);
}

/* Section divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(217 25% 20%), transparent);
}

/* Glow effect */
.glow {
  box-shadow: 0 0 60px -15px hsla(38, 92%, 50%, 0.3);
}

/* Hover lift */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background-color: hsl(38 92% 45%);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsla(217, 25%, 15%, 0.5);
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsla(217, 33%, 17%, 0.5);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
  color: hsl(var(--foreground));
  background: hsla(217, 33%, 17%, 0.5);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

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

/* Scroll animation classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background-color: hsla(222, 47%, 4%, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(217, 25%, 15%, 0.5);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  margin-top: 1rem;
  border-top: 1px solid hsla(217, 25%, 15%, 0.5);
}

.mobile-nav.open {
  display: flex;
}

@media (min-width: 768px) {
  .nav-links, .header-cta {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(38, 92%, 50%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(210, 100%, 60%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(hsl(var(--foreground)) 1px, transparent 1px),
                    linear-gradient(90deg, hsl(var(--foreground)) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--primary));
}

.eyebrow-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pillar-card {
  padding: 1rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .pillar-card {
    padding: 1.5rem;
  }
}

.pillar-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .pillar-card h3 {
    font-size: 1rem;
  }
}

.pillar-card:hover h3 {
  color: hsl(var(--primary));
}

.pillar-card p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .pillar-card p {
    font-size: 0.875rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.scroll-indicator:hover {
  color: hsl(var(--foreground));
}

.scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Sections */
section {
  position: relative;
  overflow: hidden;
}

.section-padding {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

/* Services Section */
.services {
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsla(217, 33%, 17%, 0.2) 50%, hsl(var(--background)) 100%);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  height: 100%;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .service-card {
    padding: 2rem;
  }
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: hsla(38, 92%, 50%, 0.1);
  color: hsl(var(--primary));
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-arrow {
  color: hsl(var(--muted-foreground));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover .service-arrow {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.service-card:hover h3 {
  color: hsl(var(--primary));
}

.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Approach Section */
.approach-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  height: 50%;
  background: hsla(38, 92%, 50%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
  transform: translateY(-50%);
}

.approach-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
}

.approach-content h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.approach-content p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 2rem;
}

.approach-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.stat-label {
  color: hsl(var(--muted-foreground));
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: hsl(var(--border));
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateX(8px);
}

.step-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsla(38, 92%, 50%, 0.3);
  transition: color 0.2s ease;
}

.step-card:hover .step-number {
  color: hsl(var(--primary));
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.step-card:hover .step-content h3 {
  color: hsl(var(--primary));
}

.step-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsla(217, 33%, 17%, 0.1) 50%, hsl(var(--background)) 100%);
}

.testimonials-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: hsla(38, 92%, 50%, 0.05);
  filter: blur(48px);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsla(38, 92%, 50%, 0.3);
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  color: hsla(210, 20%, 98%, 0.9);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid hsla(217, 25%, 15%, 0.5);
  padding-top: 1.5rem;
}

.author-name {
  font-weight: 600;
}

.author-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* CTA Section */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: hsla(38, 92%, 50%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-note {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 2rem;
}

/* Footer */
.footer {
  border-top: 1px solid hsla(217, 25%, 15%, 0.5);
  background: hsla(222, 40%, 7%, 0.5);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
  max-width: 400px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: hsla(217, 33%, 17%, 0.5);
  color: hsl(var(--muted-foreground));
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-nav h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: hsl(var(--foreground));
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid hsla(217, 25%, 15%, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: hsl(var(--foreground));
}

/* Icons inline SVG helpers */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
