/* Bootstrap 5 CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* Compact Navbar Override - MUST be after Bootstrap import */
.navbar {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  min-height: auto !important;
}

.navbar-brand {
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
  height: auto !important;
}

.navbar-brand img {
  max-height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* LUMY Custom Styles - Enhanced with Bootstrap */
:root {
  --brand: #16a394;
  --brand-light: #34d399;
  --brand-dark: #0f766e;
  --bg: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2f5f2 100%);
  --text: #0f172a;
  --muted: #475569;
  --surface: #f8fafc;
  --surface-hover: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Solution Images - Global Styles */
.solution-image-container {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
}

.solution-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 3px solid #16a394;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.solution-image-hero {
  width: 100%;
  object-fit: cover;
  border: 3px solid #16a394;
  border-radius: 12px;
  box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-image-hero:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
}

/* Solution Page Sections */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2f5f2 100%);
  padding: 4rem 0;
}

.stats-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2f5f2 100%);
  padding: 4rem 0;
}

/* Override Bootstrap variables */
:root {
  --bs-primary: #16a394;
  --bs-primary-rgb: 22, 163, 148;
  --bs-secondary: #475569;
  --bs-success: #22c55e;
  --bs-info: #3b82f6;
  --bs-warning: #eab308;
  --bs-danger: #ef4444;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
  --bs-body-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 8px;
  --bs-border-radius-lg: 16px;
}

/* Global Styles */
html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--bs-body-font-family);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  line-height: 1.6;
}

/* Custom Bootstrap Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 12px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 12px 24px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text) !important;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
  background: var(--surface);
  color: var(--brand) !important;
}

.navbar-nav .nav-link.active {
  background: var(--brand) !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(22, 163, 148, 0.2);
}

.navbar-nav .nav-link.active:hover {
  background: var(--brand-dark) !important;
  color: white !important;
}

.navbar-nav .dropdown-toggle.active {
  background: var(--brand) !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(22, 163, 148, 0.2);
}

.navbar-nav .dropdown-toggle.active:hover {
  background: var(--brand-dark) !important;
  color: white !important;
}

.dropdown-item.active {
  background: var(--brand) !important;
  color: white !important;
  font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 0;
  background: var(--surface);
}

.step-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(22, 163, 148, 0.3);
}

.step-icon {
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.step-description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Integrations Section */
.integrations-section {
  padding: 5rem 0;
  background: white;
}

