/* =========================================
           CSS VARIABLES & RESET
        ========================================= */
:root {
  --primary-brown: #4d2c18;
  --dark-brown: #2b170d;
  --light-beige: #e6d4bf;
  --gold: #c89b62;
  --white: #ffffff;
  --bg-color: #faf8f6;
  --text-dark: #222222;
  --border-color: #e9e3dd;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-gold:hover {
  background-color: #b0844a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(200, 155, 98, 0.4);
}

.btn-outline-dark-brown {
  background: transparent;
  color: var(--dark-brown);
  border: 1px solid var(--dark-brown);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-outline-dark-brown:hover {
  background: var(--dark-brown);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
           HEADER & NAVBAR
        ========================================= */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  z-index: 1030;
  backdrop-filter: blur(8px);
}
.navbar-transparent {
  background-color: rgba(255, 255, 255, 0) !important;
}
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}
.navbar .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 10px;
  font-size: 0.9rem;
  position: relative;
}
.navbar .nav-link:hover {
  color: var(--gold);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-brown);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i {
  color: var(--gold);
  font-size: 1.8rem;
}

/* =========================================
           HERO SECTION
        ========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    position: relative;
    background: url(images/hero-bg-right.jpg), linear-gradient(135deg, #fdfbf9 0%, #f4ebe4 100%);
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 60%;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-brown);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

/* Floating Phones */
.hero-mockups {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup-phone {
  position: absolute;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 8px solid #fff;
  overflow: hidden;
  width: 220px;
  height: 450px;
  background-image: url("https://placehold.co/220x450/e6d4bf/4d2c18?text=Canter+App");
  background-size: cover;
}
.mockup-phone:nth-child(1) {
  left: 10%;
  top: 10%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
  transform: rotate(-5deg);
}
.mockup-phone:nth-child(2) {
  left: 40%;
  top: 20%;
  animation: float 8s ease-in-out infinite;
  z-index: 3;
  transform: rotate(-2deg);
  width: 240px;
  height: 480px;
  background-image: url("https://placehold.co/240x480/4d2c18/ffffff?text=Canter+Vendor");
}
.mockup-phone:nth-child(3) {
  right: 10%;
  top: 15%;
  animation: float 7s ease-in-out infinite;
  z-index: 2;
  transform: rotate(5deg);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-20px) rotate(var(--rotate, 0deg));
  }
  100% {
    transform: translateY(0px) rotate(var(--rotate, 0deg));
  }
}

/* Stats Cards */
.hero-stats {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 120px;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-brown);
}
.stat-label {
  font-size: 0.8rem;
  color: #777;
  font-weight: 500;
}

/* =========================================
           TRUSTED BY
        ========================================= */
.trusted-section {
  background-color: var(--light-beige);
  padding: 30px 0;
}
.trusted-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.6;
  transition: var(--transition);
}
.trusted-slider .swiper-slide:hover {
  opacity: 1;
}
.trusted-logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-brown);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
           FEATURES
        ========================================= */
.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-beige);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}
.feature-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-brown);
}
.feature-desc {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

/* =========================================
           APP SHOWCASE (SWIPER)
        ========================================= */
.showcase-section {
  background: var(--dark-brown);
  color: var(--white);
}
.showcase-section .section-title {
  color: var(--white);
}
.showcase-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.showcase-swiper .swiper-slide {
  background: transparent;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.showcase-img-wrapper {
  width: 200px;
  height: 400px;
  background: #000;
  border-radius: 30px;
  border: 6px solid #333;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-image: url("https://placehold.co/200x400/222/fff?text=App+Screen");
  background-size: cover;
}
.showcase-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.showcase-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
}

/* =========================================
           EVERYTHING IN ONE APP (Alternating)
        ========================================= */
.alternate-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.content-block h3 {
  color: var(--primary-brown);
  font-weight: 600;
  margin-bottom: 1rem;
}
.content-block ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-block ul li i {
  color: var(--gold);
}

/* =========================================
           MARKETPLACE
        ========================================= */
.marketplace-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.marketplace-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.marketplace-img {
  height: 200px;
  background-color: var(--light-beige);
  background-size: cover;
  background-position: center;
}
.marketplace-body {
  padding: 1.5rem;
  text-align: center;
}
.marketplace-title {
  font-weight: 600;
  color: var(--primary-brown);
}

/* =========================================
           VENDOR APP SECTION
        ========================================= */
.vendor-section {
  background: var(--primary-brown);
  color: var(--white);
}
.vendor-section .section-title {
  color: var(--white);
}
.vendor-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.vendor-mockup {
  /* border-radius: var(--radius-lg); */
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}
.vendor-mockup:hover {
  transform: perspective(1000px) rotateY(0deg);
}
.vendor-mockup img{
    min-height: 440px;
}
.vendor-stats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* =========================================
           HOW IT WORKS (Timeline)
        ========================================= */
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem auto;
  position: relative;
  z-index: 2;
}
.step-card {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.step-card::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}
.step-card:last-child::after {
  display: none;
}
.step-title {
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 0.25rem;
}
.step-desc {
  font-size: 0.9rem;
  color: #777;
}

