@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lora:wght@400;500&display=swap');

:root {
  --navy: #1a2e4a;
  --blue: #2563eb;
  --sky: #e0f0ff;
  --teal: #0d9488;
  --orange: #f97316;
  --yellow: #fde68a;
  --warm: #fff7ed;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--blue);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

.logo span {
  color: var(--orange);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero Section */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, #f0f7ff, #fff7ed);
  display: flex;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left {
  animation: fadeUp 0.8s ease-out;
}

.hero-right {
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.trusted-badge {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 .connected {
  color: var(--orange);
  position: relative;
}

.hero h1 .connected::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--yellow);
  border-radius: 3px;
}

.hero-subtext {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-items {
  display: flex;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--gray-600);
}

/* Phone Card Widget */
.phone-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  margin-left: auto;
}

.phone-header {
  background: var(--navy);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.phone-body {
  padding: 32px 20px;
  text-align: center;
}

.call-participants {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.participant {
  font-size: 48px;
}

.sound-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 24px;
}

.sound-bar {
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}

.sound-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.sound-bar:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.sound-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.sound-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.sound-bar:nth-child(5) { animation-delay: 0.4s; height: 40%; }

.supervisor-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.call-timer {
  font-size: 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.phone-footer {
  background: var(--gray-50);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--gray-600);
}

.rec-badge {
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  animation: blink 1s infinite;
}

/* Background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: drift 20s ease-in-out infinite;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  top: 50%;
  right: 10%;
  animation-delay: 5s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: var(--orange);
  bottom: 10%;
  left: 30%;
  animation-delay: 10s;
}

/* Who We Serve Section */
#who-we-serve {
  background: white;
  padding: 96px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.serve-card {
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.serve-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--blue);
}

.serve-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.serve-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.serve-card p {
  color: var(--gray-600);
  font-size: 14px;
}

/* How It Works Section */
#how-it-works {
  background: linear-gradient(135deg, #f0f7ff, #fff7ed);
  padding: 96px 20px;
}

.steps-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.step {
  flex: 1;
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
}

.step.revealed {
  opacity: 1;
  transform: translateY(0);
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--orange);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  color: var(--gray-600);
  font-size: 14px;
}

.cta-section {
  text-align: center;
  margin-top: 48px;
}

/* Trust Strip */
.trust-strip {
  background: var(--navy);
  color: white;
  padding: 48px 20px;
}

.trust-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.trust-item {
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}

.trust-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.trust-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Nunito', sans-serif;
  display: block;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  background: white;
  padding: 96px 20px;
}

.testimonials-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--warm);
  padding: 32px;
  border-radius: 16px;
  border-left: 4px solid var(--orange);
  position: relative;
  opacity: 0;
  transform: translateY(24px);
}

.testimonial-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 48px;
  color: var(--orange);
  opacity: 0.3;
  font-family: 'Nunito', sans-serif;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-800);
  font-family: 'Nunito', sans-serif;
}

.testimonial-role {
  color: var(--gray-600);
  font-size: 14px;
}

/* Footer CTA */
.footer-cta {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: white;
  padding: 64px 20px;
  text-align: center;
}

.footer-cta-container {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-cta h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: var(--gray-800);
  color: white;
  padding: 48px 20px 24px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  color: white;
  margin-bottom: 16px;
  display: block;
}

.footer-logo span {
  color: var(--orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-600);
  color: var(--gray-400);
  font-size: 14px;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.5);
  }
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.3;
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 10px) scale(1.02);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step:not(:last-child)::after {
    content: '↓';
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: -30px;
  }
  
  .trust-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .trust-items {
    flex-direction: column;
    gap: 12px;
  }
  
  .serve-grid {
    grid-template-columns: 1fr;
  }
}

/* User Dropdown Styles for Navigation */
.user-dropdown {
  position: relative;
  display: none;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: white;
}

.user-name-small {
  font-size: 14px;
  color: var(--navy);
}

.dropdown-arrow {
  font-size: 12px;
  color: var(--gray-600);
  transition: transform 0.3s ease;
}

.user-dropdown-toggle:hover .dropdown-arrow {
  transform: translateY(1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 12px 12px;
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 4px 0;
}

.dropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Pricing Page Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
}

.pricing-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: var(--orange);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.popular {
  border-color: var(--teal);
}

.pricing-card.disabled {
  opacity: 0.7;
  border-color: var(--gray-400);
}

.pricing-card.disabled:hover {
  transform: translateY(-4px);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--navy);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-badge {
  background: var(--orange);
  color: white;
}

.pricing-card.popular .pricing-badge {
  background: var(--teal);
  color: white;
}

.pricing-card.disabled .pricing-badge {
  background: var(--gray-400);
  color: white;
}

.coming-soon {
  background: var(--gray-400) !important;
}

.pricing-amount {
  margin-bottom: 32px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Nunito', sans-serif;
  display: block;
  margin-bottom: 8px;
}

.pricing-card.disabled .price {
  color: var(--gray-600);
}

.period {
  font-size: 18px;
  color: var(--gray-600);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--gray-800);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  margin-top: auto;
}

.price-note {
  font-size: 14px;
  color: var(--gray-600);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* Billing Steps Section */
#how-billing-works {
  background: linear-gradient(135deg, #f0f7ff, #fff7ed);
  padding: 96px 20px;
}

.billing-steps {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.billing-step {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}

.billing-step.revealed {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.billing-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}

.billing-step p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ Section */
#faq {
  background: white;
  padding: 96px 20px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--warm);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border-left: 4px solid var(--orange);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(249, 115, 22, 0.1);
}

.faq-question h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.faq-toggle {
  font-size: 24px;
  color: var(--orange);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  padding: 0 0 24px 0;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.mobile-open {
    transform: translateY(0);
  }
  
  .nav-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* Form Validation Styles */
.form-input.error {
  border-color: var(--red, #ef4444);
}

.error-message {
  color: var(--red, #ef4444);
  font-size: 0.875rem;
  margin-top: 4px;
  display: none;
}

.error-message.show {
  display: block;
}
