:root {
  /* Colors */
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.7);
  --text-dark: #0f172a;
  --text-muted: #475569;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB, #4F46E5);
  --gradient-hover: linear-gradient(135deg, #1d4ed8, #4338ca);
  --gradient-glow: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(79,70,229,0.4));
  
  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.5);
  --border-darker: rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --shadow-hover: 0 15px 35px 0 rgba(37, 99, 235, 0.15);
  
  /* Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,0.03) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,0.03) 0, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title {
  font-weight: 400;
  color: #222222;
  font-size: 1.5rem;
  font-family: "Poppins", sans-serif !important;
  margin: 0 auto 1.5rem;
  line-height: 1.35;
  letter-spacing: 0px;
  text-transform: none;
}

@media (max-width: 1200px) {
  .hero-title { font-size: 2.2rem; max-width: 750px; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; max-width: 100%; }
}

.hero-subtitle {
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  color: #222222;
  line-height: 1.6;
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 850px;
  text-wrap: balance;
}

/* Glassmorphism Components */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  padding: 2.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Text Gradients */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Premium Buttons */
.btn-premium {
  background: var(--gradient-primary);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-hover);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-premium {
  background: #eff6ff;
  color: #2563EB !important;
  border: 2px solid #2563EB;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
}

.btn-outline-premium:hover {
  background: #eff6ff !important;
  color: #2563EB !important;
  border: 2px solid #2563EB !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
}


/* Typography Helpers */
.hp-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563EB;
  display: block;
  margin-bottom: 0.75rem;
}

.hp-main_header {
  margin-bottom: 3rem;
}

.hp-main_header h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hp-main_header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Sections */
section:not(.hp-nav_container) {
  padding: 100px 0;
  position: relative;
}

/* Icons */
.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #2563EB;
}

.icon-wrapper img {
  width: 32px;
  height: 32px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

/* Hero Enhancements */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(79,70,229,0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Steps & Process */
.hp-process-step {
  padding: 2rem;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glass);
}
.hp-process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hp-step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.1);
  margin-bottom: 1rem;
  line-height: 1;
}

/* FAQ Accordion Modernization */
.accordion-item {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.accordion-button {
  background: transparent !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: #2563EB !important;
}

.accordion-body {
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Form Styles */
.form-floating-custom {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating-custom .form-control {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-darker);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  width: 100%;
}

.form-floating-custom .form-control:focus {
  background: #ffffff;
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Contact Page Compact Card */
.contact-modal-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px 20px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 40%),
              radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent 40%);
}

.contact-compact-card {
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Utility */
.mb-6 { margin-bottom: 4rem; }

/* Global Paragraph Styling */
p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

/* User Requested Global Paragraph Color */
p:not(.footer_main p), .text-muted:not(footer *) {
    color: #222222 !important;
}
