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

:root {
  --grad-start: #6c3fc5;
  --grad-mid:   #3b82f6;
  --grad-end:   #06b6d4;
  --accent:     #f97316;
  --text:       #1e1b4b;
  --muted:      #64748b;
  --surface:    #ffffff;
  --bg:         #f8fafc;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--grad-start); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-mid) 50%, var(--grad-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 720px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: #fde68a; }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--grad-start);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION SHARED ── */
section { padding: 5rem 2rem; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grad-start);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 3rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── APPS ── */
#apps { background: var(--surface); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.app-card {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(108, 63, 197, 0.15);
}

.app-screenshot {
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.app-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.app-body { padding: 1.5rem; }

.app-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tag-sports    { background: #fef3c7; color: #92400e; }
.tag-education { background: #dbeafe; color: #1e40af; }

.app-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.app-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.store-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  border: 1.5px solid;
}

.badge:hover { opacity: 0.85; transform: translateY(-1px); }

.badge-play { background: #000; color: #fff; border-color: #000; }
.badge-ios  { background: #fff; color: #000; border-color: #000; }


.badge svg { flex-shrink: 0; }

/* ── ABOUT ── */
#about {
  background: linear-gradient(135deg, #6c3fc5 0%, #3b82f6 60%, #06b6d4 100%);
  color: #fff;
  text-align: center;
}

#about .section-label { color: #fde68a; }
#about .section-title { color: #fff; }
#about .section-sub   { color: rgba(255,255,255,0.8); margin: 0 auto 0; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto 0;
}

.feature {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ── CONTACT ── */
#contact { background: var(--bg); text-align: center; }

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 40px rgba(108,63,197,0.08);
  max-width: 480px;
  width: 100%;
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(108,63,197,0.3);
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,63,197,0.4);
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

footer strong { color: rgba(255,255,255,0.85); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav ul { display: none; }
  .contact-card { padding: 2rem 1.75rem; }
}
