:root {
  --color-bg: #050505; /* Deep black base */
  --color-text: #f8f9fa;
  --color-text-secondary: #a0aab2;
  --color-accent: #10b981; /* Emerald green */
  --color-accent-light: #34d399;
  --color-accent-dark: #059669;
  --font-main: 'Inter', system-ui, sans-serif;
}

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

body {
  /* Dynamic radial gradient instead of solid black */
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, rgba(5, 5, 5, 1) 60%);
  background-color: var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-light);
}

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

header {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 0.8s ease-out;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo span {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  padding: 6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  animation: fadeInUp 1s ease-out;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--color-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
}

.download-section {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.download-section:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.2);
}

.qr-code {
  padding: 0.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

/* Add a glowing orb behind the phone */
.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}

.phone-mockup {
  width: 320px;
  height: 690px;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 12px #1a1a1a, inset 0 0 0 2px #555;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #fff;
  animation: float 6s ease-in-out infinite;
}

.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  scroll-snap-align: start;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

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

.dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

.swipe-hint {
  margin-top: 15px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Features Section */
.features {
  padding: 8rem 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: 20px;
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* FAQ Section */
.faq {
  padding: 5rem 0 8rem;
}

.faq h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #fff, var(--color-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-item p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Keyframes */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

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

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 0;
    gap: 3rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .download-section {
    flex-direction: column;
  }
}
