:root {
  --primary: #38CFFF;
  --accent: #00E5FF;
  --secondary: #0A1E3A;
  --highlight: #66FFFF;
  --bg-dark: #030811;
  --text-main: #E2F1FF;
  --text-muted: #8FB3D9;
  --glass-bg: rgba(10, 30, 58, 0.5);
  --glass-border: rgba(56, 207, 255, 0.2);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('assets/images/dark-nordic-spark-background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

/* Particles Background */
#particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.spark {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px var(--highlight);
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 8, 17, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 30, 58, 0.95);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn-neon {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid var(--highlight);
  box-shadow: 0 0 15px rgba(56, 207, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-neon:hover {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  box-shadow: 0 0 25px var(--accent);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2.5rem;
  text-shadow: 0 0 15px rgba(56, 207, 255, 0.5);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #FFFFFF, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Glass Cards */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(102, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.glass-card:hover::before {
  left: 200%;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 30, 58, 0.8);
  border-radius: 50%;
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px rgba(56, 207, 255, 0.3);
}

.card-icon img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 5px var(--highlight));
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.glass-card .service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(56, 207, 255, 0.3);
}

/* How It Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.steps-container::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  z-index: -1;
}

.step {
  flex: 1;
  text-align: center;
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: var(--bg-dark);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

/* Service Areas */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.area-badge {
  background: rgba(10, 30, 58, 0.6);
  border: 1px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.area-badge:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px var(--primary);
  transform: scale(1.05);
}

.area-badge img {
  width: 20px;
  height: 20px;
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(3, 8, 17, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #FFF;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background: rgba(3, 8, 17, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  box-shadow: 0 -10px 30px rgba(10, 30, 58, 0.5);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 5px var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 207, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page Headers for subpages */
.page-header {
  padding: 150px 2rem 50px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(10, 30, 58, 0.8), transparent);
}

.page-header h1 {
  font-size: 3rem;
  text-shadow: 0 0 20px rgba(56, 207, 255, 0.5);
}

/* Reviews Page specific */
.review-stars {
  color: #FFD700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Text heavy pages */
.content-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.content-wrapper h2 {
  margin-top: 2rem;
  color: var(--accent);
}

.content-wrapper ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(3, 8, 17, 0.95);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .steps-container { flex-direction: column; }
  .steps-container::after { display: none; }
  .hero-buttons { flex-direction: column; }
}