:root {
  --primary: #5d78ff;
  --primary-dark: #4a63e0;
  --accent: #00d2ff;
  --bg: #0b0d11;
  --surface: #151921;
  --surface-light: #1e232d;
  --text: #ffffff;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-width: 1200px;
}

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

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

/* --- Background Effects --- */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

.glow-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  background: var(--primary);
  filter: blur(180px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
  animation: float 12s infinite ease-in-out;
}
.blob-1 {
  top: -250px;
  left: -100px;
}
.blob-2 {
  bottom: -250px;
  right: -100px;
  background: var(--accent);
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, 60px);
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
nav {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.web-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.web-link:hover {
  color: var(--text);
}

.cta-btn-small {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.cta-btn-small:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
  gap: 3rem;
}

@media (min-width: 992px) {
  .hero {
    flex-direction: row;
    text-align: left;
    min-height: 85vh;
    gap: 4rem;
  }
  .hero-content {
    flex: 1;
    align-items: flex-start;
  }
  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

.badge {
  display: inline-block;
  background: rgba(93, 120, 255, 0.15);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(93, 120, 255, 0.3);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.highlight {
  background: linear-gradient(120deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

/* --- Store Buttons --- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 992px) {
  .store-buttons {
    justify-content: flex-start;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  border: 1px solid var(--border);
  min-width: 180px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.small {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}
.big {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.google {
  background: linear-gradient(135deg, #232f3e 0%, #131921 100%);
}
.google:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(1, 135, 95, 0.15);
  border-color: #01875f;
}

/* --- Phone Mockup --- */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 300px;
  height: 660px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #2c2c2c;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  z-index: 2;
}

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

.app-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floaters */
.floater {
  position: absolute;
  background: rgba(22, 25, 31, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  animation: float-slow 6s infinite ease-in-out;
}
.floater i {
  color: var(--primary);
}
.floater-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}
.floater-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.float-1 {
  top: 15%;
  left: -10%;
}
.float-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: -2s;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 768px) {
  .float-1,
  .float-2 {
    display: none;
  }
  .phone-frame {
    width: 260px;
    height: 570px;
  }
  .notch {
  width: 100px;
  height: 20px;
}
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0 6rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.stat-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Features --- */
.features-section {
  padding: 4rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}
.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: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.02));
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(93, 120, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Roles --- */
.roles-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 8rem 0;
}
@media (min-width: 768px) {
  .roles-section {
    grid-template-columns: 1fr 1fr;
  }
}

.role-box {
  background: var(--surface);
  border-radius: 30px;
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.role-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
}
.admin::before {
  background: var(--accent);
}

.role-tag {
  display: inline-block;
  background: rgba(93, 120, 255, 0.2);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.highlight-tag {
  background: rgba(0, 210, 255, 0.2);
  color: var(--accent);
}

.role-box h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}
.role-box ul {
  list-style: none;
}
.role-box li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}
.role-box li i {
  width: 20px;
  color: #fff;
}

/* --- FAQ --- */
.faq-section {
  max-width: 800px;
  margin: 0 auto 8rem;
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-family: var(--font-heading);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  color: var(--text-secondary);
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}
.faq-item.active .faq-answer {
  height: auto;
  padding-bottom: 1.5rem;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* --- Footer --- */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footer-brand i {
  color: var(--primary);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  color: #555;
  font-size: 0.85rem;
}
.heart-icon {
  width: 16px;
  vertical-align: middle;
  color: #e74c3c;
  fill: #e74c3c;
}
