/* Import Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Custom font fallbacks */
.avenir-font {
  font-family:
    'Avenir',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* Apply Roboto to body text elements */
body,
p,
li,
a,
input,
textarea,
button {
  font-family:
    'Roboto',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

/* Ensure divs and spans inherit font or use Nunito Sans by default */
div,
span {
  font-family: inherit;
}

/* Apply Nunito Sans to headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    'Nunito Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* Increase base font size for better readability */
body {
  font-size: 1.0625rem; /* 17px */
}

p,
li {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom backdrop blur for older browsers */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient backgrounds */
.gradient-bg-1 {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.gradient-bg-2 {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Pulse animation for CTAs */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(21, 125, 253, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(21, 125, 253, 0);
  }
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* Hover effects */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Geometric decorations */
.geometric-bg::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(21, 125, 253, 0.1), rgba(255, 107, 26, 0.1));
  border-radius: 50%;
  z-index: -1;
}

.geometric-bg::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(255, 107, 26, 0.1), rgba(21, 125, 253, 0.1));
  border-radius: 50%;
  z-index: -1;
}

/* Enhanced mockup styles */
.mockup-container {
  position: relative;
  overflow: hidden;
}

.mockup-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Subtle pattern overlay */
.pattern-overlay {
  background-image: radial-gradient(circle at 1px 1px, rgba(21, 125, 253, 0.05) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Coming Soon page styles */
.coming-soon-body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0;
  padding: 0;
}

.coming-soon-container {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
}

.coming-soon-logo {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}

.coming-soon-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  line-height: 1.6;
}

.coming-soon-cta-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.coming-soon-cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.coming-soon-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .coming-soon-logo {
    font-size: 3rem;
  }

  .coming-soon-subtitle {
    font-size: 1.2rem;
  }

  .coming-soon-container {
    padding: 1rem;
  }
}

/* Prose styling for content pages */
.prose h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  color: #157dfd;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.875rem; /* 30px */
  font-weight: 600;
  color: #0a1f44;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  color: #0a1f44;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
  color: #374151;
  margin-bottom: 0.5rem;
}

.prose a {
  color: #157dfd;
  text-decoration: underline;
  text-decoration-color: rgba(21, 125, 253, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.prose a:hover {
  text-decoration-color: #157dfd;
}

/* Remove duplicate h1 styling since we already have one in the layout */
.prose > h1:first-child {
  display: none;
}

/* Fading text animation */
.rotating-text-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:
    'Nunito Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.rotating-text {
  position: absolute;
  width: 100%;
  opacity: 0;
  animation: fade-text 15s infinite;
  font-family:
    'Nunito Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.rotating-text:nth-child(1) {
  animation-delay: 0s;
}

.rotating-text:nth-child(2) {
  animation-delay: 3s;
}

.rotating-text:nth-child(3) {
  animation-delay: 6s;
}

.rotating-text:nth-child(4) {
  animation-delay: 9s;
}

.rotating-text:nth-child(5) {
  animation-delay: 12s;
}

@keyframes fade-text {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Floating "Our Story" link box in hero section */
.hero-story-link {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: block;
  max-width: 320px;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 15;
}

.hero-story-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-story-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-story-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0a1f44;
  margin: 0;
}

.hero-story-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.hero-story-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #157dfd;
}

.hero-story-arrow {
  font-size: 1.125rem;
  color: #ff6b1a;
  transition: transform 0.3s ease;
}

.hero-story-link:hover .hero-story-arrow {
  transform: translateX(4px);
}

/* Hide the absolutely positioned box on smaller screens */
@media (max-width: 1535px) {
  .hero-story-link {
    position: static;
    margin: 2rem auto;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .hero-story-link {
    max-width: calc(100% - 2rem);
    padding: 1rem 1.25rem;
    margin: 1.5rem auto;
  }

  .hero-story-text {
    font-size: 0.875rem;
  }

  .hero-story-arrow {
    font-size: 1rem;
  }

  .hero-story-description {
    font-size: 0.8125rem;
  }
}
