:root {
  --primary: #062356;
  --primary-blue: #062356;
  --accent-blue: #4361EE;
  --secondary: #9B59B6;
  --primary-dark: #02102B;
  --bg-color: #F4F6FB;
  --surface: #FFFFFF;
  --text-main: #02102B;
  --text-muted: #6C757D;
  --border: #E0E0E0;
  --gradient-start: #03163E;
  --gradient-end: #082E78;
  --error: #E74C3C;
  --success: #2ECC71;
  --warning: #F39C12;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title.light {
  color: white;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.92) !important;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 35, 86, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.5s;
}

.btn-primary:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary:hover {
  background: #082e78;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 35, 86, 0.4);
}

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

.btn-white:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  background: transparent;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.logo-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: white;
  transition: color 0.3s;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-top: 2px;
  transition: color 0.3s;
}

.header.scrolled .logo-title {
  color: var(--primary-dark);
}

.header.scrolled .logo-subtitle {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header.scrolled .nav-links a {
  color: var(--text-main);
}

/* Default (transparent header on dark bg) */
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue) !important;
}

/* Scrolled state (white header) */
.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--accent-blue) !important;
}


/* 1. Hero Section */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--primary);
  color: white;
  overflow: hidden;
}

/* Bridge Network Pattern Background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
}

/* Background Image */
.hero-bg-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 50%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.5;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.hero-feature-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.hero-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-feature-item:hover .hero-icon-wrapper {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero-feature-item svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Phone Mockup CSS */
.phone-mockup {
  width: 300px;
  height: 620px;
  background: white;
  border-radius: 30px;
  border: 12px solid #1a1a1a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #333;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #1a1a1a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-mockup img,
.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup.back {
  position: absolute;
  right: -20px;
  top: 40px;
  transform: scale(0.9) rotate(5deg);
  z-index: 1;
  opacity: 0.8;
  filter: blur(1px);
}

/* Floating Stats */
.floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-stat.stat-1 {
  top: 10%;
  right: -60px;
  animation-delay: 0s;
}

.floating-stat.stat-2 {
  top: 40%;
  right: -80px;
  animation-delay: 2s;
}

.floating-stat.stat-3 {
  bottom: 20%;
  right: -40px;
  animation-delay: 4s;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.stat-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.stat-info p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* 2. Statistics Bar */
.stats-bar-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 40px;
}

.stats-bar {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(6, 35, 86, 0.08);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item:active {
  transform: scale(0.92);
}

.stat-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item .icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-blue);
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}


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

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 100px;
  right: 100px;
  height: 2px;
  background: dashed 2px var(--border);
  z-index: 1;
}

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  width: 30%;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.step-number {
  position: absolute;
  top: -16px;
  right: 40px;
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover .step-number {
  transform: scale(1.1) translateY(-3px);
}

.step-icon {
  width: 72px;
  height: 72px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
  background: var(--primary-blue);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.step-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-blue);
  transition: all 0.4s ease;
}

.step-card:hover .step-icon svg {
  fill: white;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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


/* 4. Core Features */
.core-features {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-box {
  background: white;
  padding: 35px 30px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-box:hover .feature-header svg {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.2);
}

.feature-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-header svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  background: rgba(67, 97, 238, 0.1);
  border: none;
  border-radius: 16px;
  fill: var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.2;
}

.feature-list {
  list-style: none;
  margin-bottom: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 50%;
}

.feature-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 5. Admin Showcase */
.admin-showcase {
  padding: 80px 0;
  background: white;
}

.admin-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 30px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  color: white;
  overflow: hidden;
  transition: transform 0.3s;
}

