:root {
  --primary: #00C7BE; /* Swipe In Mint */
  --primary-dark: #009E96;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --secondary: #666666;
  --border: #e0e0e0;
  --kofi: #ff5e5b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --card: #2c2c2c;
    --text: #f0f0f0;
    --secondary: #aaaaaa;
    --border: #3a3a3a;
  }
}

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

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

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

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  z-index: 100;
}
nav .logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
nav .logo:hover { text-decoration: none; opacity: 0.8; }
nav .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}
nav .nav-links a { color: var(--secondary); font-weight: 500; }
nav .nav-links a:hover { color: var(--primary); text-decoration: none; }

/* ── Hero Sections ── */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  max-width: 680px;
  margin: 0 auto;
}
.hero .badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 18px;
  color: var(--secondary);
  max-width: 480px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.15s;
}
.cta:hover, .btn:hover { opacity: 0.8; text-decoration: none; }
.cta svg { width: 20px; height: 20px; fill: currentColor; }
.kofi-btn { background: var(--kofi); color: #fff; }

/* ── Sections & Grids ── */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}
section + section { padding-top: 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--secondary);
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 40px;
}

/* App Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}

.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--secondary); }

/* Portfolio Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.2s;
}

.project-card .app-logo {
  width: 60px;          /* Adjust this to make the logo bigger or smaller */
  height: 60px;
  border-radius: 14px;  /* Gives it that classic iOS rounded-corner look */
  margin-bottom: 16px;
  object-fit: contain;  /* Ensures the whole logo fits inside the box */
}
.project-card:hover { transform: translateY(-4px); }
.project-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.project-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.project-card p { font-size: 15px; color: var(--secondary); margin-bottom: 24px; }
.project-link { font-weight: 600; font-size: 15px; }

/* ── Divider & Prose ── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 24px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--secondary); font-size: 15px; margin-bottom: 14px; }
.prose ul { color: var(--secondary); font-size: 15px; padding-left: 20px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 6px; }

.support-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
}
.support-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.support-box p { font-size: 14px; color: var(--secondary); margin-bottom: 0; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
footer a { color: var(--secondary); margin: 0 8px; }
footer a:hover { color: var(--primary); }