:root {
  --color-bg: #080b11; /* Deep Obsidian */
  --color-text: #f8fafc; /* Adopted Slate 50 */
  --color-text-muted: #94a3b8; /* Adopted Slate 400 */
  --color-accent: #246BFD; /* Primary Blue */
  --color-accent-light: #528BFF;
  --color-accent-dark: #1E5BB4;
  --color-green: #48BB78; /* Action Green */
  --color-green-light: #68D391;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

body {
  background: radial-gradient(circle at 50% 0%, rgba(36, 107, 253, 0.1) 0%, var(--color-bg) 60%);
  background-color: var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  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: 2.2rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 0.8s ease-out;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
}

.logo span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-green));
  -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: 700;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #ffffff 40%, var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  font-weight: 300;
}

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

.download-section:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 107, 253, 0.3);
  box-shadow: 0 15px 40px rgba(36, 107, 253, 0.15);
}

.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;
}

/* Glowing orb behind the phone */
.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(36, 107, 253, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-mockup {
  width: 290px;
  height: 600px;
  background: #000;
  border: 10px solid #1a1e29;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.03), 0 0 40px rgba(36, 107, 253, 0.1);
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #1a1e29;
  border-radius: 15px;
  zIndex: 100;
}

.carousel {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

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

.carousel-img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  pointer-events: none;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

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

.dot.active {
  background: var(--color-green);
  transform: scale(1.2);
}

.swipe-hint {
  position: absolute;
  bottom: -35px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}

/* Features */
.features {
  padding: 8rem 0;
  border-top: 1px solid var(--border-color);
}

.features h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  font-family: var(--font-display);
}

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

.feature-card {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(72, 187, 120, 0.2);
  background: rgba(72, 187, 120, 0.02);
  box-shadow: 0 15px 40px rgba(72, 187, 120, 0.03);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-display);
}

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

.feature-card strong {
  color: var(--color-green);
  font-weight: 500;
}

/* FAQ */
.faq {
  padding: 6rem 0 8rem 0;
  border-top: 1px solid var(--border-color);
}

.faq h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  font-family: var(--font-display);
}

.faq-item {
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
}

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

/* Legal Links Buttons Styling */
.legal-buttons-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.btn-legal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: var(--font-display);
}

.btn-legal.blue-btn {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-legal.blue-btn:hover {
  background: rgba(36, 107, 253, 0.08);
  box-shadow: 0 0 30px rgba(36, 107, 253, 0.15);
  transform: translateY(-2px);
}

.btn-legal.green-btn {
  border: 1px solid var(--color-green);
  color: var(--color-green);
  background: transparent;
}

.btn-legal.green-btn:hover {
  background: rgba(72, 187, 120, 0.08);
  box-shadow: 0 0 30px rgba(72, 187, 120, 0.15);
  transform: translateY(-2px);
}

footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

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

/* Keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
    gap: 3rem;
  }
  
  .hero-text h1 {
    font-size: 2.75rem;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .download-section {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}
