:root {
  /* Strict Color Palette */
  --c-primary-start: #1565C0;
  --c-primary-end: #1E88E5;
  --c-secondary: #FFFFFF;
  --c-accent: #00CED1;
  --c-bg: #060E20;
  --c-text: #DEE5FF;
  --c-text-light: #A3AAC4; /* Softer variant for descriptions */
  
  --gradient-primary: linear-gradient(135deg, var(--c-primary-start) 0%, var(--c-primary-end) 100%);
  --gradient-primary-hover: linear-gradient(135deg, #1873d6 0%, #2093f4 100%);
  
  /* Typography */
  --font-family-title: 'Plus Jakarta Sans', sans-serif;
  --font-family-body: 'Manrope', sans-serif;
}

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

html, body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-family-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Base Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-family-title);
  outline: none;
}

/* Premium Styling Concepts */

/* Glassmorphism System */
.glass-panel {
  background: rgba(25, 37, 64, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(109, 117, 140, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 1.5rem;
}

.glass-panel-heavy {
  background: rgba(25, 37, 64, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(109, 117, 140, 0.4);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  border-radius: 1.5rem;
}

/* Call to Action Buttons (CTA) */
.cta-button {
  background: var(--gradient-primary);
  color: var(--c-secondary);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-button:hover {
  background: var(--gradient-primary-hover);
  box-shadow: 0 8px 25px rgba(21, 101, 192, 0.4);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

/* Secondary CTA / Accents */
.cta-button.accent {
  background: var(--c-accent);
  color: #004D4D; /* Dark cyan for contrast */
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.2);
}
.cta-button.accent:hover {
  background: #00E5E8;
  box-shadow: 0 8px 25px rgba(0, 206, 209, 0.4);
}

/* Utility Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Delicate Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-family-title);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(6, 14, 32, 0.5);
  border: 1px solid rgba(109, 117, 140, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--c-text);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--c-primary-start);
  background: rgba(25, 37, 64, 0.8);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
}

.form-input::placeholder {
  color: var(--c-text-light);
  opacity: 0.6;
}

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

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Ambient Background Decor (Abstract shapes) */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

/* Utility layout classes to simulate frameworks */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.h-screen { height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Ensure mobile navigation bar is strictly hidden on desktop */
@media (min-width: 768px) {
  .glass-nav,
  nav.md\:hidden {
    display: none !important;
  }
}

/* Custom premium styles for Estimate success screen */
.estimate-success-card {
  background: rgba(15, 25, 48, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 201, 204, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 201, 204, 0.1);
  border-radius: 2rem;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

