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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0f1c;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Main Container */
.main-container {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Background Pattern */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.pattern-box {
  position: absolute;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 8px;
  animation: float 20s infinite ease-in-out;
}

.pattern-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.pattern-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.pattern-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 20%;
  animation-delay: -10s;
}

.pattern-4 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 15%;
  animation-delay: -15s;
}

.pattern-5 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 50%;
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.7;
  }
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  position: relative;
  z-index: 100;
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

.logo h1 {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: #60a5fa;
}

.navigation {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #60a5fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #60a5fa;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(96, 165, 250, 0.3);
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
}

.arrow-icon {
  width: 16px;
  height: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link,
.mobile-cta-button {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #60a5fa;
}

.mobile-cta-button {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  padding: 1rem 2rem;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Hero Section */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.6;
}

.get-started-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(96, 165, 250, 0.3);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.get-started-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
}

.arrow-right {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.get-started-button:hover .arrow-right {
  transform: translateX(4px);
}

/* Bottom Section */
.bottom-section {
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(10px);
}

.testimonials-button {
  background: none;
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #60a5fa;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.testimonials-button:hover {
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-2px);
}

.partners-section {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.partner-logo {
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-name {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.partner-name.large {
  font-size: 1.25rem;
}

.partner-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.partner-subtitle.highlight {
  color: #60a5fa;
}

.partner-icon {
  font-size: 1.5rem;
  font-weight: 900;
  color: #60a5fa;
  margin-bottom: 0.25rem;
}

/* Footer */
.footer {
  background: rgba(10, 15, 28, 0.95);
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  padding: 4rem 3rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #60a5fa;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

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

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 8px;
  color: #60a5fa;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(96, 165, 250, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header {
    padding: 1.5rem 2rem;
  }

  .hero-section {
    padding: 3rem 2rem;
  }

  .bottom-section {
    padding: 2rem;
    flex-direction: column;
    gap: 2rem;
  }

  .partners-section {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer {
    padding: 3rem 2rem 1.5rem;
  }

  .footer-content {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navigation,
  .cta-button {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header {
    padding: 1rem 1.5rem;
  }

  .hero-section {
    padding: 2rem 1.5rem;
  }

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

  .get-started-button {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }

  .bottom-section {
    padding: 1.5rem;
  }

  .partners-section {
    gap: 1.5rem;
  }

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

  .footer {
    padding: 2rem 1.5rem 1rem;
  }

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

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

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

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

  .partners-section {
    flex-direction: column;
    gap: 1rem;
  }

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

/* Loading Animation */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

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

.hidden {
  display: none;
}

/* Focus States for Accessibility */
.nav-link:focus,
.cta-button:focus,
.get-started-button:focus,
.testimonials-button:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero-line {
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
  }

  .nav-link {
    color: #ffffff;
  }

  .nav-link:hover {
    color: #60a5fa;
  }
}

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

  .pattern-box {
    animation: none;
  }
}
