/* ===== SANDOQY LANDING PAGE - CREATIVE REDESIGN ===== */

/* CSS Variables - Enhanced Color Palette */
:root {
  --primary: #2aa0b4;
  --primary-dark: #1e8ba3;
  --primary-light: #0ea5e9;
  --primary-text: #0f3340;
  --secondary-text: #64748b;
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --shadow: rgba(42, 160, 180, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.1);

  /* New Creative Variables */
  --accent-glow: #00d4ff;
  --neon-purple: #8b5cf6;
  --electric-blue: #06b6d4;
  --cosmic-pink: #ec4899;
  --sunset-orange: #f97316;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables - Enhanced */
body.dark-mode {
  --primary: #2aa0b4;
  --primary-dark: #1e8ba3;
  --primary-light: #0ea5e9;
  --primary-text: #e6f1f5;
  --secondary-text: #9fb9c2;
  --background: #0a0f14;
  --surface: #1a202c;
  --border: #2d3748;
  --shadow: rgba(42, 160, 180, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.3);

  /* Dark Mode Creative Variables */
  --glass-bg: rgba(26, 32, 44, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--primary-text);
  background: var(--background);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== CREATIVE HEADER REDESIGN ===== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  z-index: 2000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Creative Header Background Elements */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-glow) 25%,
    var(--neon-purple) 50%,
    var(--cosmic-pink) 75%,
    transparent 100%);
  opacity: 0.6;
  animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

body.dark-mode .header {
  background: rgba(26, 32, 44, 0.15);
  border-bottom-color: var(--glass-border);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(40px) saturate(200%);
  box-shadow:
    0 8px 32px var(--glass-shadow),
    0 0 0 1px var(--glass-border);
  transform: translateY(0);
}

body.dark-mode .header.scrolled {
  background: rgba(26, 32, 44, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--glass-border);
}

/* Navigation Container */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  position: relative;
}

/* Brand Logo - Creative Design */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav-brand::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(20px);
  animation: brandPulse 4s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.2;
  }
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.brand-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.brand-logo:hover::before {
  left: 100%;
}

.brand-logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    0 8px 25px rgba(0, 212, 255, 0.3),
    0 0 0 2px rgba(0, 212, 255, 0.2);
}

.brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  z-index: 2;
  position: relative;
}

.nav-brand h1 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.nav-brand h1::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-brand:hover h1::after {
  transform: scaleX(1);
}

/* Navigation Links - Creative Hover Effects */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  position: relative;
}

.nav-link {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 12px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-glow), var(--neon-purple));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  width: 80%;
}

/* Header Controls - Creative Design */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

/* Theme Toggle - Enhanced */
.theme-toggle {
  position: relative;
}

.theme-btn {
  background: rgba(42, 160, 180, 0.1);
  border: 2px solid rgba(42, 160, 180, 0.3);
  color: var(--primary);
  padding: 0.75rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-btn:hover {
  background: rgba(42, 160, 180, 0.2);
  border-color: var(--accent-glow);
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    0 8px 25px rgba(0, 212, 255, 0.3),
    0 0 0 2px rgba(0, 212, 255, 0.2);
}

.theme-btn:hover::before {
  opacity: 0.1;
}

.theme-btn i {
  position: relative;
  z-index: 2;
  font-size: 1.25rem;
}

.theme-toggle .fa-sun {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.theme-toggle .fa-moon {
  color: #252525;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

body.dark-mode .theme-toggle .fa-moon {
  color: #1a202c;
}

/* Language Toggle - Creative Design */
.language-toggle {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--primary-text);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.lang-btn::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 ease;
}

.lang-btn:hover::before {
  left: 100%;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(42, 160, 180, 0.4);
}
@media (max-width: 768px) {
    .lang-btn {
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: var(--primary-text);
        padding: 0.3rem;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 0.5rem;
        position: relative;
        overflow: hidden;
      }
}
/* Mobile Menu Toggle - Creative Design */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-toggle:hover::before {
  opacity: 0.1;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--primary-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

body.dark-mode .nav-toggle span {
  background: #ffffff;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--accent-glow);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--neon-purple);
}

/* Mobile Responsive Header */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; /* start from very top */
    left: 0;
    right: 0;
    height: 100vh; /* cover screen */
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%); /* hidden above */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* ensure on top */
  }

  body.dark-mode .nav-links {
    background: rgba(26, 34, 44, 0.95);
  }

  .nav-links.active {
    transform: translateY(0); /* slide in */
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(42, 160, 180, 0.1);
  }

  body.dark-mode .nav-link {
    border-bottom-color: rgba(42, 160, 180, 0.2);
  }

  .nav-toggle { display: flex; }
  .header-controls { gap: 1rem; }
}

/* Header Animation on Scroll */
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header {
  animation: headerSlideDown 0.6s ease-out;
}

/* ===== CREATIVE MAIN SECTIONS REDESIGN ===== */

/* Hero Section - Futuristic Design */
.hero {
  min-height: 100vh;
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--accent-color) 100%);
    padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
  position: absolute;
  top: 0;
  left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%),
        radial-gradient(circle at 70% 80%,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

body.dark-mode .hero {
    background: linear-gradient(135deg,
        var(--dark-primary) 0%,
        var(--dark-secondary) 50%,
        var(--dark-accent) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg,
        var(--accent-glow) 0%,
        var(--neon-purple) 50%,
        var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg,
        var(--accent-glow),
        var(--neon-purple),
        var(--electric-blue));
    border-radius: 2px;
    animation: heroTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes heroTitleGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: black;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
body.dark-mode .hero-subtitle {
  color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  color: white;
  border: none;
  box-shadow: 0 8px 25px rgba(42, 160, 180, 0.3);
}

.hero-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-btn.primary:hover::before {
  left: 100%;
}

.hero-btn.primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(42, 160, 180, 0.4),
    0 0 0 3px rgba(0, 212, 255, 0.3);
}

.hero-btn.secondary {
  background: transparent;
  color: var(--primary-text);
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.hero-btn.secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  transition: width 0.4s ease;
  z-index: -1;
}

.hero-btn.secondary:hover::before {
  width: 100%;
}

.hero-btn.secondary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(42, 160, 180, 0.3);
}

.hero-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-btn:hover i {
  transform: translateX(5px);
}

/* Hero Stats - Creative Design */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow), var(--neon-purple));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 212, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: var(--secondary-text);
  font-size: 1rem;
  font-weight: 500;
}

/* About Section - Enhanced Design */
.about {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.about-container {
  position: relative;
  z-index: 2;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  border-radius: 2px;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-content {
  position: relative;
}

.about-content::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(30px);
  animation: aboutContentGlow 8s ease-in-out infinite;
}

@keyframes aboutContentGlow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.5) rotate(180deg);
    opacity: 0.2;
  }
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-text);
  margin-bottom: 2rem;
}

