/* ==========================================================================
   PPMB STUDIO — MINIMALIST STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #fbfbfa;
  --bg-card: #ffffff;
  --bg-subtle: #f0f0ec;
  
  --text-main: #111113;
  --text-muted: #64646e;
  --text-faint: #9898a3;
  
  --border: rgba(17, 17, 19, 0.08);
  --border-hover: rgba(17, 17, 19, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 9999px;
  
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

[data-theme="dark"] {
  --bg-page: #0a0a0c;
  --bg-card: #121216;
  --bg-subtle: #191920;
  
  --text-main: #f2f2f5;
  --text-muted: #8e8e9c;
  --text-faint: #5a5a68;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition), color var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.site-header {
  padding: 2.5rem 1.5rem 1.5rem;
}

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

.brand-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--text-main);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
:root:not([data-theme="dark"]) .sun-icon { display: none; }
:root:not([data-theme="dark"]) .moon-icon { display: block; }

/* Main */
.main-content {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero {
  margin-bottom: 3.5rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Apps List */
.apps-section {
  margin-bottom: 3.5rem;
}

.apps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.app-icon {
  border-radius: 10px;
  flex-shrink: 0;
}

.app-info {
  flex: 1;
  min-width: 0;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.app-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.app-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.app-pitch {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.app-arrow {
  color: var(--text-faint);
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.app-card:hover .app-arrow {
  color: var(--text-main);
  transform: translate(2px, -2px);
}

/* Contact */
.contact-section {
  padding-top: 1rem;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-link {
  font-weight: 600;
  color: var(--text-main);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}

@media (max-width: 600px) {
  .app-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .app-arrow {
    align-self: flex-end;
  }
}
