/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:        #f8f9fb;
  --color-surface:   #ffffff;
  --color-border:    #e2e6ea;
  --color-primary:   #0a7c6e;
  --color-primary-h: #075f54;
  --color-text:      #1c1e21;
  --color-muted:     #5a6472;
  --color-accent:    #2dd4a0;
  --radius:          10px;
  --shadow:          0 2px 12px rgba(0,0,0,0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ── */
header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}

nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  transition: color 0.15s;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  background: url('Banner.png') center center / cover no-repeat;
  color: #fff;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  height: 190px;
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-text {
  margin-left: 220px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 480px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── Apps section ── */
.apps {
  padding: 4rem 0;
  flex: 1;
}

.apps h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.app-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.app-card.coming-soon { opacity: 0.85; }

.app-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.app-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn:hover { background: var(--color-primary-h); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Footer ── */
footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-muted);
}

footer a {
  color: var(--color-primary);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ── Generic page content (about, contact) ── */
.page-content {
  padding: 4rem 0;
  flex: 1;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-content p {
  color: var(--color-muted);
  max-width: 600px;
  margin-bottom: 1rem;
}

.page-content a { color: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .header-inner { height: auto; padding: 0.75rem 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
  nav a:first-child { margin-left: 0; }
  .hero { padding: 2.5rem 0; }
  .hero-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .hero-logo { width: 160px; }
  .hero-text { text-align: center; }
}