.about-features {
  position: static;
  text-align: center;
  align-items: center;
  list-style: none;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-features li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-glow);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  flex-shrink: 0;
  position: relative;
  text-align: center;
  align-content: center;
}

.feature-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}

.feature-text {
  color: var(--primary-text);
  font-weight: 500;
}

.about-image {
  position: relative;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.about-image:hover img {
  transform: scale(1.05) rotate(2deg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 0 0 2px rgba(0, 212, 255, 0.3);
}

/* About Stats - Creative Grid */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow), var(--neon-purple));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(0, 212, 255, 0.2);
}

.stat-card-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}

.stat-card-label {
  font-size: 1.1rem;
  color: var(--primary-text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-card-description {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Services Section - Enhanced Design */
.services {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-container {
  position: relative;
  z-index: 2;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  border-radius: 2px;
}

.services-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow), var(--neon-purple));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-20px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(0, 212, 255, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow:
    0 15px 40px rgba(0, 212, 255, 0.4),
    0 0 0 3px rgba(0, 212, 255, 0.3);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
}

/* CTA Section - Enhanced Design */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow), var(--neon-purple));
  border-radius: 2px;
}

.cta-description {
  font-size: 1.25rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(42, 160, 180, 0.3);
}

.cta-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-btn.primary:hover::before {
  left: 100%;
}

.cta-btn.primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 20px 50px rgba(42, 160, 180, 0.4),
    0 0 0 3px rgba(0, 212, 255, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--primary-text);
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-btn.secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  transition: width 0.4s ease;
  z-index: -1;
}

.cta-btn.secondary:hover::before {
  width: 100%;
}

.cta-btn.secondary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(42, 160, 180, 0.3);
}

