:root {
  --primary-blue: #1e40af;
  --secondary-green: #059669;
  --accent-orange: #ea580c;
  --light-blue: #dbeafe;
  --dark-blue: #1e3a8a;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --light-gray: #f9fafb;
  --border-gray: #e5e7eb;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.nav-logo i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

.download-btn {
  background: var(--primary-blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: var(--dark-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

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

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  height: 600px;
  background: #1f2937;
  border-radius: 30px;
  padding: 20px;
  position: relative;
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.app-interface {
  padding: 30px 20px;
}

.app-header h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-blue);
}

.search-form {
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  align-items: center;
  background: var(--light-gray);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.input-group i {
  color: var(--primary-blue);
  margin-right: 10px;
}

.search-btn {
  width: 100%;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
}

.live-buses {
  background: var(--light-blue);
  border-radius: 10px;
  padding: 20px;
}

.bus-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-gray);
}

.bus-item:last-child {
  border-bottom: none;
}

.bus-number {
  font-weight: 600;
  color: var(--primary-blue);
}

.bus-time {
  color: var(--secondary-green);
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

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

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

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* App Showcase */
.app-showcase {
  padding: 100px 0;
  background: var(--light-gray);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.app-features {
  margin-bottom: 40px;
}

.app-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.app-feature i {
  color: var(--secondary-green);
  margin-right: 15px;
  font-size: 1.2rem;
}

.download-buttons {
  display: flex;
  gap: 20px;
}

.download-link img {
  height: 60px;
  transition: transform 0.3s ease;
}

.download-link:hover img {
  transform: scale(1.05);
}

.showcase-phones {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.phone-demo {
  width: 200px;
  height: 400px;
  background: #1f2937;
  border-radius: 25px;
  padding: 15px;
}

.phone-2 {
  margin-top: 40px;
}

.demo-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
}

.demo-header {
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.demo-map {
  height: 200px;
  background: var(--light-blue);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.map-bus {
  width: 20px;
  height: 20px;
  background: var(--accent-orange);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 30%;
  animation: moveBus 3s infinite;
}

.map-route {
  width: 80%;
  height: 3px;
  background: var(--primary-blue);
  position: absolute;
  top: 50%;
  left: 10%;
  border-radius: 2px;
}

@keyframes moveBus {
  0%, 100% { left: 30%; }
  50% { left: 60%; }
}

.demo-results {
  margin-top: 20px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 10px;
}

.bus-no {
  font-weight: 600;
  color: var(--primary-blue);
}

.time {
  color: var(--secondary-green);
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon i {
  font-size: 1.8rem;
  color: var(--primary-blue);
}

.benefit-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--light-gray);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 25px;
}

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

.step p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.testimonial {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
}

.testimonial-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-style: italic;
  line-height: 1.6;
}

.author-info h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  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;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo i {
  margin-right: 10px;
  color: var(--primary-blue);
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--dark-blue);
}

.app-downloads {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-download img {
  height: 50px;
  transition: transform 0.3s ease;
}

.app-download:hover img {
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .showcase-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-phones {
    justify-content: center;
  }

  .phone-2 {
    margin-top: 0;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

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

  .showcase-phones {
    flex-direction: column;
    align-items: center;
  }
}
