/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --peach: #FF9671;
  --peach-dark: #E8824A;
  --peach-light: #FFF0E8;
  --text: #1a1a2e;
  --text-muted: #64648c;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Fugaz One', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo img {
  border-radius: 8px;
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(135deg, var(--peach), var(--peach-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Portfolio / Apps === */
.portfolio {
  padding: 60px 0 120px;
}

.portfolio h2 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.app-card.coming-soon {
  opacity: 0.55;
  cursor: default;
}

.app-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--peach-light);
  color: var(--peach-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.app-icon-img {
  background: transparent;
  padding: 0;
}

.app-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.app-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.app-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.app-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 500;
  color: var(--peach-dark);
  font-size: 0.95rem;
}

/* === Footer === */
footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.06);
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

footer a {
  color: var(--peach-dark);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero {
    padding: 130px 0 70px;
  }

  .hero h1 br {
    display: none;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    padding: 32px 24px;
  }
}
