@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 {
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Color Palette */
  --bg-dark: #070a13;
  --bg-card: rgba(16, 22, 42, 0.6);
  --bg-card-hover: rgba(23, 32, 60, 0.8);
  --border-glow: rgba(99, 102, 241, 0.15);
  --border-glow-hover: rgba(99, 102, 241, 0.35);
  
  --primary: #6366f1; /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.5);
  --secondary: #a855f7; /* Purple */
  --accent: #06b6d4; /* Cyan */
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  position: relative;
}

/* Background Glow Effects */
body::before,
body::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -100px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

body::after {
  top: 60%;
  right: -150px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

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

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 10, 19, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.btn-download {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content h1 {
  font-family: var(--font-accent);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #fff 20%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-badge-container {
  display: flex;
  gap: 1rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  background: #000;
  border: 1px solid #333;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 0.75rem;
}

.app-store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.app-store-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text .small {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #a0aec0;
  letter-spacing: 0.5px;
}

.badge-text .bold {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-accent);
  line-height: 1.2;
}

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

.mockup-wrapper {
  position: relative;
  width: 280px;
  height: 570px;
  background: #0d111a;
  border: 10px solid #1f2937;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 
              0 0 30px rgba(99, 102, 241, 0.2);
  overflow: hidden;
  z-index: 1;
}

/* Custom notch simulation */
.mockup-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #1f2937;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Controlled via JS for carousel */
}

.mockup-screen img.active {
  display: block;
  animation: fadeScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mockup glow accent behind phone */
.mockup-glow {
  position: absolute;
  width: 320px;
  height: 610px;
  border-radius: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  filter: blur(20px);
  opacity: 0.3;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

/* Features Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 2.5rem;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interactive App Showcase Layout */
.showcase-layout {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 4rem;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
}

.showcase-row:nth-child(even) {
  direction: rtl;
}

.showcase-row:nth-child(even) .showcase-text {
  direction: ltr;
}

.showcase-text h3 {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.showcase-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.showcase-img-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1.5rem;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
}

.showcase-img-container img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.showcase-img-container:hover img {
  transform: scale(1.02);
}

/* Contact and Support Section */
.support-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.support-info h3 {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.support-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1.25rem;
  border-radius: 16px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.channel-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.channel-details p {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

/* Contact Form Styling */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 3rem;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: rgba(7, 10, 19, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  border-radius: 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Form success animation */
.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: fadeInUp 0.5s ease forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-size: 2.5rem;
}

.form-success-message h4 {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.form-success-message p {
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 2rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

/* Active FAQ items */
.faq-item.active {
  border-color: var(--border-glow-hover);
  background: var(--bg-card-hover);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* Footer Style */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #04060b;
  padding: 5rem 0 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info .logo {
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 140px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-badge-container {
    justify-content: center;
  }
  
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .showcase-row:nth-child(even) {
    direction: ltr;
  }
  
  .support-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
