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

:root {
  --color-bg: #FDFDDB;
  --color-surface: #FFFFF5;
  --color-border: #E0D9C8;
  --color-text: #2D2A26;
  --color-text-muted: #6B6560;
  --color-teal: #4ABDB5;
  --color-teal-dark: #3A9A94;
  --color-orange: #E8913A;
  --color-orange-dark: #D17E2E;
  --color-purple: #7D6B7D;
  --radius: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg) url('bg-pattern.png') center/cover fixed;
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header */
.header {
  padding: 1rem 0 2rem;
  text-align: center;
}

.logo {
  display: inline-block;
}

.logo img {
  max-width: 280px;
  height: auto;
}

/* Hero */
.hero {
  padding: 1rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.hero h1 .teal { color: var(--color-teal); }
.hero h1 .orange { color: var(--color-orange); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About */
.philosophy {
  padding: 1.5rem 0;
}

.about-box {
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: 4px 4px 0 var(--color-text);
}

.about-box p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Apps */
.apps {
  padding: 2.5rem 0;
}

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

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

a.app-card {
  text-decoration: none;
  color: inherit;
}

.app-card {
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 4px 4px 0 var(--color-text);
  cursor: pointer;
}

.app-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-text);
}

.app-card-placeholder {
  opacity: 0.6;
  border-style: dashed;
  box-shadow: none;
}

.app-card-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.app-icon {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.app-info {
  flex: 1;
}

.app-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.app-tagline {
  font-size: 0.9rem;
  color: var(--color-teal-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.app-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.app-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-platform,
.app-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 2px solid var(--color-text);
}

.app-platform {
  background: var(--color-bg);
  color: var(--color-text);
}

.app-status.coming-soon {
  background: var(--color-orange);
  color: white;
  border-color: var(--color-orange-dark);
}

.app-status.available {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal-dark);
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 2px dashed var(--color-border);
  margin-top: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-teal-dark);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 480px) {
  .app-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .app-meta {
    justify-content: center;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
  
  .logo img {
    max-width: 220px;
  }
}
