:root {
  --brand-blue: #2563eb;
  --sky-blue: #0ea5e9;
  --emerald-safe: #10b981;
  --slate-900: #0f172a;
  --glass: rgba(255, 255, 255, 0.85);
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --primary: #2563eb;
  --primary-light: #dbeafe;
  --success: #10b981;
  --success-light: #d1fae5;
  --info: #0ea5e9;
  --info-light: #e0f2fe;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #fcfdfe;
  color: var(--slate-900);
  overflow-x: hidden;
}

/* Elite Light Theme */
.bg-light {
  background-color: var(--light) !important;
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Section Styling */
section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #fcfdfe;
}

/* Modern section headers */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--brand-blue),
    var(--sky-blue),
    var(--emerald-safe)
  );
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Gradient backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--sky-blue));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--sky-blue), var(--emerald-safe));
}

.bg-gradient-tertiary {
  background: linear-gradient(135deg, var(--emerald-safe), var(--brand-blue));
}

/* Modern card styling */
.modern-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
}

.modern-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--sky-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.modern-card:hover:before {
  opacity: 1;
}

/* Animated elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

/* Modern button styling */
.modern-btn {
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  border: none;
}

.modern-btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sky-blue), var(--emerald-safe));
  transition: all 0.5s ease;
  z-index: -1;
}

.modern-btn:hover:after {
  width: 100%;
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism effect */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Enhanced card styling */
.feature-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Standardized button styling */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Enhanced form styling */
.form-control,
.form-select {
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* Card Styling */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button Styling */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-success {
  background-color: var(--success);
  border-color: var(--success);
}

.btn-success:hover {
  background-color: #0da271;
  border-color: #0da271;
}

/* Form Styling */
.form-control,
.form-select {
  border: 1px solid var(--gray-300);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Badge Styling */
.badge {
  border-radius: 0.5rem;
  font-weight: 500;
}

/* Link Styling */
a {
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: none;
  color: var(--primary);
}

/* Navigation */
.navbar {
  z-index: 1000;
}

/* Footer */
footer {
  margin-top: 5rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-video-container {
    height: 70vh;
  }

  .display-1 {
    font-size: 2.5rem;
  }
}

/* Header & Nav */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  background: #000;
  padding: 5px;
  border-radius: 8px;
}

.logo-container {
  position: relative;
}

.tagline {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--light) 0%, #e0f2fe 100%);
}

.video-container {
  position: relative;
  border-radius: 2rem !important;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-container video {
  border-radius: 2rem;
}

.video-overlay {
  border-radius: 2rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1)
  );
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.bento-item {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments for bento grid */
@media (min-width: 768px) {
  .bento-item.col-span-6.md-6 {
    grid-column: span 6;
  }
  .bento-item.col-span-4.md-4 {
    grid-column: span 4;
  }
  .bento-item.col-span-12.md-12 {
    grid-column: span 12;
  }
}

@media (max-width: 767.98px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item {
    min-height: auto;
  }
}

.bg-gradient {
  background: linear-gradient(135deg, var(--brand-blue), var(--sky-blue));
}

/* Bloom Animation */
.bloom-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px dashed #86efac;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}
.flower-icon {
  font-size: 5rem;
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.3;
  transform: scale(0.5);
}
.flower-icon.active {
  opacity: 1;
  transform: scale(1) rotate(360deg);
}

.bloom-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  opacity: 0;
}

.from-green-50 {
  background: linear-gradient(to right, #f0fdf4, #d1fae5);
}

.from-emerald-50 {
  background: linear-gradient(to right, #ecfdf5, #a7f3d0);
}

/* Trust Section Large Logo */
.large-logo-box {
  width: 160px;
  height: 160px; /* w-40 h-40 */
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  padding: 1rem;
}

/* Modern form control styling */
.modern-form-control {
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background-color: white;
}

.modern-form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
  outline: 0;
}

/* Image card hover animation */
.modern-card .card-image img {
  transition: transform 0.3s ease;
}

.modern-card:hover .card-image img {
  transform: scale(1.05);
}

/* Navbar styling to maintain dark background */
.navbar {
  background-color: #141111 !important;
}

.navbar.fixed-top {
  background-color: #171313 !important;
}

.navbar.scrolled {
  background-color: #171313 !important;
}

.navbar.bg-white {
  background-color: #171313 !important;
}

/* Fix for content being hidden under fixed navbar on main site pages */
body:not(.auth-page):not(.meeting-scheduler-page) {
    padding-top: 80px !important; /* Equal to navbar height */
}

/* Reset padding for auth pages that have full-screen layouts */
body.auth-page,
body.meeting-scheduler-page {
    padding-top: 0 !important;
}

/* For specific sections that need adjustment */
#hero,
#features,
#how-it-works,
#rewards,
#partnerships,
#contact,
#content,
#pricing {
    padding-top: 120px;
    margin-top: -80px;
}

/* For meeting scheduler page */
.meeting-scheduler {
    padding-top: 120px;
    margin-top: -80px;
}

/* Ensure smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Adjust for mobile devices */
@media (max-width: 991.98px) {
    body:not(.auth-page):not(.meeting-scheduler-page) {
        padding-top: 70px !important; /* Smaller navbar on mobile */
    }
    
    /* Reset padding for auth pages that have full-screen layouts */
    body.auth-page,
    body.meeting-scheduler-page {
        padding-top: 0 !important;
    }
    
    #hero,
    #features,
    #how-it-works,
    #rewards,
    #partnerships,
    #contact,
    #content,
    #pricing {
        padding-top: 110px;
        margin-top: -70px;
    }
    
    .meeting-scheduler {
        padding-top: 110px;
        margin-top: -70px;
    }
}