/* ========================================
   Ripen Studio — Landing Page Styles
   ======================================== */

:root {
  --cherry: #C41E3A;
  --cherry-dark: #A3182F;
  --green: #4A7C59;
  --green-dark: #3A6347;
  --charcoal: #1E1E2E;
  --warm-white: #FAF7F2;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-500: #71717A;
  --gray-700: #3F3F46;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  background: var(--cherry);
  color: var(--white);
  border: 2px solid var(--cherry);
}

.btn:hover {
  background: var(--cherry-dark);
  border-color: var(--cherry-dark);
}

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--warm-white);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

/* ---- Philosophy ---- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  text-align: center;
  padding: 32px 24px;
}

.philosophy-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.philosophy-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Apps ---- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.app-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: var(--charcoal);
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

a.app-card:hover {
  border-color: var(--cherry);
  box-shadow: 0 2px 12px rgba(196, 30, 58, 0.08);
}

.app-card-coming {
  border-style: dashed;
  opacity: 0.6;
}

.app-icon-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray-500);
  font-size: 1.2rem;
}

.app-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-platform {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.app-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.app-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cherry);
  margin-top: auto;
}

/* ---- About ---- */
.about-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-content p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ---- Contact ---- */
.contact-content {
  text-align: center;
}

.contact-content p {
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* ---- Footer ---- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: color 0.15s;
}

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

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
