/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--gray-400);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-800);
  transition: var(--transition);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--white);
  color: var(--black) !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem !important;
  transition: opacity var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  opacity: 0.85;
  color: var(--black) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-900);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ASSET: Hero background — a large abstract/geometric dark image or gradient mesh */
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, var(--gray-900) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%, var(--gray-800) 0%, transparent 60%),
    var(--black);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--gray-700);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  color: var(--gray-400);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== VALUE GRID ===== */
.values {
  padding: 7rem 0;
}

.values .label {
  margin-bottom: 1rem;
}

.values > .container > h2 {
  margin-bottom: 4rem;
  max-width: 600px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2.5rem;
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--gray-600);
  transform: translateY(-2px);
}

/* ASSET: Value card icon — simple monochrome icons, ~32x32px SVG */
.value-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9375rem;
}

/* ===== FEATURE BLOCKS ===== */
.features {
  padding: 0 0 7rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--gray-900);
}

.feature-block:nth-child(even) {
  direction: rtl;
}

.feature-block:nth-child(even) > * {
  direction: ltr;
}

.feature-content .label {
  margin-bottom: 1rem;
}

.feature-content h2 {
  margin-bottom: 1.25rem;
}

.feature-content p {
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-300);
}

.feature-list li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6875rem;
}

.feature-image {
  width: 100%;
  background: var(--gray-950);
  border-radius: 16px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  display: block;
}

.feature-block:nth-child(2) .feature-image img {
  transform: scale(1.3);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--gray-900) 0%, transparent 70%);
}

.cta-banner .container {
  position: relative;
}

.cta-banner h2 {
  margin-bottom: 1.25rem;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

.cta-banner .hero-buttons {
  justify-content: center;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--gray-900);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.placeholder-label {
  color: var(--gray-600);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 2rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--gray-400);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray-400);
  padding: 0.375rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-900);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 10rem 0 5rem;
}

.page-hero .label {
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 640px;
  font-size: 1.25rem;
}

.founder-section {
  padding: 5rem 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.founder-bio h2 {
  margin-bottom: 0.5rem;
}

.founder-bio .founder-title {
  color: var(--gray-500);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}

.founder-bio p {
  margin-bottom: 1.5rem;
}

.founder-bio h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

/* ===== PRODUCTS PAGE ===== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 3rem;
  transition: all var(--transition);
  align-items: center;
}

.product-card:hover {
  border-color: var(--gray-600);
}

.product-image {
  width: 100%;
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  display: block;
}

/* RecipeSmith (icon, not screenshot): center on black bg */
.product-card:nth-child(4) .product-image {
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:nth-child(4) .product-image img {
  width: auto;
  max-width: 40%;
  border-radius: 22%;
}

.product-info .label {
  margin-bottom: 0.75rem;
}

.product-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-info p {
  margin-bottom: 1.5rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.product-tags span {
  padding: 0.375rem 0.875rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.contact-info > p {
  margin-bottom: 3rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.channel-item {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.channel-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.channel-item h4 {
  margin-bottom: 0.25rem;
}

.channel-item p {
  font-size: 0.875rem;
}

.contact-form {
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 3rem;
}

.contact-form h3 {
  margin-bottom: 0.5rem;
}

.contact-form > p {
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gray-500);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-block:nth-child(even) {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .founder-photo {
    max-width: 400px;
    position: static;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  nav .container {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--gray-900);
    width: 100%;
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 1.5rem;
    text-align: center;
    display: block;
    padding: 0.875rem 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }
}
