:root {
  --color-purple: #4b2e83;
  --color-blue: #2e6bd6;
  --color-yellow: #f0b429;
  --color-dark: #1f2430;
  --color-text: #333;
  --color-bg-alt: #f5f6fa;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: #fff;
}

a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { color: var(--color-dark); line-height: 1.25; }

/* Header / Nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo {
  height: 100px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--color-dark);
  font-weight: 600;
  padding: 6px 4px;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.site-nav a.cta {
  background: var(--color-purple);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

.site-nav a.cta:hover,
.site-nav a.cta.active {
  background: var(--color-blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 15px; }
.hero-sub { font-size: 1.1rem; max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-dark);
}
.btn-primary:hover { background: #d99f1e; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: var(--color-bg-alt); }

.page-header {
  background: var(--color-bg-alt);
  padding: 50px 0 30px;
  border-bottom: 1px solid #eee;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.card h3 { margin-top: 0; color: var(--color-purple); }

.service-item {
  padding: 25px 0;
  border-bottom: 1px solid #eee;
}
.service-item:last-child { border-bottom: none; }
.service-item h2 { color: var(--color-purple); }

.cta-block { text-align: center; }
.cta-block h2 { margin-bottom: 10px; }

/* Mobile apps */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.app-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.app-card-icon { font-size: 2.2rem; margin-bottom: 10px; }
.app-card h2 { margin: 0 0 8px; color: var(--color-purple); }
.app-card-tagline { flex-grow: 1; }
.app-card-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 12px;
}
.app-card-link { font-weight: 700; color: var(--color-yellow-dark, var(--color-purple)); }

.app-detail-header .app-tagline { font-size: 1.1rem; font-weight: 600; }
.app-status-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-dark);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.store-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-outline-dark {
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}
.btn.disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* Contact */
.contact-grid-single {
  display: flex;
  justify-content: center;
}

.contact-info-centered {
  text-align: center;
  max-width: 480px;
}

.contact-info h2 { color: var(--color-purple); }

.contact-email-highlight {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 15px 0;
}

.contact-info-centered .btn { margin-top: 20px; }

/* Legal text */
.legal h2 { color: var(--color-purple); margin-top: 30px; }

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #d7d9e0;
  padding: 40px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 10px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}

.site-footer h4 { color: #fff; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d7d9e0; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .logo { height: 70px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    gap: 10px;
  }

  .site-nav.open { display: flex; }

  .header-inner { position: relative; }

  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
}
