/* Soulkart Landing Page Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #7c3aed;
  --primary-glow: rgba(124, 58, 237, 0.15);
  --primary-hover: #6d28d9;
  --accent: #f43f5e;
  --accent-glow: rgba(244, 63, 94, 0.15);
  --background: #090d16;
  --surface: rgba(17, 24, 39, 0.7);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.12);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --white: #ffffff;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08) 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(9, 13, 22, 0.85);
  border-bottom: 1px solid var(--surface-border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--white) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--white);
}

.btn-download {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(85vh - 80px);
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content h1 span {
  background: linear-gradient(135deg, #a78bfa 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

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

.store-button {
  background-color: #111827;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.store-button:hover {
  border-color: var(--primary);
  background-color: rgba(17, 24, 39, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.store-button i {
  font-size: 2rem;
  color: var(--primary);
}

.store-btn-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.store-btn-text strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-container {
  width: 280px;
  height: 570px;
  border: 10px solid #1f2937;
  border-radius: 40px;
  background-color: #0b0f19;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.device-notch {
  width: 120px;
  height: 25px;
  background-color: #1f2937;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.device-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: var(--transition);
}

.device-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(9, 13, 22, 0.4) 100%);
  pointer-events: none;
  top: 0;
  left: 0;
}

/* Feature Grid */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

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

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
  background-color: rgba(124, 58, 237, 0.08);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.card-icon i {
  font-size: 1.6rem;
  color: var(--primary);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Static Docs Layout */
.docs-layout {
  max-width: 850px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.docs-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1.5rem;
}

.docs-content h2 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 1rem;
}

.docs-content p {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.docs-content ul {
  list-style-type: none;
  margin-bottom: 1.5rem;
}

.docs-content li {
  color: var(--text-muted);
  font-size: 0.98rem;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.docs-content li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0.25rem;
}

/* Contact layout */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #05070c;
  border-top: 1px solid var(--surface-border);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-desc p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* Responsive Queries */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }

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

  .docs-layout {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
}

@media (max-width: 576px) {
  nav ul {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .docs-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.25rem;
  }
}
