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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0b0d13;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Base Styles for Sections */
.section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  transition: transform 0.5s ease;
}

.section-divider {
  width: 95%;
  height: 2px;
  margin: -1px auto; /* Adjust spacing around the divider as needed */
  background: linear-gradient(90deg, rgba(123, 97, 255, 1), rgba(51, 177, 255, 1));
  box-shadow: 0 0 10px rgba(123, 97, 255, 0.6), 0 0 10px rgba(51, 177, 255, 0.6);
  border-radius: 5px;
  opacity: 0.9;
}

/* Hero Section Logo and App Name */
.hero-header {
  position: fixed;
  top: 20px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.app-logo {
  width: 40px;
  height: 40px;
}

.app-name {
  font-size: 1.5em;
  color: #ffffff;
  font-weight: bold;
}

.hero{
  min-height: 100vh;
}

h1, h2, h3 {
  color: #fff;
}

h1 {
  font-size: 2.8em;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

p {
  font-size: 1.2em;
  max-width: 600px;
  color: #c0c3d2;
  line-height: 1.6;
}

.cta-button {
  background: linear-gradient(135deg, #4b8df8, #8e4eff);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 30px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 0px 15px rgba(142, 78, 255, 0.5);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 20px rgba(142, 78, 255, 0.8);
}

.cta-button:disabled{
  cursor: not-allowed;
}

.cta-button:disabled:hover{
  cursor: not-allowed;
}

.steps, .feature-list, .benefit-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step, .feature, .benefit {
  background-color: #181a23;
  padding: 30px;
  border-radius: 15px;
  width: 300px;
  margin: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover, .feature:hover, .benefit:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(142, 78, 255, 0.3);
}

.step h3, .feature h3, .benefit h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #8e4eff;
}

.section h2 {
  font-size: 3em;
  margin-bottom: 40px;
}

/* Partner Section */
.partner {
  background: #13162a;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.partner h2 {
  font-size: 2.4em;
  margin-bottom: 20px;
}

.partner p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.1em;
  color: #c0c3d2;
  line-height: 1.6;
}

.partners-logos-section{
  margin-top: 40px;
}

.partner .partner-button {
  background: linear-gradient(135deg, #ff5c5c, #ff7b7b);
  box-shadow: 0px 0px 15px rgba(255, 123, 123, 0.5);
}

.partner .partner-button:hover {
  box-shadow: 0px 0px 20px rgba(255, 123, 123, 0.8);
}

/* Call-to-Action Section */
.cta-section {
  background: linear-gradient(135deg, #13162a, #0b0d13);
  color: #fff;
}

.cta-section p {
  color: #c0c3d2;
}

/* Footer */
footer {
  background-color: #13162a;
  padding: 40px 0;
  text-align: center;
  color: #a0a3b2;
}

footer nav a {
  color: #8e4eff;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: #4b8df8;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2em;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  p {
    font-size: 1em;
    max-width: 90%;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 80%;
    max-width: 300px;
    box-shadow: 0px 0px 10px rgba(142, 78, 255, 0.6);
  }

  .steps, .feature-list, .benefit-list {
    flex-direction: column;
    gap: 15px;
  }

  .step, .feature, .benefit {
    width: 90%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .step, .feature, .benefit {
    padding: 20px;
  }

  .partner h2 {
    font-size: 2em;
  }

  .partner p {
    font-size: 1em;
  }
}

/* Partners Section */
.partners {
  background-color: #0f121b;
  padding: 60px 20px;
  text-align: center;
}

.partners h2 {
  font-size: 2.4em;
  color: #fff;
  margin-bottom: 30px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 20px;
}

.partner-logo {
  position: relative;
  width: 240px;
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
}

.logo-front, .logo-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.6s;
}

.logo-front img {
  width: 100%;
  border-radius: 10px;
}

.logo-back {
  background-color: #2a2d47;
  color: #f0f0f0;
  font-size: 0.9em;
  padding: 10px;
  transform: rotateY(180deg);
  text-align: center;
}

.partner-logo.flip .logo-front {
  transform: rotateY(180deg);
}

.partner-logo.flip .logo-back {
  transform: rotateY(0deg);
}

/* Button Style Consistency */
.cta-button,
.partner-button {
  background: linear-gradient(135deg, #4b8df8, #8e4eff);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 30px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 0px 15px rgba(142, 78, 255, 0.5);
}

.cta-button:hover,
.partner-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 20px rgba(142, 78, 255, 0.8);
}

/* App Demo Section */
.app-demo {
  background-color: #0f121b;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.app-demo h2 {
  font-size: 2.4em;
  color: #fff;
  margin-bottom: 20px;
}

.app-demo p {
  color: #c0c3d2;
  max-width: 600px;
  margin: 0 auto 30px;
}

.app-demo-video {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.app-demo-video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* CTA Section with Demo Image */
.cta-section {
  background-color: #13162a;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.cta-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
}

.cta-text {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.cta-text h2 {
  font-size: 2em;
  color: #fff;
  margin-bottom: 20px;
}

.cta-text p {
  color: #c0c3d2;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.cta-button {
  background: linear-gradient(135deg, #4b8df8, #8e4eff);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 30px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 0px 15px rgba(142, 78, 255, 0.5);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 20px rgba(142, 78, 255, 0.8);
}

/* Phone Mockup Styling */
.phone-mockup {
  width: 400px;
  height: 810px;
  transform: scale(1.01);
  background: url('device.png') no-repeat center center;
  background-size: cover;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Header overlaying the mockup */
.phone-header {
  position: absolute;
  top: 20px;
  left: 50px;
  width: 300px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: white;
  font-size: 0.8em;
  z-index: 10;
}

.time {
  font-weight: bold;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.signal {
  font-size: 0.8em;
}

.battery {
  font-size: 1.1em;
}

/* Iframe */
.app-iframe {
  position: absolute;
  top: 65px; /* Positioned under the header */
  left: 4%;
  width: 93%;
  height: calc(98.7% - 65px); /* Full height minus the header */
  border: none;
  border-bottom-left-radius: 50px; /* Rounded bottom corners */
  border-bottom-right-radius: 50px;
  overflow: hidden; /* Ensures content within iframe respects the rounded corners */
}

/* App Demo Label */
.demo-label {
  margin-top: 10px;
  color: #8e4eff;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-text {
    padding-right: 0;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }
}

a {
  text-decoration: none;
}


/* General Mobile Styling */
@media (max-width: 768px) {
  /* Hero Section Adjustments */
  .hero-header {
    top: 10px;
    left: 20px;
    gap: 5px;
  }

  .app-logo {
    width: 30px;
    height: 30px;
  }

  .app-name {
    font-size: 1.2em;
  }

  .hero h1 {
    font-size: 1.8em;
    padding: 0 20px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1em;
    padding: 0 20px;
  }

  /* CTA Button in Hero */
  .cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
    width: auto;
  }

  /* Section Divider */
  .section-divider {
    width: 90%;
  }

  /* How It Works Section Adjustments */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .step {
    width: 100%;
    padding: 20px;
  }

  .step h3 {
    font-size: 1.2em;
  }

  /* Features Section Adjustments */
  .feature-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .feature {
    width: 100%;
    padding: 20px;
  }

  .feature h3 {
    font-size: 1.2em;
  }

  /* Partner Section Adjustments */
  .partners-logos {
    flex-direction: column;
    gap: 10px;
  }

  .partner-logo {
    width: 100px;
    height: 100px;
  }

  /* Call-to-Action Section with Demo Image */
  .cta-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-text {
    padding: 0 20px;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
    margin-top: 20px;
  }

  /* Footer */
  footer {
    padding: 20px 0;
  }

  footer nav a {
    font-size: 0.9em;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 0.9em;
  }

  .cta-button {
    padding: 10px 15px;
    font-size: 0.8em;
  }

  .step, .feature {
    padding: 15px;
  }

  .partners-logos {
    flex-direction: column;
    align-items: center;
  }

  .app-logo {
    width: 25px;
    height: 25px;
  }

  .app-name {
    font-size: 1em;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }
}