/* Global Styles */
:root {
  --vh: 1vh;
  --animation-duration: 1s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keyboard navigation accessibility */
.keyboard-nav *:focus {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* iOS Safari viewport fix */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

/* Particles Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 95%;
}

.navbar:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px !important;
  border-radius: 25px;
}

.nav-link:hover {
  color: #ffd700 !important;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* Custom Hamburger Menu Styles */
.navbar-toggler {
  border: none;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  width: 50px;
  height: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
  outline: none;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Custom hamburger icon */
.navbar-toggler-icon {
  display: none;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation */
.navbar-toggler.collapsed .hamburger-line:nth-child(1) {
  transform: rotate(0deg) translate(0, 0);
}

.navbar-toggler.collapsed .hamburger-line:nth-child(2) {
  opacity: 1;
}

.navbar-toggler.collapsed .hamburger-line:nth-child(3) {
  transform: rotate(0deg) translate(0, 0);
}

.navbar-toggler:not(.collapsed) .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler:not(.collapsed) .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu dropdown */
.navbar-collapse {
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
}

.navbar-nav {
  gap: 10px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 2rem 0;
  margin-top: 40px;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-logo {
  height: 120px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #ffd700, #fff);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn-primary-custom {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
}

.section:nth-child(even) {
  background: rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #fff, #ffd700);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Core Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
  from { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
  to { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.value-description {
  line-height: 1.7;
  opacity: 0.9;
}

/* How It Works Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-icon {
  font-size: 3rem;
  color: #ffd700;
  margin: 2rem 0 1rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.step-description {
  line-height: 1.6;
  opacity: 0.9;
}

/* Blockchain Power Section */
.blockchain-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.blockchain-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blockchain-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blockchain-card:hover::before {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blockchain-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.blockchain-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  z-index: 1;
}

.blockchain-description {
  line-height: 1.7;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  border-radius: 30px;
  padding: 4rem;
  margin: 2rem 0;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #ffd700);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Videobox Styles */
.videobox-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.videobox {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 2.5rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.videobox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.videobox:hover::before {
  transform: scaleX(1);
}

.videobox:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.videobox-header {
  text-align: center;
  margin-bottom: 2rem;
}

.videobox-icon {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 1rem;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

.videobox-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.videobox-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  color: white;
  line-height: 1.5;
}

.video-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-height: 300px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.video-container:hover video {
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

.video-container.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

/* When video is playing, ensure it's visible */
.video-container.playing video {
  display: block !important;
}

/* Video controls styling */
.video-container video::-webkit-media-controls {
  background: rgba(0, 0, 0, 0.5);
}

.video-container video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffd700;
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.play-button i {
  font-size: 2.5rem;
  color: white;
  margin-left: 5px;
}

/* Video Fallback Styles */
.video-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.fallback-content {
  text-align: center;
  color: white;
  max-width: 400px;
}

.fallback-icon {
  margin-bottom: 1.5rem;
}

.fallback-icon i {
  font-size: 4rem;
  color: #ffd700;
  display: block;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

.fallback-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.fallback-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.fallback-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.fallback-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.fallback-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.fallback-feature i {
  color: #ffd700;
  font-size: 1rem;
  flex-shrink: 0;
}

.fallback-feature span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.fallback-cta {
  margin-top: 1.5rem;
}

.fallback-cta .btn {
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.fallback-cta .btn:hover {
  background: #ffd700;
  border-color: #ffd700;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.videobox-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.feature-item i {
  color: #ffd700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item span {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Slide down animation for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure menu closes when clicking outside */
.navbar-collapse.show {
  display: block !important;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .hero-content {
    max-width: 1200px;
  }
  
  .section {
    padding: 120px 0;
  }
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .blockchain-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
}

/* Medium-Large screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blockchain-features {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .navbar {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 15px;
    margin: 20px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .blockchain-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .btn-primary-custom, .btn-secondary-custom {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .videobox-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .videobox {
    padding: 2rem 1.5rem;
  }

  .videobox-title {
    font-size: 1.5rem;
  }

  .videobox-subtitle {
    font-size: 0.9rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 2rem;
  }

  /* Fallback content responsive styles */
  .fallback-content h4 {
    font-size: 1.3rem;
  }

  .fallback-content p {
    font-size: 0.9rem;
  }

  .fallback-feature {
    padding: 0.5rem;
  }

  .fallback-feature span {
    font-size: 0.85rem;
  }

  .feature-item {
    padding: 0.6rem;
  }

  .feature-item span {
    font-size: 0.9rem;
  }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .section {
    padding: 80px 0;
  }

  .navbar {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    margin: 0;
    padding: 15px 20px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-primary-custom, .btn-secondary-custom {
    width: 100%;
    max-width: 280px;
    padding: 14px 25px;
    font-size: 1rem;
  }

  .values-grid, .steps-container, .blockchain-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card, .step-card, .blockchain-card {
    padding: 2rem 1.5rem;
  }

  .final-cta {
    padding: 3rem 2rem;
    margin: 1rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }

  .videobox {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }

  .videobox-title {
    font-size: 1.3rem;
  }

  .videobox-subtitle {
    font-size: 0.85rem;
  }

  .videobox-icon {
    font-size: 2.5rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 1.8rem;
  }

  /* Fallback content responsive styles */
  .fallback-content h4 {
    font-size: 1.2rem;
  }

  .fallback-content p {
    font-size: 0.85rem;
  }

  .fallback-feature {
    padding: 0.4rem;
  }

  .fallback-feature span {
    font-size: 0.8rem;
  }

  .feature-item {
    padding: 0.5rem;
    gap: 0.6rem;
  }

  .feature-item span {
    font-size: 0.85rem;
  }
}

/* Extra Small screens (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
  .hero-section {
    padding: 1.5rem 0;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 1.6;
  }

  .hero-logo {
    height: 100px;
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
  }

  .navbar {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    margin: 0;
    padding: 12px 15px;
  }

  .nav-link {
    font-size: 0.9rem;
    margin: 0 8px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
  }

  .btn-primary-custom, .btn-secondary-custom {
    width: 100%;
    max-width: 260px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .value-card, .step-card {
    padding: 1.8rem 1.2rem;
  }

  .value-icon, .step-icon {
    font-size: 3rem;
  }

  .value-title, .step-title {
    font-size: 1.3rem;
  }

  .blockchain-card {
    padding: 2rem 1.2rem;
  }

  .blockchain-icon {
    font-size: 3.5rem;
  }

  .blockchain-title {
    font-size: 1.6rem;
  }

  .final-cta {
    padding: 2.5rem 1.5rem;
    margin: 0.5rem;
  }

  .cta-title {
    font-size: 1.9rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 20px;
    font-size: 1.8rem;
  }
}

/* Very Small screens (320px to 479px) */
@media (max-width: 479px) {
  .hero-section {
    padding: 1rem 0;
    min-height: 85vh;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .hero-logo {
    height: 80px;
    margin-bottom: 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .navbar {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    margin: 0;
    padding: 10px 12px;
  }

  .navbar-brand img {
    height: 25px;
  }

  .nav-link {
    font-size: 0.85rem;
    margin: 0 5px;
    padding: 5px 8px;
  }

  .navbar-toggler {
    padding: 4px 8px;
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
  }

  .btn-primary-custom, .btn-secondary-custom {
    width: 100%;
    max-width: 240px;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 25px;
  }

  .values-grid, .steps-container, .blockchain-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .value-card, .step-card {
    padding: 1.5rem 1rem;
    border-radius: 15px;
  }

  .value-icon, .step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .value-title, .step-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .value-description, .step-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    top: -12px;
  }

  .blockchain-card {
    padding: 1.8rem 1rem;
    border-radius: 15px;
  }

  .blockchain-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .blockchain-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .blockchain-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Fallback content mobile styles */
  .fallback-content h4 {
    font-size: 1rem;
  }

  .fallback-content p {
    font-size: 0.8rem;
  }

  .fallback-feature {
    padding: 0.3rem;
  }

  .fallback-feature span {
    font-size: 0.75rem;
  }

  .final-cta {
    padding: 2rem 1rem;
    margin: 0.5rem;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .scroll-indicator {
    bottom: 15px;
    font-size: 1.6rem;
  }

  /* Footer adjustments */
  footer {
    padding: 30px 0 !important;
  }

  footer p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-logo {
    height: 60px;
    margin-bottom: 0.5rem;
  }

  .cta-buttons {
    margin-top: 1rem;
  }

  .section {
    padding: 40px 0;
  }

  .scroll-indicator {
    display: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-logo, .navbar-brand img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .value-card:hover, .step-card:hover, .blockchain-card:hover {
    transform: none;
  }

  .btn-primary-custom:hover, .btn-secondary-custom:hover {
    transform: none;
  }

  .nav-link:hover {
    transform: none;
  }

  .value-card, .step-card, .blockchain-card {
    transition: all 0.2s ease;
  }

  .value-card:active, .step-card:active, .blockchain-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
  }

  .btn-primary-custom:active, .btn-secondary-custom:active {
    transform: scale(0.98);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-logo {
    animation: none;
  }

  .value-icon, .step-icon {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Mobile-specific navbar styles */
@media (max-width: 991px) {
  .navbar {
    top: 15px;
    padding: 12px 25px;
    border-radius: 25px;
    width: 95%;
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar:hover {
    transform: translateX(-50%);
  }

  .navbar-collapse {
    margin-left: 0;
    margin-right: 0;
    transform: none;
    position: static;
  }

  .navbar-nav {
    width: 100%;
    text-align: center;
  }

  .container-fluid {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-link {
    margin: 0;
    padding: 12px 20px !important;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(10px);
  }

  .nav-link::after {
    display: none;
  }

  .navbar-collapse.show {
    animation: slideDown 0.3s ease;
  }

  .navbar-collapse.collapsing {
    transition: height 0.3s ease;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 10px;
    padding: 10px 20px;
    width: 98%;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-brand img {
    height: 28px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 15px 20px !important;
  }
}

@media (max-width: 576px) {
  .navbar {
    top: 5px;
    padding: 8px 15px;
    width: calc(100% - 10px);
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .navbar-brand img {
    height: 25px;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 15px !important;
  }

  .hamburger-line {
    width: 22px;
    height: 2.5px;
  }

  .navbar-toggler {
    width: 45px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .navbar {
    border-radius: 15px;
  }

  .navbar-collapse {
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
  }
}

/* Footer Styles */
footer {
  padding: 50px 0;
  text-align: center;
  background: rgba(0,0,0,0.3);
}

footer .text-center.mt-3 {
  margin: 15px;
}

/* Additional responsive styles for footer */
@media (max-width: 768px) {
  footer {
    padding: 30px 0;
  }
  
  footer .text-center.mt-3 {
    margin: 10px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 20px 0;
  }
  
  footer .text-center.mt-3 {
    margin: 8px;
  }
} 