/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables */
:root {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 100%;
  --card: 270 36% 16%;
  --card-foreground: 0 0% 100%;
  --popover: 270 36% 16%;
  --popover-foreground: 0 0% 100%;
  --primary: 267 84% 57%;
  --primary-foreground: 0 0% 100%;
  --secondary: 266 77% 75%;
  --secondary-foreground: 0 0% 100%;
  --muted: 220 13% 91%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 60 100% 50%;
  --accent-foreground: 240 10% 3.9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 267 84% 57% / 0.2;
  --input: 267 84% 57% / 0.3;
  --ring: 267 84% 57%;
  --radius: 1.25rem;
  --surface: 270 36% 16%;
  --brand: 267 84% 57%;
  --brand-light: 266 77% 75%;
  --glow-purple: 267 84% 57%;
  --glow-yellow: 60 100% 50%;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Utility Classes */
.glass-card {
  background: hsl(var(--surface) / 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

.glow-purple {
  box-shadow: 0 0 30px hsl(var(--glow-purple) / 0.4);
}

.glow-yellow {
  box-shadow: 0 0 30px hsl(var(--glow-yellow) / 0.4);
}

.glow-dual {
  box-shadow: 0 0 40px hsl(var(--glow-purple) / 0.4), 0 0 80px hsl(var(--glow-yellow) / 0.2);
}

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

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

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}

header.scrolled {
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 2.5rem;
  width: 2.5rem;
}

.nav-brand span {
  font-size: 1.25rem;
  font-weight: 700;
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links button,
.nav-links a {
  background: none;
  border: none;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links button:hover,
.nav-links a:hover {
  color: hsl(var(--accent));
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--accent) / 0.4);
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.1);
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#hero iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    hsl(var(--background) / 0.4), 
    hsl(var(--background) / 0.6), 
    hsl(var(--background)));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 8rem 0 10rem;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.metric-chip {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.guarantee-badge {
  padding-top: 1rem;
  display: inline-block;
}

.guarantee-badge-inner {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--accent) / 0.3);
}

.guarantee-badge-inner span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent));
}

/* Sections */
section {
  padding: 6rem 0 8rem;
  position: relative;
}

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

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: scale(1.02);
}

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

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: hsl(var(--accent));
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
  border-radius: 9999px;
  white-space: nowrap;
}

.service-lead {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-bullets {
  list-style: none;
  margin-bottom: 1rem;
}

.service-bullets li {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-bullets li::before {
  content: "•";
  color: hsl(var(--accent));
  margin-top: 0.25rem;
}

.service-cta {
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-cta:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Approach Cards */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.approach-card {
  padding: 2rem 2.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.approach-card:hover {
  box-shadow: 0 0 40px hsl(267 84% 57% / 0.4), 0 0 80px hsl(60 100% 50% / 0.2);
}

.approach-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent, hsl(var(--accent) / 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.approach-card:hover .approach-card-overlay {
  opacity: 1;
}

.icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--surface) / 0.4), hsl(var(--surface) / 0.2));
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  .icon-container {
    width: 5rem;
    height: 5rem;
  }
}

.approach-card:hover .icon-container {
  transform: scale(1.1);
}

.icon-container svg {
  width: 2rem;
  height: 2rem;
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  .icon-container svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.approach-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  .approach-card h3 {
    font-size: 1.875rem;
  }
}

.approach-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .approach-card p {
    font-size: 1.125rem;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}

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

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

.about-text p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-text .highlight {
  font-weight: 700;
  color: hsl(var(--accent));
}

.about-text .semibold {
  font-weight: 600;
  color: hsl(var(--foreground));
}

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

.about-card {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: hsl(var(--muted-foreground));
}

.about-card:hover {
  transform: scale(1.02);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

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

.contact-form {
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Form Message Styles */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  border-left: 4px solid;
  backdrop-filter: blur(10px);
  animation: slideIn 0.3s ease-out;
}

.form-message-success {
  background: linear-gradient(135deg, hsl(142 76% 36% / 0.15) 0%, hsl(142 76% 36% / 0.08) 100%);
  border-color: hsl(142 76% 36%);
  color: hsl(142 76% 85%);
  box-shadow: 0 0 20px hsl(142 76% 36% / 0.2);
}

.form-message-error {
  background: linear-gradient(135deg, hsl(0 84% 60% / 0.15) 0%, hsl(0 84% 60% / 0.08) 100%);
  border-color: hsl(0 84% 60%);
  color: hsl(0 84% 85%);
  box-shadow: 0 0 20px hsl(0 84% 60% / 0.2);
}

.form-message-warning {
  background: linear-gradient(135deg, hsl(45 93% 47% / 0.15) 0%, hsl(45 93% 47% / 0.08) 100%);
  border-color: hsl(45 93% 47%);
  color: hsl(45 93% 85%);
  box-shadow: 0 0 20px hsl(45 93% 47% / 0.2);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
}

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

.form-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.cta-card {
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.cta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cta-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon-primary {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.cta-icon-accent {
  background: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
}

.cta-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cta-card h3 {
  font-size: 1.5rem;
}

.cta-card p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid hsl(var(--border));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand img {
  height: 2rem;
  width: 2rem;
}

.footer-brand span {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links button,
.footer-links a {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links button:hover,
.footer-links a:hover {
  color: hsl(var(--accent));
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

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

/* Background Effects */
.aurora-bg,
.plasma-bg,
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aurora-bg {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, hsl(267 84% 57% / 0.15), transparent),
    radial-gradient(ellipse 80% 50% at 50% 100%, hsl(266 77% 75% / 0.1), transparent),
    linear-gradient(135deg, 
      hsl(267 84% 57% / 0.05), 
      hsl(60 100% 50% / 0.03), 
      hsl(266 77% 75% / 0.08), 
      hsl(267 84% 57% / 0.05));
  background-size: 200% 200%;
  animation: aurora-move 40s ease-in-out infinite;
}

@keyframes aurora-move {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.plasma-bg {
  overflow: hidden;
}

.plasma-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.plasma-blob-1 {
  top: 25%;
  left: 25%;
  width: 600px;
  height: 600px;
  background: hsl(267 84% 57% / 0.3);
  animation: plasma-float-1 20s ease-in-out infinite;
}

.plasma-blob-2 {
  bottom: 33%;
  right: 25%;
  width: 500px;
  height: 500px;
  background: hsl(60 100% 50% / 0.2);
  animation: plasma-float-2 25s ease-in-out infinite;
}

.plasma-blob-3 {
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: hsl(266 77% 75% / 0.25);
  transform: translate(-50%, -50%);
  animation: plasma-float-3 23s ease-in-out infinite;
}

@keyframes plasma-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -50px) scale(1.1); }
  66% { transform: translate(50px, 50px) scale(0.9); }
}

@keyframes plasma-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(75px, -75px) scale(1.15); }
  66% { transform: translate(-75px, 75px) scale(0.85); }
}

@keyframes plasma-float-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(calc(-50% + 60px), calc(-50% - 60px)) scale(1.05); }
  66% { transform: translate(calc(-50% - 60px), calc(-50% + 60px)) scale(0.95); }
}

.noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.06;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}
