:root {
  --primary-color: #d54238;
  --secondary-color: #102dfe;
  --background: #07304a;
  --light-background: #57e0f1;
  --light-background-text: #2c313d;
  --text-color: #f6f9f7; /* Off white */
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Gt walsheim pro", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  width: 100%;
  background-color: var(--background);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo:hover {
  color: var(--secondary-color);
}

.logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: auto;
}

.nav-link {
  display: flex;
  align-items: center;
}

.nav-link img {
  height: 20px;
  width: auto;
}

.nav-link-pricing {
  transform: translateY(3px);
}

.nav-link-pricing img {
  height: 22px;
  width: auto;
}

.nav-link-contact {
  transform: translateY(3px);
}

.nav-link-contact img {
  height: 22px;
  width: auto;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  padding-top: 0rem;
  padding-bottom: 6rem;
  background-color: var(--background);
  text-align: left;
  position: relative;
  color: var(--text-color);
  margin-bottom: -1px;
}

/* Keep diagonal but adjust to prevent line */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--light-background);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  box-shadow: none;
  border: none;
}

/* Ensure hero content stays above the diagonal */
.hero-container,
.benefit-grid {
  position: relative;
  z-index: 1;
}

/* Update the rest of the page background */
main {
  background-color: var(--light-background);
}

.how-it-works,
.coming-soon {
  background-color: var(--light-background);
}

/* Update text color for sections after hero */
.how-it-works,
.pricing,
.coming-soon {
  color: #000000;
}

/* Keep hero text white */
.hero h1,
.hero .hero-description,
.hero .subtitle {
  color: var(--text-color);
}

/* Keep CTA buttons and their hover states as they were */
.primary-cta,
.secondary-cta {
  color: var(--text-color);
}

h1 {
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  width: 75%;
  line-height: 1.2;
  color: var(--text-color);
  margin-left: 0rem;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  margin-left: 0rem;
}

.hero-description {
  max-width: 800px;
  margin: 0 0 2rem 0rem;
  font-size: 1.125rem;
}

.hero-eyebrow {
  font-style: italic;
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  margin-left: 0rem;
  font-weight: 400;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 2rem;
  margin-left: 0rem;
}

.cta-button,
.primary-cta,
.secondary-cta {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.primary-cta,
.secondary-cta {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
}

.primary-cta:hover,
.secondary-cta:hover {
  background-color: #1569d9; /* Darker blue */
}

.primary-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.primary-cta i {
  font-size: 1.2em;
}

/* Benefits Section */
.benefits {
  padding: 1rem 0;
  background-color: var(--light-background);
}

.benefit-grid-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.benefit-grid {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
}

.benefit-card {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-color);
  padding: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 5 - 2rem * 5));
  }
}

/* Add this to ensure smooth infinite scrolling */
.benefit-grid::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
}

/* How It Works Section */
.how-it-works {
  position: relative;
  background-color: var(--light-background);
  margin-top: 0;
  padding-top: 0;
  margin-left: 4rem;
  margin-right: 4rem;
  margin-bottom: 4rem;
  border-top: none;
  z-index: 1;
  color: var(--light-background-text);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 600;
}

.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.step-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0rem;
  text-align: left;
}

.step-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.slant-bottom {
  position: absolute;
  left: -4rem;
  width: calc(100% + 8rem);
  height: 100px;
  z-index: 1;
  bottom: -120px;
  transform: skewY(3deg);
  background: inherit;
}

/* Alternate the layout for even numbered steps */
.step-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Pricing Section */
.pricing {
  padding: 8rem;
  background-color: var(--background);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background-color: var(--background);
  border: 2px solid var(--primary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  background-color: var(--background);
  border: 2px solid var(--primary-color);
}

.pricing-card .price {
  color: var(--text-color);
}

.pricing-card .price span {
  color: var(--text-color);
  opacity: 0.8;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  color: var(--text-color);
}

.pricing-card li {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.pricing-card .fa-check {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.pricing-card .cta-button {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  display: inline-block;
  transition: var(--transition);
}

.pricing-card .cta-button:hover {
  background-color: #1569d9;
  color: var(--text-color);
}

/* Coming Soon Section */
.coming-soon {
  padding: 4rem 0;
  margin-left: 8rem;
  margin-right: 8rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 254, 255, 0.1);
}

.feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Demo Section */
.demo {
  padding: 4rem 0;
  background-color: var(--light-background);
}

.video-placeholder {
  background: var(--card-background);
  padding: 4rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 2rem;
}

.video-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--card-background);
  color: var(--text-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 254, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 254, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .pricing-card.featured {
    transform: none;
  }
}

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

.benefit-card,
.step,
.pricing-card,
.feature {
  animation: fadeIn 0.5s ease-out forwards;
}

.contact-form {
  max-width: 500px;
  margin: 20px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 254, 255, 0.2);
  border-radius: 4px;
  font-size: 16px;
  background-color: var(--card-background);
  color: var(--text-color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #1569d9; /* Darker blue */
}

#form-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
}

#form-message.success {
  background-color: rgba(23, 122, 246, 0.1);
  color: #4a9eff;
}

#form-message.error {
  background-color: rgba(241, 115, 55, 0.1);
  color: #ff8f5a;
}

/* Update glows */
.primary-cta,
.secondary-cta {
  box-shadow: 0 0 20px rgba(23, 122, 246, 0.15);
}

.primary-cta:hover,
.secondary-cta:hover {
  box-shadow: 0 0 25px rgba(23, 122, 246, 0.25);
}

/* Update all links */
a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Keep footer links in their contrasting color */
footer a {
  color: var(--text-color);
}

footer a:hover {
  color: var(--secondary-color);
}

/* Contact Page Styles */
.contact-page {
  padding: 2rem 0 4rem;
  background-color: var(--background);
}

.contact-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(112, 80, 56, 0.1);
}

.contact-page .subtitle {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-page h1 {
  text-align: left;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: -2rem;
  margin-left: 4rem;
  margin-right: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.hero-content {
  flex: 1;
  max-width: 60%;
}

.hero-animation {
  flex: 1;
  max-width: 40%;
  position: relative;
  overflow: hidden;
}

#lottie-animation {
  width: 100%;
  height: 100%;
  position: relative;
}

.how-it-works h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--light-background-text);
  padding: 0;
  margin-left: 4rem;
}

.pricing h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--text-color);
  padding: 0;
}

.pricing h3 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--text-color);
  padding: 0;
}

.how-it-works .hero-eyebrow {
  font-style: italic;
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.highlight-box {
  background: var(--background);
  color: var(--text-color);
  padding: 3rem 4rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

.highlight-box h2 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.contact-benefits {
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.benefit-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.contact-page .subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info {
  background: var(--color-background-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.contact-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.steps-vertical .step-content p {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: var(--light-background-text);
}

/* Mobile menu styles */
.mobile-menu-button {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  /* Navigation */
  .mobile-menu-button {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    padding: 20px;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    margin: 10px 0;
  }

  /* Hero section */
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-animation {
    width: 100%;
    margin-top: 30px;
  }

  /* Benefit grid */
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  /* How it works section */
  .steps-vertical .step-row {
    flex-direction: column;
    text-align: center;
  }

  .step-content {
    width: 100%;
    margin-bottom: 20px;
  }

  .step-svg {
    width: 100%;
  }

  /* Pricing section */
  .pricing-cards {
    flex-direction: column;
    gap: 20px;
  }

  .pricing-card {
    width: 100%;
  }

  /* CTA buttons */
  .cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}
