/* Cryptalk Landing Page Styling */
:root {
  --primary-gradient: linear-gradient(135deg, #6c63ff 0%, #897cff 100%);
  --secondary-accent: #00d9a6;
  --text-main: #1a1a1a;
  --text-muted: #5f6368;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 30px rgba(108, 99, 255, 0.1);
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--background-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navbar */
.navbar {
  height: 80px;
  background-color: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #6c63ff;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .description {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.cta-btns {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: var(--text-main);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(108, 99, 255, 0.05);
  border-color: #6c63ff;
  color: #6c63ff;
}

.btn-primary-sm {
  background: var(--primary-gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Phone Frame & Slider */
.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border-radius: 40px;
  border: 8px solid #333;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 2;
  margin: 0 auto;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 10px;
  background: #333;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 0.8s ease-in-out,
    transform 1s ease;
  transform: scale(1.1);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: #6c63ff;
  width: 24px;
  border-radius: 10px;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: blob-float 10s infinite linear alternate;
}

/* Features */
.features {
  padding: 120px 0;
  background-color: var(--white);
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
}

.features .section-title {
  margin-bottom: 30px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 10px;
}

.contact-card {
  padding: 24px;
  background: var(--background-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  background: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(108, 99, 255, 0.2);
}

.contact-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-text {
  flex-grow: 1;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}

.feature-card {
  padding: 48px;
  background: var(--background-light);
  border-radius: 24px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  transform: translateY(-10px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(108, 99, 255, 0.1);
}

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: block;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
}

/* Platforms */
.platforms {
  padding: 120px 0;
  text-align: center;
}

.contact {
  margin-bottom: 20px;
}

.section-subtitle {
  height: 50px;
  max-width: 600px;
  margin: 10px auto 10px;
  color: var(--text-muted);
  font-size: 18px;
  text-align: center;
}

.platform-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.platform {
  padding: 20px 40px;
  background: white;
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
  cursor: default;
}

.platform:hover {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.05);
}

/* Footer & Download */
.footer {
  background: #0f111a;
  color: white;
  padding: 100px 0 40px;
  text-align: center;
}

.footer h3 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 60px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.download-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.download-btn:hover {
  background: var(--white);
  color: #0f111a;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  font-size: 14px;
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  transition: all 1s ease forwards;
}

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

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

@keyframes blob-float {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.2) translate(20px, -20px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 52px;
  }
  .cta-btns {
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-content .description {
    margin-left: auto;
    margin-right: auto;
  }
}
