/* Main Styles - Core layout and typography */
:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --secondary: #f97316;
  --accent: #3b82f6;
  --background: #ffffff;
  --surface: #f8fafc;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #ea580c, #f97316);
  --gradient-secondary: linear-gradient(135deg, #3b82f6, #1d4ed8);
  --gradient-dark: linear-gradient(135deg, #1f2937, #111827);
  --gradient-hero: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(59, 130, 246, 0.1));

  /* Updated to use new color palette with peach, tangerine, and blue tones */
  --peach: #fee4ae;
  --tangerine: #f18805;
  --palatinate-blue: #4930d9;
  --royal-blue: #4b6de7;
  --raisin-black: #211c21;

  /* Updated to professional purple and blue business color scheme */
  --primary-purple: #6366f1;
  --primary-purple-dark: #4f46e5;
  --secondary-blue: #3b82f6;
  --secondary-blue-dark: #2563eb;
  --accent-indigo: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --surface-purple: #faf5ff;
  --surface-blue: #eff6ff;
  --shadow-purple: rgba(99, 102, 241, 0.2);
  --shadow-blue: rgba(59, 130, 246, 0.2);

  /* Business gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
  --gradient-secondary: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  --gradient-accent: linear-gradient(135deg, var(--accent-gold), var(--accent-emerald));
  --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
  --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));

  /* Updated primary variables */
  --primary: var(--primary-purple);
  --primary-dark: var(--primary-purple-dark);
  --secondary: var(--secondary-blue);
  --accent: var(--accent-indigo);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  /* Updated to purple gradient for business branding */
  background: var(--surface-purple);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  /* Updated shadow to purple tone */
  box-shadow: 0 8px 25px var(--shadow-purple);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(5deg) scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border: none;
}


.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  /* Updated underline to use purple-blue gradient */
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  /* Updated mobile menu color to primary purple */
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  /* Updated button to use purple-blue gradient */
  background: var(--gradient-primary);
  color: white;
  /* Updated shadow to purple tone */
  box-shadow: 0 8px 25px var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  /* Enhanced hover shadow with purple tone */
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  /* Updated secondary button with blue accent */
  background: var(--surface-blue);
  color: var(--secondary-blue);
  border: 2px solid var(--secondary-blue);
}

.btn-secondary:hover {
  /* Updated hover state to use secondary blue */
  background: var(--secondary-blue);
  color: white;
  transform: translateY(-2px);
  /* Updated shadow to blue tone */
  box-shadow: 0 8px 25px var(--shadow-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/hero-bg.jpg") center / cover;
  opacity: 0.12;
  z-index: 1;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-left .hero-content {
  text-align: left;
  max-width: 720px;
  margin: 0;
  position: relative;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2rem;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(to top,
      var(--primary) 0%,
      color-mix(in srgb, var(--primary) 5%, transparent) 45%,
      transparent 100%);
}


/* Image of devices on Home / Hero */
.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.hero-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-purple);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid var(--border-purple);
  z-index: 10;
}

.hero-left .hero-content {
  padding-top: 5rem;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  /* Updated hero title gradient to purple-blue */
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-tagline .tag {
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border);
  /* Added subtle purple shadow for business appeal */
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 5rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero-stats .stat {
  text-align: left;
}

.hero-stats .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stats .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Challenge Section */
.challenge-section {
  padding: 6rem 0;
  /* Updated background to purple surface for business feel */
  background: var(--surface-purple);
}

.challenge-card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  /* Enhanced shadow for more professional appearance */
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  /* Added subtle purple border for business styling */
  border: 1px solid var(--border-purple);
}

.challenge-icon {
  width: 80px;
  height: 80px;
  /* Updated challenge icon to use secondary gradient */
  background: var(--gradient-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
  /* Added professional shadow */
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.challenge-card p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Section Spacing */
section {
  padding: 6rem 0;
}

/* Footer */
footer {
  background: var(--gradient-dark);
  color: white;
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-right {
    order: -1;
  }

  .hero-tagline {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stats .stat {
    text-align: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-tagline {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .challenge-card {
    padding: 2.5rem;
  }
  
  .challenge-card p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .challenge-card {
    padding: 2rem;
  }
  
  .challenge-card p {
    font-size: 1.1rem;
  }
  
  .challenge-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}