/* ===== CSS Variables ===== */
:root {
  --background: hsl(222, 47%, 6%);
  --foreground: hsl(210, 40%, 98%);
  
  --card: hsl(222, 47%, 8%);
  --card-foreground: hsl(210, 40%, 98%);
  
  --primary: hsl(187, 85%, 53%);
  --primary-foreground: hsl(222, 47%, 6%);
  
  --secondary: hsl(222, 47%, 12%);
  --secondary-foreground: hsl(210, 40%, 98%);
  
  --muted: hsl(222, 30%, 15%);
  --muted-foreground: hsl(215, 20%, 65%);
  
  --border: hsl(222, 30%, 18%);
  
  --gradient-primary: linear-gradient(135deg, hsl(187, 85%, 53%) 0%, hsl(200, 90%, 45%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(222, 47%, 6%) 0%, hsl(222, 47%, 10%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(222, 47%, 10%) 0%, hsl(222, 47%, 7%) 100%);
  
  --shadow-glow: 0 0 60px hsla(187, 85%, 53%, 0.2);
  --shadow-card: 0 8px 32px hsla(222, 47%, 2%, 0.5);
  
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

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

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

/* ===== Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn-hero {
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 0 30px hsla(187, 85%, 53%, 0.3);
}

.btn-hero:hover {
  box-shadow: 0 0 40px hsla(187, 85%, 53%, 0.5);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-hero-outline:hover {
  background: var(--secondary);
  border-color: hsla(187, 85%, 53%, 0.3);
}

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

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(222, 47%, 6%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(222, 30%, 18%, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-subtitle {
  display: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.nav-link {
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid hsla(222, 30%, 18%, 0.5);
  animation: fadeIn 0.3s ease-out;
}

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

.nav-mobile .nav-link {
  padding: 0.5rem 0;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: var(--gradient-hero);
  padding-top: 5rem;
}

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

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-glow-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(187, 85%, 53%, 0.1);
  animation: pulseSlow 4s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(187, 85%, 53%, 0.05);
  animation: pulseSlow 4s ease-in-out infinite;
  animation-delay: 2s;
}

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

.hero-container {
  position: relative;
  z-index: 10;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--secondary);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 1rem;
}

.stat-border {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.floating-icon {
  position: absolute;
  opacity: 0.2;
  color: var(--primary);
}

.floating-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.floating-icon-1 {
  top: 33%;
  left: 0.5rem;
}

.floating-icon-1 svg {
  width: 3rem;
  height: 3rem;
}

.floating-icon-2 {
  top: 50%;
  right: 0.5rem;
}

.floating-icon-3 {
  bottom: 33%;
  left: 25%;
}

.floating-icon-3 svg {
  width: 2.25rem;
  height: 2.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsla(215, 20%, 65%, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

/* ===== Services Section ===== */
.services {
  padding: 6rem 0 8rem;
  position: relative;
  background-image: var(--gradient-hero);
}

.section-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section-line-bottom {
  top: auto;
  bottom: 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-label {
  display: block;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-title-left {
  text-align: left;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

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

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background-image: var(--gradient-card);
  border: 1px solid hsla(222, 30%, 18%, 0.5);
  box-shadow: var(--shadow-card);
  transition: all 0.5s ease;
  overflow: hidden;
}

.service-card:hover {
  border-color: hsla(187, 85%, 53%, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: hsla(187, 85%, 53%, 0.1);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

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

.service-hover-gradient {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, hsla(187, 85%, 53%, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* ===== Experience Section ===== */
.experience {
  padding: 6rem 0 8rem;
  position: relative;
  background: hsla(222, 47%, 12%, 0.3);
}

.experience-grid {
  display: grid;
  gap: 3rem;
}

.experience-content {
  /* Content styles */
}

.experience-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-image: var(--gradient-card);
  border: 1px solid hsla(222, 30%, 18%, 0.5);
  box-shadow: var(--shadow-card);
  transition: all 0.5s ease;
}

.highlight-card:hover {
  border-color: hsla(187, 85%, 53%, 0.3);
}

.highlight-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(187, 85%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.highlight-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.highlight-description {
  color: var(--muted-foreground);
}

.year-badge {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px dashed hsla(187, 85%, 53%, 0.2);
  background: hsla(187, 85%, 53%, 0.05);
  text-align: center;
}

.year-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ===== Contact Section ===== */
.contact {
  padding: 6rem 0 8rem;
  position: relative;
  background-image: var(--gradient-hero);
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background: hsla(187, 85%, 53%, 0.05);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.contact-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.contact-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background-image: var(--gradient-card);
  border: 1px solid hsla(222, 30%, 18%, 0.5);
  box-shadow: var(--shadow-card);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

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

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(187, 85%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-item-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item-value a {
  transition: color 0.3s ease;
}

.contact-item-value a:hover {
  color: var(--primary);
}

.contact-email {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--primary);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsla(222, 47%, 12%, 0.5);
  border: 1px solid hsla(222, 30%, 18%, 0.5);
}

.contact-cta-emoji {
  font-size: 3.75rem;
  margin-bottom: 1rem;
}

.contact-cta-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-cta-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid hsla(222, 30%, 18%, 0.5);
  background: var(--background);
}

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

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

.footer-links a:hover {
  color: var(--primary);
}

.footer-location {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsla(222, 30%, 18%, 0.3);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseSlow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

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

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

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

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

/* ===== Media Queries ===== */
@media (min-width: 640px) {
  .logo-subtitle {
    display: inline;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-ctas {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .nav-desktop {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-value {
    font-size: 2.25rem;
  }
  
  .floating-icon-1 {
    left: 4rem;
  }
  
  .floating-icon-2 {
    right: 4rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .contact-card {
    padding: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-main {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }
}