.admin-card:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.admin-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.admin-content p {
  opacity: 0.8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.admin-list {
  list-style: none;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.admin-list li svg {
  width: 20px;
  height: 20px;
  fill: #2ECC71;
}

/* Laptop Mockup CSS */
.laptop-mockup {
  width: 100%;
  position: relative;
  perspective: 1000px;
}

.laptop-screen {
  background: #111;
  border-radius: 16px 16px 0 0;
  border: 12px solid #1a1a1a;
  border-bottom: 16px solid #222;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.laptop-base {
  height: 20px;
  background: #ccc;
  border-radius: 0 0 16px 16px;
  position: relative;
  transform: rotateX(15deg);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

.laptop-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #999;
  border-radius: 0 0 4px 4px;
}

/* 6. Security */
.security {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 40px 0;
  color: white;
  text-align: center;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.security-icon {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.security-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-blue);
}

.security-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.security-item p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* 7. App Screens Showcase */
.screens-showcase {
  padding: 100px 0;
  background: var(--bg-color);
  overflow: hidden;
  text-align: center;
}

.carousel-container {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(6, 35, 86, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-dark);
  transition: all 0.3s;
}

.scroll-btn:hover svg {
  fill: white;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

.carousel-wrap {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 40px;
}

.carousel-wrap::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.carousel-item .phone-mockup {
  width: 100%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 260 / 540;
  margin: 0 auto;
  box-shadow: inset 0 0 0 2px #333 !important;
  transition: transform 0.3s ease;
  position: relative;
}

.carousel-item:hover {
  z-index: 10;
}

.carousel-item:hover .phone-mockup {
  transform: scale(1.15);
}

.carousel-item p {
  font-weight: 600;
  color: var(--primary-dark);
}

/* 8. Download CTA */
.cta-banner {
  padding: 80px 0;
}

.cta-content {
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cta-logo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-text {
  text-align: left;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.store-buttons a {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.store-buttons a:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* 9. Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  flex: 1;
  min-width: 140px;
}

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

.footer-logo p {
  opacity: 0.7;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-links a:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

.footer-links a:active {
  transform: scale(0.9) translateX(5px);
}

.social-links a {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(67, 97, 238, 0.4);
  color: var(--primary-blue) !important;
  transform: translateY(-3px);
}

.social-links a:active {
  transform: scale(0.85);
}

.store-buttons-footer a {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-buttons-footer a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.store-buttons-footer a:active {
  transform: scale(0.95);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-bottom-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-bottom-links a:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-bottom-links a:active {
  transform: translateY(1px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: white;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #f8f9fa;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Mobile Menu Styles --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.mobile-toggle-icon {
  fill: white;
  transition: fill 0.3s;
}

.header.scrolled .mobile-toggle-icon {
  fill: var(--text-main);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: white;
  z-index: 1002;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-links {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 8px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mobile-nav-links a:hover {
  background: var(--bg-color);
  color: var(--primary-blue);
}

.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h3,
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    margin-top: 60px;
    transform: scale(0.9);
  }

  .floating-stat.stat-1 {
    right: -20px;
  }

  .floating-stat.stat-2 {
    right: -30px;
  }

  .floating-stat.stat-3 {
    right: -10px;
  }

  .stats-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: max-content;
    margin: 0 auto;
    justify-content: center;
  }

  .steps-container {
    flex-direction: column;
    gap: 40px;
  }

  .steps-container::before {
    display: none;
  }

  .step-card {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .cta-left {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    text-align: center;
  }

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

  .carousel-item {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {
  .header-download {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content h3 {
    font-size: 1.15rem;
  }

  .hero-feature-item {
    font-size: 0.75rem;
  }

  .hero-visual {
    transform: scale(0.8);
    margin-top: 30px;
  }

  .phone-mockup.back {
    display: none;
  }

  .floating-stat {
    padding: 12px 16px;
  }

  .floating-stat.stat-1 {
    top: 5%;
    right: -10px;
  }

  .floating-stat.stat-2 {
    top: 40%;
    right: -20px;
  }

  .floating-stat.stat-3 {
    bottom: 10%;
    right: 0px;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .cta-text h2 {
    font-size: 1.8rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .scroll-btn {
    display: none;
  }

  .carousel-wrap {
    padding: 20px 0;
  }

  .admin-card {
    padding: 40px 20px;
  }

  .admin-list {
    grid-template-columns: 1fr;
  }

  .carousel-item {
    flex: 0 0 100%;
  }
}

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h3 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-visual {
    transform: scale(0.7);
    margin-left: -20px;
  }
}

/* 10. FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active {
  border-color: rgba(67, 97, 238, 0.2);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 28px 28px 28px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}


/* CSS Animations & Transitions */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}