/* =========================================
           WHY CHOOSE CANTER
        ========================================= */
.benefit-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.benefit-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-right: 10px;
}
.benefit-title {
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  color: var(--primary-brown);
}

/* =========================================
           SCREENS GALLERY (Coverflow)
        ========================================= */
.screens-gallery {
  background: var(--bg-color);
  overflow: hidden;
}
.swiper-coverflow .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 250px;
  height: 450px;
  border-radius: 30px;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background-image: url("https://placehold.co/250x450/4d2c18/fff?text=Screen");
}

/* =========================================
           TESTIMONIALS
        ========================================= */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 1rem;
  border: 1px solid var(--border-color);
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--light-beige);
  object-fit: cover;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-brown);
  margin: 0;
}
.testimonial-role {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* =========================================
           NUMBERS / STATS COUNTER
        ========================================= */
.numbers-section {
  background: var(--light-beige);
  padding: 60px 0;
}
.counter-box {
  text-align: center;
}
.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-brown);
}
.counter-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* =========================================
           FAQ (Accordion)
        ========================================= */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.accordion-button {
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  padding: 1.25rem 1.5rem;
}
.accordion-button:not(.collapsed) {
  background: var(--white);
  color: var(--primary-brown);
  box-shadow: inset 0 -1px 0 var(--border-color);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(200, 155, 98, 0.25);
}
.accordion-body {
  color: #555;
  padding: 1.25rem 1.5rem;
}

/* =========================================
           DOWNLOAD SECTION
        ========================================= */
.download-section {
  background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.download-section .section-title {
  color: var(--white);
}
.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.store-btn {
  background: #000;
  color: #fff;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.store-btn:hover {
  background: #222;
  color: #fff;
  transform: scale(1.05);
}
.qr-code {
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

/* =========================================
           FOOTER
        ========================================= */
.footer {
  /* background: var(--dark-brown); */
  background: #121212;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
}
.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin-bottom: 0.6rem;
}
.footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.footer ul li a:hover {
  color: var(--gold);
}
.footer .social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer .social-icons a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

/* =========================================
           RESPONSIVE TWEAKS
        ========================================= */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-mockups {
    height: 400px;
  }
  .mockup-phone {
    width: 160px;
    height: 320px;
  }
  .mockup-phone:nth-child(2) {
    width: 180px;
    height: 360px;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-mockups {
    height: 300px;
  }
  .mockup-phone {
    width: 120px;
    height: 250px;
  }
  .mockup-phone:nth-child(2) {
    width: 140px;
    height: 280px;
  }
  .mockup-phone:nth-child(1) {
    left: 5%;
  }
  .mockup-phone:nth-child(3) {
    right: 5%;
  }
  .stat-card {
    min-width: 80px;
    padding: 0.75rem 1rem;
  }
  .stat-number {
    font-size: 1.2rem;
  }
  .step-card::after {
    display: none;
  }
  .step-card {
    margin-bottom: 2rem;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1040;
  text-decoration: none;
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-brown);
  color: #fff;
  transform: translateY(-3px);
}