/* Responsive Design for Main Sections */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-content::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 3rem;
  }

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

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about,
  .services,
  .cta {
    padding: 4rem 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

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

  .about-title,
  .services-title,
  .cta-title {
    font-size: 2.5rem;
  }

  .stat-card,
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* Section Animations on Scroll */
@keyframes sectionSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.about,
.services,
.cta {
  animation: sectionSlideUp 0.8s ease-out;
}

/* ===== PHONE MOCKUP ===== */
.responsive-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

.phone-mockup {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 300px;
    height: 600px;
    pointer-events: none;
}

.left-mockup {
    left: 10%;
    transform: translateY(-50%);
}

.right-mockup {
    right: 10%;
}

.left-mockup .phone-frame {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.left-mockup .phone-frame:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.right-mockup .phone-frame {
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
}

.right-mockup .phone-frame:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(2deg) scale(1.05);
}

.phone-frame {
    position: relative;
  width: 100%;
  height: 100%;
    background: linear-gradient(145deg, #2c3e50, #34495e);
  border-radius: 30px;
  padding: 8px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

body.dark-mode .phone-frame {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .phone-screen {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* Responsive adjustments for phone mockup */
@media (max-width: 1200px) {
    .phone-mockup {
        right: 5%;
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 992px) {
    .phone-mockup {
        right: 2%;
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 768px) {
    .phone-mockup {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 2rem auto;
        width: 240px;
        height: 480px;
    }

    .phone-frame {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }

    .phone-frame:hover {
        transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02);
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

/* App Interface */
.app-interface {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 1rem;
  position: relative;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.status-icons {
  display: flex;
  gap: 0.5rem;
}

.app-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.app-title h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.app-content {
  flex: 1;
  padding: 1rem;
  background: #f7fafc;
}

/* Balance Card */
.balance-card {
  background: var(--primary);
  border-radius: 16px;
  color: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(42, 160, 180, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.dark-mode .balance-card {
  border-color: rgba(42, 160, 180, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

body.dark-mode .services-text {
    color: white;
}

.balance-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

body.dark-mode .balance-amount {
  color: #e6f1f5;
}

.currency {
  font-size: 1rem;
  color: white;
}

.balance-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.action-btn {
  background: white;
  border: 1px solid rgba(42, 160, 180, 0.2);
  color: var(--primary);
  padding: 0.9rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 0.8rem;
  height: 0.8rem;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: rgba(42, 160, 180, 0.15);
  border-color: rgba(42, 160, 180, 0.3);
  transform: scale(1.05);
}

body.dark-mode .action-btn {
  background: white;
  border-color: rgba(42, 160, 180, 0.25);
  color: var(--primary-dark);
}

body.dark-mode .action-btn:hover {
  background: rgba(42, 160, 180, 0.2);
  border-color: rgba(42, 160, 180, 0.35);
}

/* Quick Actions */
.quick-actions {
  margin-top: 1rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.action-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(42, 160, 180, 0.1);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.action-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(42, 160, 180, 0.2);
  transform: translateY(-2px);
}

body.dark-mode .action-item {
  background: rgba(26, 34, 44, 0.8);
  border-color: rgba(42, 160, 180, 0.15);
}

body.dark-mode .action-item:hover {
  background: rgba(26, 34, 44, 0.9);
  border-color: rgba(42, 160, 180, 0.25);
}

.action-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: white;
}

.action-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-text);
}

body.dark-mode .action-item span {
  color: #d1e7ef;
}

/* Activity Ticker */
.activity-ticker {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 160, 180, 0.15);
  border-radius: 12px;
  padding: 1rem;
  width: 100px;
  max-height: 200px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.dark-mode .activity-ticker {
  background: rgba(26, 34, 44, 0.9);
  border-color: rgba(42, 160, 180, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.activity-ticker ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-ticker li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(42, 160, 180, 0.1);
  font-size: 0.75rem;
  color: var(--primary-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-ticker li:last-child {
  border-bottom: none;
}

.activity-ticker i {
  color: #10b981;
}

body.dark-mode .activity-ticker li {
  border-color: rgba(42, 160, 180, 0.18);
  color: #d1e7ef;
}

@media (max-width: 768px) {
  .activity-ticker {
    right: -80px;
    width: 80px;
    padding: 0.75rem;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

body.dark-mode .features {
  background: var(--surface);
}

.features .container {
  max-width: none;
  padding: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Scroller */
.features-scroller.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.features-rail {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.features-rail::-webkit-scrollbar {
  display: none;
}

.features-rail {
  scroll-snap-type: x mandatory;
}

.feature-card {
  min-width: 320px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 160, 180, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 160, 180, 0.05) 0%, rgba(14, 165, 233, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(42, 160, 180, 0.2);
}

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

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  flex-shrink: 0;
  position: relative;
  text-align: center;
  align-content: center;
}

.feature-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.feature-link:hover {
  gap: 0.75rem;
}

.feature-link i {
  transition: transform 0.3s ease;
}

.feature-link:hover i {
  transform: translateX(4px);
}

/* Dark Mode Features */
body.dark-mode .feature-card {
  background: rgba(26, 34, 44, 0.9);
  border-color: rgba(42, 160, 180, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(42, 160, 180, 0.25);
}

body.dark-mode .feature-title {
  color: #e6f1f5;
}

body.dark-mode .feature-description {
  color: #9fb9c2;
}

/* Scroller Navigation */
.features-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 160, 180, 0.2);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.features-scroll-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(42, 160, 180, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.features-scroll-btn.prev {
  left: 1rem;
}

.features-scroll-btn.next {
  right: 1rem;
}

body.dark-mode .features-scroll-btn {
  background: rgba(26, 34, 44, 0.9);
  border-color: rgba(42, 160, 180, 0.25);
  color: #e6f1f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .features-scroll-btn:hover {
  background: rgba(26, 34, 44, 1);
  border-color: rgba(42, 160, 180, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Progress Bar */
.features-progress {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(42, 160, 180, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.features-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

body.dark-mode .features-progress {
  background: rgba(42, 160, 180, 0.2);
}

/* Responsive Features */
@media (max-width: 768px) {
  .features-scroll-btn {
    width: 40px;
    height: 40px;
  }

  .features-scroll-btn.prev {
    left: 0.5rem;
  }

  .features-scroll-btn.next {
    right: 0.5rem;
  }

  .feature-card {
    min-width: 280px;
    padding: 1.5rem;
  }

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

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .how-it-works {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

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

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

body.dark-mode .step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

body.dark-mode .step-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
    position: relative;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--secondary-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .step-title {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 24px;
}

body.dark-mode .step-description {
    color: #cbd5e1;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

/* App Showcase Section */
.app-showcase {
    padding: 120px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

body.dark-mode .app-showcase {
    background: #0f1419;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.app-showcase .container {
    position: relative;
    z-index: 2;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.showcase-content {
    padding-right: 40px;
}

.showcase-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-text);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .showcase-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 32px;
}

body.dark-mode .showcase-subtitle {
    color: #cbd5e1;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

body.dark-mode .feature-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px var(--shadow);
}

body.dark-mode .feature-list li:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-list li i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-list li span {
    color: var(--primary-text);
    font-weight: 500;
}

body.dark-mode .feature-list li span {
    color: #ffffff;
}

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

.showcase-mockup {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9/19;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 8px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px var(--shadow);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .showcase-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.showcase-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.05);
}

.showcase-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.showcase-content-overlay {
    position: absolute;
    inset: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.dark-mode .showcase-content-overlay {
    background: rgba(15, 20, 25, 0.95);
}

.showcase-app-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.showcase-app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 8px;
}

body.dark-mode .showcase-app-title {
    color: #ffffff;
}

.showcase-app-subtitle {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.4;
}

body.dark-mode .showcase-app-subtitle {
    color: #cbd5e1;
}

/* Responsive Design for How It Works and App Showcase */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .showcase-content {
        padding-right: 0;
    }

    .showcase-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .how-it-works,
    .app-showcase {
        padding: 80px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }

    .step-card {
        padding: 30px 24px;
    }

    .showcase-title {
        font-size: 36px;
    }

    .showcase-mockup {
        max-width: 300px;
        transform: none;
    }

    .showcase-mockup:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .showcase-mockup {
        max-width: 250px;
    }
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

body.dark-mode .faq {
    background: #1a1f2e;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.faq-item {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

body.dark-mode .faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-dark);
}

body.dark-mode .faq-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.faq-question {
    padding: 24px 32px;
    background: var(--surface);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

body.dark-mode .faq-question {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.faq-question:hover {
    background: var(--primary);
    color: white;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-question:hover i {
    color: white;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--background);
}

body.dark-mode .faq-answer {
    background: rgba(15, 20, 25, 0.8);
}

.faq-answer.active {
    padding: 24px 32px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin: 0;
}

body.dark-mode .faq-answer p {
    color: #cbd5e1;
}

/* Business/Developer Section */
.business-developer {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .business-developer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
}

.business-developer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.business-developer .container {
    position: relative;
    z-index: 2;
}

.tabs-container {
    margin-top: 80px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    background: var(--surface);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

body.dark-mode .tabs-nav {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    padding: 16px 32px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

body.dark-mode .tab-btn {
    color: #cbd5e1;
}

.tab-btn:hover {
    color: var(--primary-text);
}

body.dark-mode .tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.tab-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.dark-mode .tab-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-card:hover::before {
    transform: scaleX(1);
}

.tab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

body.dark-mode .tab-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tab-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.tab-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 16px;
}

body.dark-mode .tab-card-title {
    color: #ffffff;
}

.tab-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 24px;
}

body.dark-mode .tab-card-description {
    color: #cbd5e1;
}

.tab-card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tab-card-link:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

body.dark-mode .about {
    background: #0f1419;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}


.about-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-text);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .about-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 32px;
}

body.dark-mode .about-subtitle {
    color: #cbd5e1;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary-text);
    margin-bottom: 32px;
}

body.dark-mode .about-text {
    color: #cbd5e1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

body.dark-mode .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--secondary-text);
    font-weight: 500;
}

body.dark-mode .stat-label {
    color: #cbd5e1;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px var(--shadow);
    position: relative;
    overflow: hidden;
}

body.dark-mode .about-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

body.dark-mode .footer {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    border-top-color: var(--border);
}

/* Creative Footer Background Elements */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-glow) 20%,
    var(--neon-purple) 40%,
    var(--cosmic-pink) 60%,
    var(--sunset-orange) 80%,
    transparent 100%);
  opacity: 0.4;
}

.footer-content {
  position: relative;
  z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Brand Section - Enhanced */
.footer-brand {
  position: relative;
}

.footer-brand::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(30px);
  animation: footerBrandGlow 6s ease-in-out infinite;
}

@keyframes footerBrandGlow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 0.2;
  }
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
    display: flex;
    align-items: center;
    justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.footer-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s ease;
}

.footer-logo:hover::before {
  left: 100%;
}

.footer-logo:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow:
    0 12px 35px rgba(0, 212, 255, 0.4),
    0 0 0 3px rgba(0, 212, 255, 0.3);
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  z-index: 2;
  position: relative;
}

.footer-brand h3 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
}

.footer-brand h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  border-radius: 2px;
}

.footer-brand p {
    color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Social Links - Creative Design */
.footer-social {
    display: flex;
  gap: 1rem;
  position: relative;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  color: var(--primary-text);
    text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.social-link:hover {
    color: white;
  transform: translateY(-5px) scale(1.1);
  border-color: transparent;
  box-shadow:
    0 10px 30px rgba(0, 212, 255, 0.4),
    0 0 0 2px rgba(0, 212, 255, 0.3);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover::after {
        width: 100%;
  height: 100%;
  border-radius: 16px;
}

.social-link i {
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Footer Links Sections */
.footer-links h4 {
  font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-links:hover h4::after {
  width: 60px;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-glow), var(--neon-purple));
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
  transform: translateX(8px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* Contact Section - Enhanced */
.footer-contact .contact-item {
  display: flex;
        align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
        width: 100%;
    height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  display: flex;
  align-items: center;
        justify-content: center;
    color: white;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  flex: 1;
}

.contact-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 0.25rem;
}

.contact-info p {
  font-size: 0.875rem;
    color: var(--secondary-text);
    margin: 0;
}

/* Newsletter Section - Creative Design */
.footer-newsletter {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
  margin-top: 2rem;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.footer-newsletter h3 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.footer-newsletter p {
  color: var(--secondary-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-text);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-glow);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.newsletter-input::placeholder {
  color: var(--secondary-text);
  opacity: 0.7;
}

.newsletter-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-glow));
  border: none;
  border-radius: 16px;
    color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 30px rgba(42, 160, 180, 0.4),
    0 0 0 3px rgba(0, 212, 255, 0.3);
}

/* Footer Bottom - Creative Design */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
        text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-glow) 25%,
    var(--neon-purple) 50%,
    var(--cosmic-pink) 75%,
    transparent 100%);
  opacity: 0.6;
}

.footer-bottom p {
  color: var(--secondary-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-bottom-links {
  display: flex;
        justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.footer-bottom-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.footer-bottom-links a:hover::before {
    left: 100%;
}

.footer-bottom-links a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand::before {
    left: 50%;
    transform: translateX(-50%);
  }
}


@media (max-width: 480px) {
    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .footer-bottom-links a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
  .footer-content {
        grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-bottom-links {
    flex-direction: row; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem; /* tighter spacing for mobile */
  }

  /* New: tighten spacing and scale elements for mobile */
  .footer { padding: 2.75rem 0 1.25rem; }
  .footer-brand { text-align: center; }
  .footer-brand p { font-size: 1rem; margin-bottom: 1.25rem; }
  .footer-logo { width: 56px; height: 56px; }
  .footer-social { gap: 0.75rem; }
  .social-link { width: 44px; height: 44px; border-radius: 14px; }
  .footer-links li { margin-bottom: 0.75rem; }
  .footer-contact .contact-item { padding: 0.75rem; gap: 0.75rem; }
  .contact-icon { width: 36px; height: 36px; font-size: 1rem; }
  .footer-newsletter { padding: 2rem; }
  .newsletter-form { gap: 0.75rem; }
  .newsletter-input { padding: 0.875rem 1.25rem; border-radius: 12px; }
  .newsletter-btn { padding: 0.875rem 1.25rem; border-radius: 12px; }
  .footer-bottom { padding-top: 1.5rem; }
}

/* Extra-small screens */
@media (max-width: 480px) {
  .footer { padding: 2.25rem 0 1rem; }
  .footer-brand h3 { font-size: 1.5rem; }
  .footer-brand p { font-size: 0.95rem; }
  .social-link { width: 40px; height: 40px; border-radius: 12px; }
  .contact-info h5 { font-size: 0.85rem; }
  .contact-info p { font-size: 0.8rem; }
  .newsletter-input, .newsletter-btn { max-width: 100%; }
  .footer-bottom p { font-size: 0.85rem; }
  .footer-bottom-links a { font-size: 0.8rem; padding: 0.5rem; }
}

/* Footer Animation on Scroll */
@keyframes footerSlideUp {
    from {
    transform: translateY(50px);
        opacity: 0;
    }
    to {
    transform: translateY(0);
        opacity: 1;
  }
}

.footer {
  animation: footerSlideUp 0.8s ease-out;
}

/* RTL Support for Arabic Language */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .header-controls {
    flex-direction: row-reverse;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .hero-buttons {
    flex-direction: row-reverse;
}

body.rtl .hero-stats {
    flex-direction: row-reverse;
}

body.rtl .about-grid {
    grid-template-columns: 1fr 1fr;
}

body.rtl .about-features li {
    flex-direction: row-reverse;
}

body.rtl .about-features .feature-icon {
    margin-left: 0;
    margin-right: 1rem;
}

body.rtl .services-grid {
    direction: rtl;
}

body.rtl .cta-buttons {
    flex-direction: row-reverse;
}

body.rtl .footer-content {
    direction: rtl;
}

body.rtl .footer-brand {
    text-align: right;
}

body.rtl .footer-links {
    text-align: right;
}

body.rtl .footer-contact {
    text-align: right;
}

body.rtl .footer-newsletter {
    text-align: right;
}

body.rtl .footer-bottom-links {
    flex-direction: row-reverse;
}

/* RTL Responsive adjustments */
@media (max-width: 768px) {
    body.rtl .nav-links {
        flex-direction: column;
        text-align: right;
    }

    body.rtl .hero-buttons {
        flex-direction: column;
    }

    body.rtl .cta-buttons {
        flex-direction: column;
    }

    body.rtl .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 550px;
    }

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

@media (max-width: 992px) {
    .hero-content {
        max-width: 500px;
    }

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

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

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-stats {
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

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

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

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Exchange Currency Interface Styles */
.exchange-interface {
    background: var(--background);
    color: var(--text-primary);
    padding: 0;
}

.exchange-interface .app-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.exchange-interface .app-content {
    padding: 20px;
    background: var(--surface);
}

/* Section Titles */
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: block;
}

/* Exchange Rates Section */
.exchange-rates-section {
    margin-bottom: 25px;
}

.rates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rate-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}

.rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.currency-code {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.currency-symbol {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.rate-values {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.rate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rate-item span:first-child {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

.rate-item.buy .value {
    color: var(--success);
    font-weight: 600;
    font-size: 16px;
}

.rate-item.sell .value {
    color: var(--danger);
    font-weight: 600;
    font-size: 16px;
}

/* Accounts Section */
.accounts-section {
    margin-bottom: 25px;
}

.accounts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.account-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px var(--shadow);
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-balance {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.account-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.account-iban {
    font-size: 11px;
    opacity: 0.6;
    color: var(--text-secondary);
}

.account-icon {
    width: 3rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
}

.account-icon i {
    font-size: 18px;
}

/* Create Account Section */
.create-account-section {
    margin-bottom: 25px;
}

.create-account-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.create-account-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.create-account-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.create-account-btn.active {
    background: var(--success);
}

.create-account-btn i {
    font-size: 10px;
}

/* Currency Transfer Section */
.currency-transfer-section {
    margin-bottom: 20px;
}

.transfer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.currency-selector-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.currency-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.currency-selector label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.selector-dropdown {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector-dropdown:hover {
    border-color: var(--primary);
}

.selector-dropdown span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.currency-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 600;
}

.currency-icon i {
    font-size: 12px;
}

.amount-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amount-input label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-field {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-field .currency-symbol {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.input-field input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.input-field input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.current-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.current-rate span:first-child {
    font-size: 12px;
    color: var(--text-secondary);
}

.rate-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.transfer-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.transfer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Dark Mode Styles */
body.dark-mode .exchange-interface {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

body.dark-mode .exchange-interface .app-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-mode .app-content {
    background: #2c3e50;
}

body.dark-mode .rate-card,
body.dark-mode .account-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .selector-dropdown,
body.dark-mode .input-field,
body.dark-mode .current-rate {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .section-title {
    color: white;
}

body.dark-mode .currency-code,
body.dark-mode .currency-symbol {
    color: var(--accent-glow);
}

body.dark-mode .account-balance,
body.dark-mode .account-name {
    color: white;
}

body.dark-mode .account-iban {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .selector-dropdown span {
    color: white;
}

body.dark-mode .currency-selector label,
body.dark-mode .amount-input label {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .input-field input {
    color: white;
}

body.dark-mode .input-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .current-rate span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .rate-value {
    color: var(--accent-glow);
}

/* RTL Support for Exchange Interface */
body.rtl .rate-values {
    flex-direction: row-reverse;
}

body.rtl .account-card {
    flex-direction: row-reverse;
}

body.rtl .currency-selector-group {
    direction: rtl;
}

body.rtl .selector-dropdown {
    flex-direction: row-reverse;
}

body.rtl .input-field {
    flex-direction: row-reverse;
}

body.rtl .current-rate {
    flex-direction: row-reverse;
}
/* RTL Support for Header */
body.rtl .nav-brand {
    flex-direction: row-reverse;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .header-controls {
    flex-direction: row-reverse;
}

body.rtl .nav-brand::before {
    left: auto;
    right: -20px;
}

body.rtl .nav-brand h1::after {
    left: auto;
    right: 0;
}

body.rtl .nav-link::before {
    left: auto;
    right: 0;
}

body.rtl .nav-link::after {
    left: auto;
    right: 0;
}

@media (max-width: 768px) {
    body.rtl .nav-links {
        flex-direction: column;
    }

    body.rtl .header-controls {
        flex-direction: row-reverse;
    }
}

/* Footer RTL Support for ::after elements */
body.rtl .footer-brand::before {
  left: auto;
  right: -20px;
}

body.rtl .footer-logo::before {
  left: 100%;
  right: -100%;
}

body.rtl .footer-logo:hover::before {
  left: -100%;
  right: 100%;
}

body.rtl .footer-brand h3::after {
  left: auto;
  right: 0;
}

body.rtl .social-link::before {
  left: auto;
  right: 0;
}

body.rtl .social-link::after {
  left: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
}

body.rtl .social-link:hover::after {
  left: 50%;
  right: 50%;
}

body.rtl .footer-links h4::after {
  left: auto;
  right: 0;
}

body.rtl .footer-links a::before {
  left: 100%;
  right: -100%;
}

body.rtl .footer-links a:hover::before {
  left: -100%;
  right: 100%;
}

body.rtl .contact-item::before {
  left: 100%;
  right: -100%;
}

body.rtl .contact-item:hover::before {
  left: -100%;
  right: 100%;
}

body.rtl .newsletter-btn::before {
  left: 100%;
  right: -100%;
}

body.rtl .newsletter-btn:hover::before {
  left: -100%;
  right: 100%;
}

body.rtl .footer-bottom-links a::before {
  left: 100%;
  right: -100%;
}

body.rtl .footer-bottom-links a:hover::before {
  left: -100%;
  right: 100%;
}


.vault-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
  }

  .vault {
    position: relative;
    width: 220px;
    height: 220px;
    animation: spin 15s linear infinite;
  }

  .vault .core {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00e5ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #00e5ff;
  }

  .vault span:not(.core) {
    --radius: 100px; /* Default outer radius */
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00e5ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    animation: pulse 2s ease-in-out infinite;
    animation-delay: calc(var(--angle) / 360 * 2s);
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))); }
    50% { transform: scale(1.4) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))); }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .vault {
      width: 160px;
      height: 160px;
    }
  }

  /* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

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

  .phone-mockup {
    right: 5%;
    width: 280px;
    height: 560px;
  }

  .left-mockup {
    left: 5%;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

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

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

  .phone-mockup {
    right: 2%;
    width: 260px;
    height: 520px;
  }

  .left-mockup {
    left: 2%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-content::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase-content {
    order: 1;
    text-align: center;
  }

  .showcase-visual {
    order: 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Header Mobile Improvements */
  .header {
    padding: 1rem 0;
  }

  .nav-brand h1 {
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0; /* start from very top */
    left: 0;
    right: 0;
    height: 100vh; /* cover screen */
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%); /* hidden above */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* ensure on top */
  }

  body.dark-mode .nav-links {
    background: rgba(26, 34, 44, 0.95);
  }

  .nav-links.active {
    transform: translateY(0); /* slide in */
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(42, 160, 180, 0.1);
  }

  body.dark-mode .nav-link {
    border-bottom-color: rgba(42, 160, 180, 0.2);
  }

  .nav-toggle { display: flex; }
  .header-controls { gap: 1rem; }

  /* Hero Mobile Improvements */
  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

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

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

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 1rem 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* Phone Mockup Mobile Improvements */
  .phone-mockup {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin: 2rem auto;
    width: 240px;
    height: 480px;
  }

  .left-mockup,
  .right-mockup {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 1rem auto;
  }

  .phone-frame {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  }

  .phone-frame:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02);
  }

  /* Section Mobile Improvements */
  .about,
  .services,
  .cta,
  .features,
  .how-it-works,
  .app-showcase,
  .faq,
  .business-developer {
    padding: 4rem 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Features Mobile Improvements */
  .features-scroll-btn {
    display: none;
  }

  .features-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .feature-card {
    min-width: 280px;
    scroll-snap-align: start;
  }

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

  /* How It Works Mobile Improvements */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-card {
    padding: 2rem 1.5rem;
  }

  .step-number {
    font-size: 2.5rem;
  }

  /* App Showcase Mobile Improvements */
  .showcase-title {
    font-size: 2.2rem;
  }

  .showcase-mockup {
    width: 280px;
    height: 560px;
  }

  .showcase-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
  }

  /* Activity Ticker Mobile Improvements */
  .activity-ticker {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .activity-ticker ul {
    gap: 1.5rem;
  }

  /* Footer Mobile Improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    order: 1;
  }

  .footer-links {
    order: 2;
  }

  .footer-social {
    order: 3;
    justify-content: center;
  }

  .footer-contact {
    order: 4;
  }

  .footer-newsletter {
    order: 5;
  }

  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-link {
    width: 50px;
    height: 50px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Exchange Interface Mobile Improvements */
  .exchange-interface .app-content {
    padding: 0.75rem;
  }

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

  .rates-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .accounts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .currency-selector-group {
    flex-direction: column;
    gap: 1rem;
  }

  .create-account-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .create-account-btn {
    width: 100%;
    justify-content: center;
  }

  /* RTL Mobile Improvements */
  body.rtl .nav-links {
    flex-direction: column;
  }

  body.rtl .header-controls {
    flex-direction: row-reverse;
  }

  body.rtl .hero-buttons {
    flex-direction: column;
  }

  body.rtl .cta-buttons {
    flex-direction: column;
  }

  body.rtl .about-grid {
    grid-template-columns: 1fr;
  }

  body.rtl .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  /* Typography Mobile Improvements */
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

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

  .about-title,
  .services-title,
  .cta-title,
  .section-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .about-subtitle,
  .services-subtitle,
  .cta-subtitle {
    font-size: 1rem;
  }

  /* Card Mobile Improvements */
  .stat-card,
  .service-card,
  .feature-card,
  .step-card,
  .tab-card {
    padding: 1.5rem 1rem;
  }

  /* Phone Mockup Mobile Improvements */
  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .left-mockup,
  .right-mockup {
    width: 220px;
    height: 440px;
  }

  /* Button Mobile Improvements */
  .hero-btn,
  .cta-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Stats Mobile Improvements */
  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* Footer Mobile Improvements */
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  /* Exchange Interface Mobile Improvements */
  .exchange-interface .app-content {
    padding: 0.5rem;
  }

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

  .rate-card,
  .account-card {
    padding: 1rem 0.75rem;
  }

  .currency-selector label {
    font-size: 0.85rem;
  }

  .selector-dropdown {
    padding: 0.75rem;
  }

  .input-field input {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .transfer-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Vault Visual Mobile Improvements */
  .vault {
    width: 160px;
    height: 160px;
  }

  .vault .core {
    width: 16px;
    height: 16px;
  }

  .vault span:not(.core) {
    width: 8px;
    height: 8px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .phone-frame:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  }

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

  .service-card:hover {
    transform: translateY(0);
  }

  .step-card:hover {
    transform: translateY(0);
  }

  .tab-card:hover {
    transform: translateY(0);
  }

  .social-link:hover {
    transform: translateY(0);
  }

  .footer-logo:hover {
    transform: scale(1);
  }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 4rem 0 2rem;
    min-height: auto;
  }

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

  .phone-mockup {
    width: 200px;
    height: 400px;
    margin: 1rem auto;
  }

  .left-mockup,
  .right-mockup {
    width: 200px;
    height: 400px;
    margin: 0.5rem auto;
  }

  .about,
  .services,
  .cta,
  .features,
  .how-it-works,
  .app-showcase,
  .faq,
  .business-developer {
    padding: 3rem 0;
  }
}

/* High DPI Mobile Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .phone-frame {
    border-width: 0.5px;
  }

  .feature-icon {
    border-width: 0.5px;
  }

  .service-icon {
    border-width: 0.5px;
  }

  .step-icon {
    border-width: 0.5px;
  }

  .tab-card-icon {
    border-width: 0.5px;
  }
}

/* Mobile Touch Optimizations */
@media (max-width: 768px) {
  /* Touch-friendly button sizes */
  .nav-toggle span {
    min-height: 3px;
    min-width: 19px;
  }

  /* Prevent text selection on interactive elements */
  .nav-link,
  .hero-btn,
  .cta-btn,
  .action-btn,
  .create-account-btn,
  .transfer-btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* Touch-friendly input fields */
  input,
  textarea,
  select {
    font-size: 16px !important; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    border-radius: 8px;
  }

  /* Touch-friendly dropdowns */
  .selector-dropdown {
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
  }

  /* Touch-friendly scrollbars */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(42, 160, 180, 0.5);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(42, 160, 180, 0.7);
  }

  /* Mobile-specific animations */
  .feature-card,
  .service-card,
  .step-card,
  .tab-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .feature-card:active,
  .service-card:active,
  .step-card:active,
  .tab-card:active {
    transform: scale(0.98);
  }

  /* Mobile menu backdrop */
  .nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-links.active::before {
    opacity: 1;
  }

  /* Mobile phone mockup touch interactions */
  .phone-frame {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .phone-frame:active {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(0.98);
  }

  /* Mobile form improvements */
  .newsletter-form {
    gap: 1rem;
  }

  .newsletter-input {
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  .newsletter-input:focus {
    border-color: var(--accent-glow);
    outline: none;
  }

  /* Mobile button states */
  .hero-btn:active,
  .cta-btn:active,
  .action-btn:active,
  .create-account-btn:active,
  .transfer-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }

  /* Mobile social links */
  .social-link {
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .social-link:active {
    transform: scale(0.9);
  }

  /* Mobile footer improvements */
  .footer-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
  }

  .footer-links a:active {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
  }

  /* Mobile exchange interface touch improvements */
  .rate-card,
  .account-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .rate-card:active,
  .account-card:active {
    transform: scale(0.98);
  }

  .selector-dropdown:active {
    background-color: rgba(42, 160, 180, 0.1);
  }

  .input-field input:focus {
    border-color: var(--accent-glow);
    box-shadow: 0 0 0 3px rgba(42, 160, 180, 0.1);
  }

  .transfer-btn:active {
    transform: scale(0.95);
  }
}

/* Viewport Height Fix for Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .nav-links {
    max-height: calc(var(--vh, 1vh) * 100 - 100px);
    overflow-y: auto;
  }
}

/* Mobile Landscape Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .nav-links {
    max-height: 80vh;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
  }

  .left-mockup,
  .right-mockup {
    width: 180px;
    height: 360px;
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce complex shadows on mobile */
  .feature-card,
  .service-card,
  .step-card,
  .tab-card,
  .rate-card,
  .account-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /* Simplify gradients on mobile */
  .hero-title::after {
    background: linear-gradient(90deg, var(--accent-glow), var(--neon-purple));
  }

  /* Reduce backdrop-filter usage on mobile */
  .header::before,
  .nav-links {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Optimize animations for mobile */
  .feature-card:hover,
  .service-card:hover,
  .step-card:hover,
  .tab-card:hover {
    transform: none;
  }

  .phone-frame:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {
  /* Ensure sufficient touch targets */
  .nav-link,
  .hero-btn,
  .cta-btn,
  .create-account-btn,
  .transfer-btn,
  .social-link {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve focus indicators */
  .nav-link:focus,
  .hero-btn:focus,
  .cta-btn:focus,
  .action-btn:focus,
  .create-account-btn:focus,
  .transfer-btn:focus {
    outline: 2px solid var(--accent-glow);
    outline-offset: 2px;
  }

  /* Better contrast for mobile */
  .about-subtitle,
  .services-subtitle,
  .cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
  }

  body.dark-mode .hero-subtitle,
  body.dark-mode .about-subtitle,
  body.dark-mode .services-subtitle,
  body.dark-mode .cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Mobile RTL Specific Optimizations */
@media (max-width: 768px) {
  body.rtl .nav-links {
    right: 0;
    left: auto;
  }

  body.rtl .nav-links::before {
    right: 0;
    left: auto;
  }

  body.rtl .phone-mockup {
    margin: 2rem auto;
  }

  body.rtl .left-mockup,
  body.rtl .right-mockup {
    margin: 1rem auto;
  }

  body.rtl .hero-buttons {
    align-items: center;
  }

  body.rtl .cta-buttons {
    align-items: center;
  }

  body.rtl .footer-content {
    text-align: center;
  }

  body.rtl .social-link {
    margin: 0 0.5rem;
  }
}

/* Mobile Menu State Management */
body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .nav-links {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.mobile-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.mobile-menu-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu-container {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

body.dark-mode .mobile-menu-container {
  background: rgba(26, 34, 44, 0.98);
}

body.mobile-menu-open .mobile-menu-container {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Items */
.mobile-menu-container .nav-links {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 2rem;
  transform: none;
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container .nav-link {
  font-size: 1.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(42, 160, 180, 0.1);
  text-align: center;
  transition: all 0.2s ease;
}

body.dark-mode .mobile-menu-container .nav-link {
  border-bottom-color: rgba(42, 160, 180, 0.2);
}

.mobile-menu-container .nav-link:hover,
.mobile-menu-container .nav-link:active {
  background: rgba(42, 160, 180, 0.1);
  padding-left: 1rem;
  padding-right: 1rem;
}

body.dark-mode .mobile-menu-container .nav-link:hover,
body.dark-mode .mobile-menu-container .nav-link:active {
  background: rgba(42, 160, 180, 0.2);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(42, 160, 180, 0.1);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
  background: rgba(42, 160, 180, 0.2);
  transform: scale(1.1);
}

body.dark-mode .mobile-menu-close {
  background: rgba(42, 160, 180, 0.2);
  color: var(--accent-glow);
}

body.dark-mode .mobile-menu-close:hover,
body.dark-mode .mobile-menu-close:active {
  background: rgba(42, 160, 180, 0.3);
}

/* Mobile Menu RTL Support */
body.rtl .mobile-menu-close {
  right: auto;
  left: 1rem;
}

body.rtl .mobile-menu-container .nav-link:hover,
body.rtl .mobile-menu-container .nav-link:active {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mobile Menu Animation */
@keyframes mobileMenuSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mobileMenuSlideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.mobile-menu-container.slide-in {
  animation: mobileMenuSlideIn 0.3s ease forwards;
}

.mobile-menu-container.slide-out {
  animation: mobileMenuSlideOut 0.3s ease forwards;
}

/* Mobile Menu Responsive Adjustments */
@media (max-width: 480px) {
  .mobile-menu-container {
    padding: 1rem;
  }

  .mobile-menu-container .nav-links {
    padding: 1.5rem 1rem;
  }

  .mobile-menu-container .nav-link {
    font-size: 1.2rem;
    padding: 0.875rem 0;
  }

  .mobile-menu-close {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* Mobile Menu Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-menu-container {
    max-height: 80vh;
  }

  .mobile-menu-container .nav-links {
    padding: 1rem;
  }

  .mobile-menu-container .nav-link {
    padding: 0.75rem 0;
  }
}

/* Enhanced Mobile Responsiveness for Hero and Header */
@media (max-width: 768px) {
  /* Header Mobile Enhancements */
  .header {
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .header::before {
    opacity: 0.8;
  }
  
  .nav {
    padding: 0 1rem;
  }
  
  .nav-brand h1 {
    font-size: 1.5rem;
    margin-left: 0.5rem;
  }
  
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  
  .brand-logo img {
    width: 24px;
    height: 24px;
  }
  
  /* Enhanced Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0; /* start from very top */
    left: 0;
    right: 0;
    height: 100vh; /* cover screen */
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%); /* hidden above */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* ensure on top */
  }
  
  body.dark-mode .nav-links {
    background: rgba(26, 34, 44, 0.95);
  }
  
  .nav-links.active {
    transform: translateY(0); /* slide in */
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(42, 160, 180, 0.1);
    transition: all 0.2s ease;
  }
  
  body.dark-mode .nav-link {
    border-bottom-color: rgba(42, 160, 180, 0.2);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover,
  .nav-link:active {
    background: rgba(42, 160, 180, 0.1);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 10px;
  }
  
  body.dark-mode .nav-link:hover,
  body.dark-mode .nav-link:active {
    background: rgba(42, 160, 180, 0.2);
  }
  
  /* Enhanced Mobile Toggle */
  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(42, 160, 180, 0.1);
    border: 1px solid rgba(42, 160, 180, 0.2);
    transition: all 0.3s ease;
  }
  
  body.dark-mode .nav-toggle {
    background: rgba(42, 160, 180, 0.2);
    border-color: rgba(42, 160, 180, 0.3);
  }
  
  .nav-toggle:hover,
  .nav-toggle:active {
    background: rgba(42, 160, 180, 0.2);
    transform: scale(1.05);
  }
  
  body.dark-mode .nav-toggle:hover,
  body.dark-mode .nav-toggle:active {
    background: rgba(42, 160, 180, 0.3);
  }
  
  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: all 0.3s ease;
  }
  
  body.dark-mode .nav-toggle span {
    background: var(--accent-glow);
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Header Controls Mobile */
  .header-controls {
    gap: 0.75rem;
  }
  
  .theme-toggle,
  .language-toggle {
    gap: 0.5rem;
  }
  
  .theme-btn,
  .lang-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  
  /* Hero Mobile Enhancements */
  .hero {
    padding: 8rem 0 4rem;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    text-align: center;
  }
  
  .hero::before {
    opacity: 0.6;
  }
  
  .hero-content {
    padding: 0 1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-title::after {
    width: 80px;
    height: 3px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  /* Enhanced Mobile Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 15px;
    min-height: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .hero-btn.primary {
    order: 1;
  }
  
  .hero-btn.secondary {
    order: 2;
  }
  
  /* Enhanced Mobile Stats */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stat-item {
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    width: 100%;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
    display: block;
  }
  
  /* Phone Mockup Mobile Enhancements */
  .phone-mockup {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .left-mockup,
  .right-mockup {
    position: relative;
    transform: none;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .phone-frame {
    width: 100%;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
    transform: none;
    transition: transform 0.3s ease;
  }
  
  .phone-frame:hover {
    transform: scale(1.02);
  }
  
  .phone-frame:active {
    transform: scale(0.98);
  }
  
  /* Exchange Interface Mobile */
  .exchange-interface .app-content {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .rates-grid,
  .accounts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .currency-selector-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .create-account-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .create-account-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
  
  .transfer-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    min-height: 48px;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .header {
    padding: 0.5rem 0;
  }
  
  .nav {
    padding: 0 0.75rem;
  }
  
  .nav-brand h1 {
    font-size: 1.3rem;
  }
  
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  
  .brand-logo img {
    width: 20px;
    height: 20px;
  }
  
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  
  .nav-toggle span {
    width: 18px;
  }
  
  .theme-btn,
  .lang-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .hero {
    padding: 7rem 0 3rem;
    min-height: calc(100vh - 70px);
    margin-top: -10px;
  }
  
  .hero-content {
    padding: 0 0.75rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-title::after {
    width: 60px;
    height: 2px;
    bottom: -6px;
  }
  
  .hero-subtitle {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
    line-height: 1.5;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 280px;
  }
  
  .hero-btn {
    max-width: 260px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
    max-width: 320px;
  }
  
  .stat-item {
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
  }
  
  .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .phone-mockup {
    max-width: 260px;
    margin: 1.5rem auto 0;
  }
  
  .phone-frame {
    max-width: 240px;
  }
  
  /* Exchange Interface Mobile */
  .exchange-interface .app-content {
    padding: 0.75rem;
  }
  
  .section-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .rates-grid,
  .accounts-grid {
    gap: 0.75rem;
  }
  
  .currency-selector-group {
    gap: 0.75rem;
  }
  
  .create-account-buttons {
    gap: 0.5rem;
  }
  
  .create-account-btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.85rem;
  }
  
  .transfer-btn {
    padding: 0.875rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* Ultra Small Mobile Devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-buttons {
    max-width: 260px;
  }
  
  .hero-btn {
    max-width: 240px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    min-height: 40px;
  }
  
  .hero-stats {
    max-width: 280px;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 1rem 0.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .phone-mockup {
    max-width: 240px;
  }
  
  .phone-frame {
    max-width: 220px;
  }
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
  .hero-btn:active {
    transform: scale(0.98);
  }
  
  .phone-frame:active {
    transform: scale(0.96);
  }
  
  .stat-item:active {
    transform: scale(0.98);
  }
  
  .nav-toggle:active {
    transform: scale(0.95);
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  .hero::before,
  .hero::after {
    animation: none;
  }
  
  .hero-title::after {
    animation: heroTitleGlow 4s ease-in-out infinite alternate;
  }
  
  .phone-frame {
    will-change: transform;
  }
  
  .stat-item {
    will-change: transform;
  }
}

@media (max-width: 768px) {
  /* Stack hero content and mockups vertically */
  .hero {
    flex-direction: column;
  }

  .hero .phone-mockup {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin: 1.5rem auto 0;
  }
}

/* Clean up any earlier-overridden mobile-only tweaks */
@media (max-width: 480px) {
  .hero .phone-mockup {
    width: auto;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: start;
    gap: 1px;
  }

  .hero-content {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero .phone-mockup {
    position: relative;
    top: 30%;
    right: auto;
    left: auto;
    transform: none;
    width: 289px;
    height: 480px;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .hero .phone-mockup {
    width: 220px;
    height: 300px;
  }
  .balance-amount {
    font-size: 1.2rem;
  }
  .account-balance {
    font-size: 1.2rem;
  }
  .rate-value {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  /* Ensure mobile menu overlays everything and is clickable */
  .nav-links {
    z-index: 10000;
    pointer-events: none; /* disabled when hidden */
  }
  .nav-links.active {
    pointer-events: auto; /* clickable when shown */
  }
}

/* Keep header above page background effects */
.header { position: relative; z-index: 100; }

@media (max-width: 768px) {
  /* Force menu to overlay hero on mobile */
  .header, .nav { position: relative; z-index: 99999; overflow: visible; }
  .nav-links { z-index: 100000; }
  .nav-links.active { pointer-events: auto; }
  .hero, .hero::before, .hero::after { z-index: 1; }
}

/* Dev shell styles */
.shell {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(2,6,23,.08);
	overflow: hidden;
	margin-top: 10px;
}
.shell-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #f1f5f9;
	border-bottom: 1px solid #e5e7eb;
}
.shell-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #94a3b8;
}
.shell-dot.red { background: #ef4444; }
.shell-dot.yellow { background: #f59e0b; }
.shell-dot.green { background: #10b981; }
.shell-title {
	margin-left: auto;
	font-size: 12px;
	color: #64748b;
}
.shell-body {
	background: #0b1220;
	color: #cbd5e1;
	padding: 16px;
	border-top: 1px solid #e5e7eb;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.6;
	overflow: auto;
}
body.dark-mode .shell { background: #0f172a; border-color: #1f2937; box-shadow: none; }
body.dark-mode .shell-header { background: #0f172a; border-color: #1f2937; }
body.dark-mode .shell-title { color: #94a3b8; }
body.dark-mode .shell-body { background: #0b1220; color: #cbd5e1; border-color: #1f2937; }

/* Dev section header styles */
.dev-section-header { text-align: center; margin-bottom: 12px; }
.dev-section-header .section-title { display: inline-block; position: relative; padding-bottom: 6px; }
.dev-section-header .section-title::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 120px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #2aa0b4, #0ea5e9); opacity: .8; }
.dev-section-header .sub, .dev-section-header .services-subtitle { max-width: 820px; margin: 8px auto 0; }

/* Pricing enhancements */
.pricing { align-items: stretch; }
.pricing .plan { display: flex; flex-direction: column; justify-content: space-between; }
.pricing .plan h4 { font-weight: 800; }
.pricing .price { font-weight: 900; letter-spacing: .2px; }
.pricing .plan ul { margin: 8px 0 0; }
.pricing .plan ul li { position: relative; padding-left: 20px; margin: 6px 0; }
.pricing .plan ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
body.dark-mode .pricing .plan ul li::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }

/* Force RTL for shell content */
.shell-body { direction: ltr !important; text-align: left; unicode-bidi: isolate-override; }