:root {
  --bg: #ffffff;
  --bg-card: #fbfbfd;
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --border: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --orange: #f56300;
  --orange-hover: #ff700f;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 2rem;
}

.hero-copy strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-main);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
  transform: scale(1.02);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #f0f0f2;
}

.nexora-btn { background: var(--blue); color: #fff; }
.nexora-btn:hover { background: var(--blue-hover); transform: scale(1.02); }

.flashaura-btn { background: var(--orange); color: #fff; }
.flashaura-btn:hover { background: var(--orange-hover); transform: scale(1.02); }

/* Sections */
.section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.app-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
}

.app-title-group h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.app-tagline {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.app-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 2.5rem;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

/* About Section */
.about {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
}

.about h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem;
}

.about p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about p strong {
  color: var(--text-main);
}

/* Footer */
.footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  z-index: 1000;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-text {
  background: rgba(40, 40, 40, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  display: inline-block;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
  .apps-grid { grid-template-columns: 1fr; }
  .about { padding: 3rem 1.5rem; }
  .container { padding: 0 1.5rem; }
}
