/* QFS Crypto Wallet Stylesheet */
/* Refined color palette with consistent accent colors */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2332;
  --bg-card: #151d2c;
  --bg-card-hover: #1e2a3d;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #00d4aa;
  --accent-secondary: #0099ff;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #0099ff 100%);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);
  --header-height: 65px; /* Reduce header height variables for more compact header */
  --container-max: 1200px;
  --section-padding: 100px;
  --section-padding-mobile: 60px;
}

body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-light: rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.crypto-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-item .coin {
  font-weight: 600;
  color: var(--text-primary);
}

.ticker-item .price {
  color: var(--text-secondary);
}

.ticker-item .change {
  font-weight: 500;
  font-size: 12px;
}

.ticker-item .change.positive {
  color: #22c55e;
}

.ticker-item .change.negative {
  color: #ef4444;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding-top: 12px; /* Remove excessive padding-top from header to make it more compact */
  padding-bottom: 12px;
}

body.light-mode .header {
  background: rgba(248, 250, 252, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand .logo-img {
  height: 28px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.nav-link i {
  font-size: 0.85rem;
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

body.dark-mode .sun-icon {
  display: inline-block;
}
body.dark-mode .moon-icon {
  display: none;
}
body.light-mode .sun-icon {
  display: none;
}
body.light-mode .moon-icon {
  display: inline-block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-link:focus,
.hamburger:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.mobile-auth-buttons {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color-light);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-white {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #0d0d0d 100%);
  padding: 60px 0 60px; /* Adjust hero section top padding to sit correctly below the compact header */
  margin-top: var(--header-height);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(80, 80, 80, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 450px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.page-hero {
  padding: 60px 0 60px; /* Adjust page-hero top padding to align with the compact header */
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #0d0d0d 100%);
  text-align: center;
  margin-top: var(--header-height);
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features {
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* Adding Web3 section styles with background image and overlay */
/* Web3 Section */
.web3-section {
  position: relative;
  background-image: url("https://www.airyourvoice.com/wp-content/uploads/2022/03/web3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.web3-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 23, 0.92) 0%,
    rgba(17, 24, 39, 0.88) 50%,
    rgba(10, 14, 23, 0.92) 100%
  );
  z-index: 1;
}

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

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

.web3-grid .feature-card {
  background: rgba(21, 29, 44, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.web3-grid .feature-card:hover {
  background: rgba(30, 42, 61, 0.9);
  border-color: var(--accent-primary);
}

@media (max-width: 1024px) {
  .web3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .web3-grid {
    grid-template-columns: 1fr;
  }
}

.about-content {
  background: var(--bg-primary);
}

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

.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.about-qfs {
  background: var(--bg-primary);
}

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

.about-qfs-text .section-tag,
.about-qfs-text .section-title {
  text-align: left;
}

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

.qfs-features {
  margin-bottom: 32px;
}

.qfs-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-secondary);
}

.qfs-features li i {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.qfs-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.qfs-glow {
  position: absolute;
  inset: -2px;
  background: var(--accent-gradient);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

.qfs-card img {
  border-radius: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.how-it-works {
  background: var(--bg-secondary);
}
.mission-section {
  background: var(--bg-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: var(--accent-primary);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.steps {
  display: flex;
  gap: 40px;
}

.step {
  flex: 1;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--text-primary);
}

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

.step-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-primary);
}

.contact-content {
  background: var(--bg-primary);
}
.contact-simple {
  text-align: center;
}

.contact-message-box {
  margin-bottom: 60px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.contact-main-icon {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
  display: block;
}

.contact-message-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-simple-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-channels {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-primary);
}

.channel-item i {
  font-size: 1.2rem;
  color: var(--accent-primary);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: var(--accent-primary);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.security {
  background: var(--bg-primary);
}

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

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: var(--accent-primary);
}

.security-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.security-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.security-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-section {
  background: var(--bg-secondary);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item h3 i {
  color: var(--accent-primary);
  font-size: 1rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.team {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.team-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 16px 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

/* Adding all missing styles from team-social onwards including responsive media queries */

.team-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.team-social a:hover {
  background: var(--accent-primary);
  color: #000;
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Crypto Markets Section */
.crypto-markets {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.markets-widget-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

/* CTA Section */
.cta {
  background: var(--accent-gradient);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta .btn-primary {
  background: #000;
  color: #fff;
}

.cta .btn-primary:hover {
  background: #1a1a1a;
}

.cta .btn-outline {
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
}

.cta .btn-outline:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 24px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 16px 0;
  line-height: 1.6;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--accent-primary);
  color: #000;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

/* Scroll Animations */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ==================== */
/* RESPONSIVE - TABLET  */
/* ==================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
  }

  .nav-link i {
    display: block;
  }

  .nav-link.active::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
  }

  .mobile-auth-buttons .btn {
    width: 100%;
  }

  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-image img {
    max-height: 400px;
  }

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

  .about-grid,
  .about-qfs-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-qfs-text .section-tag,
  .about-qfs-text .section-title {
    text-align: center;
  }

  .about-qfs-desc {
    text-align: center;
  }

  .qfs-features {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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

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

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

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

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

/* ==================== */
/* RESPONSIVE - MOBILE  */
/* ==================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --header-height: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image img {
    max-height: 300px;
  }

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

  .feature-card {
    padding: 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .page-hero {
    padding: 40px 0;
  }
}

/* ======================== */
/* RESPONSIVE - SMALL MOBILE */
/* ======================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 14px 24px;
  }

  .feature-icon,
  .security-icon,
  .value-icon,
  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

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

  .ticker-item {
    font-size: 12px;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-fade {
    opacity: 1;
    transform: none;
  }
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