.integration-category {
  background: var(--surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.integration-category:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.category-header {
  text-align: center;
  margin-bottom: 2rem;
}

.category-icon {
  width: 64px;
  height: 64px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(22, 163, 148, 0.3);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.category-description {
  color: var(--muted);
  margin-bottom: 0;
}

/* Widgets Grid */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.widget-item {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.widget-item:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.widget-icon {
  font-size: 1.5rem;
  width: 32px;
  text-align: center;
}

.widget-item span {
  font-weight: 500;
  color: var(--text);
}

.widget-item.more-to-come {
  border-style: dashed;
  background: rgba(22, 163, 148, 0.05);
}

.widget-item.more-to-come:hover {
  border-color: var(--brand);
  background: rgba(22, 163, 148, 0.1);
}

.widget-item.more-to-come span {
  color: var(--brand);
  font-style: italic;
}

/* Zapier Features */
.zapier-features {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--brand);
  background: rgba(22, 163, 148, 0.05);
}

.feature-item span {
  font-weight: 500;
  color: var(--text);
}

.zapier-cta {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .widgets-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    padding: 1.5rem;
  }
  
  .integration-category {
    padding: 1.5rem;
  }
}

/* Performance Section */
.performance-section {
  padding: 5rem 0;
  background: var(--surface);
}

.performance-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.performance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.performance-icon {
  margin-bottom: 1rem;
}

.performance-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.performance-description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Hero Section */
.hero-section {
  background: var(--bg-gradient);
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.colorful-border-wrapper {
  padding: 8px;
  background: linear-gradient(135deg, #FF4D4D 0%, #FF8C1A 16%, #FFD11A 32%, #5BE37D 48%, #33D1FF 64%, #6A5CFF 80%, #C94BFF 100%);
  border-radius: calc(var(--border-radius) + 4px);
}

.app-download-section {
  text-align: center;
  padding: 6rem;
  background: white url('/homepage/Android-Logo.png') no-repeat center center;
  background-size: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.app-download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.visual-placeholder {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
}

.app-icon {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.app-download-section h4 {
  color: var(--text);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.app-download-section p {
  position: relative;
  z-index: 1;
}

.app-download-section .btn {
  box-shadow: 0 4px 12px rgba(22, 163, 148, 0.3);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.app-download-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 163, 148, 0.4);
}

/* Colorful gradient border for buttons */
.btn-gradient-wrapper {
  padding: 3px;
  background: linear-gradient(135deg, #FF4D4D 0%, #FF8C1A 16%, #FFD11A 32%, #5BE37D 48%, #33D1FF 64%, #6A5CFF 80%, #C94BFF 100%);
  border-radius: calc(8px + 3px);
  display: inline-block;
  transition: var(--transition);
}

.btn-gradient-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 77, 77, 0.4);
  filter: brightness(1.1);
}

.btn-gradient-wrapper .btn,
.btn-gradient-wrapper .cta-primary {
  margin: 0;
  border-radius: 8px;
  border: none !important;
  background: #FF6B6B !important;
  color: white !important;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gradient-wrapper .btn:hover,
.btn-gradient-wrapper .cta-primary:hover {
  transform: none;
  box-shadow: none;
  background: #FF5252 !important;
  color: white !important;
  text-decoration: none;
}

/* Modern Footer Styles */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.inner-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-items img {
  filter: brightness(0) invert(1);
}

.div-block-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-link-heading {
  font-size: 18px;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links .links {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links .links:hover {
  color: #d0d0d0;
  font-weight: 600;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #333333;
}

.footer-b-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-block-7 {
  color: #a0a0a0;
  font-size: 16px;
  font-weight: 500;
}

.text-block-8 {
  color: #a0a0a0;
  font-size: 16px;
  font-weight: 500;
}

.text-block-8 a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.text-block-8 a:hover {
  color: #d0d0d0;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #2a2a2a;
  border-radius: 10px;
  color: #a0a0a0;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .inner-footer {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .div-block-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .div-block-4 {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}

.display-1 {
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Card Styles */
.card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  background: var(--surface-hover);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  transform: scaleX(0);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--muted);
  line-height: 1.6;
}

/* Visual Placeholder */
.visual-placeholder {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.visual-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

/* Stats Section */
.stats-section {
  background: var(--bg-gradient);
  padding: 5rem 0;
  border-radius: var(--border-radius);
  margin: 5rem 0;
}

.stats-section .card {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
  display: block;
  margin-bottom: 0.5rem;
}

/* Solution Pages */
.solution-hero {
  background: var(--bg-gradient);
  padding: 5rem 0;
}

.solution-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.use-case-card {
  background: var(--surface-hover);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.use-case-card h5 {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: none;
}

.testimonial-card blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--text);
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-author .text-muted {
  font-size: 0.875rem;
}

/* Logo Placeholders */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  opacity: 0.7;
}

.logo-placeholder {
  height: 60px;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}

.logo-placeholder:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: white;
  padding: 1rem;
  z-index: 1050;
  box-shadow: var(--shadow-lg);
}

/* Utilities */
.text-brand { color: var(--brand) !important; }
.bg-brand { background-color: var(--brand) !important; }
.border-brand { border-color: var(--brand) !important; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  
  .solution-hero {
    padding: 3rem 0;
  }
  
  .solution-icon-large {
    font-size: 3rem;
  }
  
  .stats-section {
    margin: 3rem 0;
    padding: 3rem 0;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .btn-primary,
  .btn-outline-primary {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .use-case-card {
    padding: 1.5rem;
  }
}