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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

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

.loading-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  margin: 0 auto 24px;
}

.loading-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.loading-subtitle {
  color: #9ca3af;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

/* Morphing Background */
.morphing-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

.morph-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
}

.morph-blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  top: -200px;
  left: -200px;
  animation: morphFloat1 20s ease-in-out infinite;
}

.morph-blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6);
  bottom: -200px;
  right: -200px;
  animation: morphFloat2 25s ease-in-out infinite;
}

.morph-blob-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: morphFloat3 15s ease-in-out infinite;
}

@keyframes morphFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(100px, -50px) scale(1.2);
  }
  50% {
    transform: translate(-50px, 100px) scale(0.8);
  }
  75% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

@keyframes morphFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1.2);
  }
  25% {
    transform: translate(-100px, 50px) scale(1);
  }
  50% {
    transform: translate(50px, -100px) scale(1.3);
  }
  75% {
    transform: translate(-50px, -50px) scale(0.9);
  }
}

@keyframes morphFloat3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  33% {
    transform: translate(-50%, -50%) scale(1.5);
  }
  66% {
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Floating Particles */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  opacity: 0.3;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation: float 10s ease-in-out infinite;
}
.particle:nth-child(2) {
  left: 20%;
  top: 80%;
  animation: float 12s ease-in-out infinite 1s;
}
.particle:nth-child(3) {
  left: 60%;
  top: 30%;
  animation: float 8s ease-in-out infinite 2s;
}
.particle:nth-child(4) {
  left: 80%;
  top: 70%;
  animation: float 15s ease-in-out infinite 3s;
}
.particle:nth-child(5) {
  left: 30%;
  top: 60%;
  animation: float 11s ease-in-out infinite 4s;
}
.particle:nth-child(6) {
  left: 70%;
  top: 10%;
  animation: float 9s ease-in-out infinite 5s;
}
.particle:nth-child(7) {
  left: 90%;
  top: 40%;
  animation: float 13s ease-in-out infinite 6s;
}
.particle:nth-child(8) {
  left: 40%;
  top: 90%;
  animation: float 14s ease-in-out infinite 7s;
}
.particle:nth-child(9) {
  left: 50%;
  top: 50%;
  animation: float 16s ease-in-out infinite 8s;
}
.particle:nth-child(10) {
  left: 15%;
  top: 45%;
  animation: float 7s ease-in-out infinite 9s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50px) translateX(-30px);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-80px) translateX(20px);
    opacity: 0.4;
  }
}

/* Header */
.custom-navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.vault-logo .logo-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Logo image styling */
.vault-logo img {
  max-height: 40px;
  max-width: 150px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.vault-logo img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: #d1d5db !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
}

.btn-auth {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  color: #60a5fa;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(45deg, #3b82f6, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.btn-primary {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

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

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

.btn-outline-light {
  border: 2px solid #6b7280;
  color: #d1d5db;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Sections */
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  position: relative;
}

.feature-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.bg-gradient-blue {
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
}
.bg-gradient-green {
  background: linear-gradient(45deg, #10b981, #059669);
}
.bg-gradient-yellow {
  background: linear-gradient(45deg, #f59e0b, #d97706);
}
.bg-gradient-purple {
  background: linear-gradient(45deg, #8b5cf6, #7c3aed);
}
.bg-gradient-indigo {
  background: linear-gradient(45deg, #6366f1, #4f46e5);
}
.bg-gradient-red {
  background: linear-gradient(45deg, #ef4444, #dc2626);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-description {
  color: #9ca3af;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 0;
  background: rgba(17, 24, 39, 0.3);
}

.step-card {
  position: relative;
  padding: 2rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 2;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
  z-index: 3;
}

.step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
}

.step-description {
  color: #9ca3af;
  max-width: 300px;
  margin: 0 auto;
}

/* Plans Section */
.plans-section {
  padding: 6rem 0;
}

.plan-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-popular {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.05);
}

.plan-premium {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.05);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-badge-premium {
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-description {
  color: #9ca3af;
  font-size: 0.875rem;
}

.plan-stats {
  margin-bottom: 2rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-value {
  font-weight: 600;
  color: #fff;
}

.plan-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.plan-btn {
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient-purple {
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  border: none;
  color: white;
}

.btn-gradient-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
  color: white;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: rgba(17, 24, 39, 0.3);
}

.accordion-item {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: #fff;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  color: #d1d5db;
  padding: 1.5rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 1rem;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Footer */
.footer {
  background: rgba(17, 24, 39, 0.8);
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.footer-description {
  color: #9ca3af;
  max-width: 400px;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(75, 85, 99, 0.3);
  margin: 2rem 0;
}

.footer-copyright {
  color: #9ca3af;
  margin: 0;
}

/* Modal Styles */
.modal-content {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.5);
  backdrop-filter: blur(20px);
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.btn-close {
  filter: invert(1);
}

.form-control {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  color: #fff;
}

.form-control:focus {
  background: rgba(31, 41, 55, 0.7);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-control::placeholder {
  color: #9ca3af;
}

.input-group-text {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  color: #9ca3af;
}

.form-check-input:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.password-strength .progress {
  background: rgba(75, 85, 99, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .feature-card,
  .plan-card {
    margin-bottom: 2rem;
  }

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

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

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

@media (max-width: 576px) {
  .hero-section {
    padding-top: 120px;
  }

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

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

  .plan-card {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.1s;
}
.fade-in-up.delay-2 {
  animation-delay: 0.2s;
}
.fade-in-up.delay-3 {
  animation-delay: 0.3s;
}
.fade-in-up.delay-4 {
  animation-delay: 0.4s;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
