:root {
  --primary-color: #3F6BFE; /* New Blue */
  --secondary-color: #FF6665; /* New Red/Coral */
  --primary-light: rgba(63, 107, 254, 0.1);
  --secondary-light: rgba(255, 102, 101, 0.1);
  --text-color: #333333; 
  --light-text: #666666; 
  --white: #ffffff;
  --background-color: #f4f7ff; /* Very light blue tint */
  --footer-bg: #1a2238; /* Darker blue-grey for footer */
  --border-color: #e6ecf8;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --card-radius: 24px;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.bg-light {
  background-color: var(--background-color);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  margin-right: 10px;
  width: auto;
  border-radius: 8px;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
}

.dropbtn {
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1001;
  border-radius: 8px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 0;
  border: 1px solid var(--border-color);
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: normal;
  transition: all 0.2s ease;
}

.dropdown-content a::after {
  display: none; /* Disable underline animation for dropdown items */
}

.dropdown-content a:hover {
  background-color: rgba(62,107,253,0.05);
  color: var(--primary-color);
  padding-left: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--background-color) 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  filter: blur(40px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-light) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  filter: blur(40px);
}

/* Decorative background shapes */
.shape-1 {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(45deg, var(--primary-color), #7a9cff);
  opacity: 0.1;
  transform: rotate(45deg);
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  position: absolute;
  bottom: 30%;
  right: 15%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--secondary-color), #ff9998);
  opacity: 0.15;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(50deg); }
  100% { transform: translateY(0) rotate(45deg); }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color);
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-text);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #2a52d6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(62,107,253,0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 320px;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: translateY(-10px);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--text-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--light-text);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
}

.feature-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(62,107,253,0.03) 0%, rgba(255,255,255,0) 100%);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(62,107,253,0.12);
  border-color: rgba(62,107,253,0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(62,107,253,0.15) 0%, rgba(62,107,253,0.05) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotate(-5deg);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(62,107,253,0.3);
}

.feature-card h3 {
  margin-bottom: 25px;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
}

.feature-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.5;
}

.feature-list li i {
  color: var(--secondary-color);
  margin-right: 15px;
  margin-top: 4px;
  font-size: 1.1rem;
}

/* Why Choose Section */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-choose-card {
  background: var(--white);
  padding: 45px 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-choose-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.why-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.why-choose-card:hover .why-icon-wrapper {
  transform: scale(1.1) translateY(-5px);
}

.why-choose-card h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.why-choose-card p {
  color: var(--light-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Steps Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  padding: 20px 0;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 40px 25px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(62,107,253,0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--secondary-color), #ff4d4d);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 8px 15px rgba(235,41,34,0.3);
  border: 3px solid var(--white);
}

.step-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin: 25px 0;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.15);
}

.step-card h3 {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

.step-card p {
  color: var(--light-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* App Showcase Section */
.app-showcase {
  margin-top: 60px;
  position: relative;
  background: linear-gradient(135deg, var(--background-color) 0%, rgba(255,102,101,0.05) 100%);
  padding: 60px 0;
  border-radius: 40px;
  overflow: hidden;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--background-color) 100%);
  z-index: 1;
  pointer-events: none;
}

.app-showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(270deg, rgba(255,255,255,0) 0%, var(--background-color) 100%);
  z-index: 1;
  pointer-events: none;
}

.showcase-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 40px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}

.showcase-container::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  background-color: var(--white);
  color: var(--text-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 2;
  flex-shrink: 0;
  position: absolute;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.scroll-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.showcase-item {
  flex: 0 0 auto;
  width: 250px;
  text-align: center;
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.showcase-item:hover {
  transform: translateY(-10px);
}

.phone-frame {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 8px solid #333;
  background-color: #fff;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  border-radius: 8px;
}

.footer-logo h3 {
  margin-bottom: 0 !important;
}

.footer-logo h3::after {
  display: none !important;
}

.footer-section h3 {
  margin-bottom: 25px;
  font-size: 1.2rem;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-section p {
  color: #bbbbbb;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #bbbbbb;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #888888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    display: none;
  }

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

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .scroll-btn {
    display: none;
  }
}
