/* DesiMacros Modern Web Styles */
:root {
  --color-brand: #E8174F;
  --color-brand-hover: #D01445;
  --color-brand-light: #FDE8EE;
  --color-dark: #121826;
  --color-dark-surface: #1E293B;
  --color-text-main: #1F2937;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-bg-light: #F9FAFB;
  --color-bg-white: #FFFFFF;
  --color-border: #E5E7EB;
  --color-card-border: #F3F4F6;
  
  --macro-protein: #D4A06A;
  --macro-carbs: #B9732F;
  --macro-fat: #F2B21B;
  --macro-water: #2563EB;
  --color-success: #16A34A;
  
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-brand-hover);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
}

.logo-dot {
  color: var(--color-brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
}

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

.btn-nav {
  background: var(--color-brand);
  color: white !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
}

.btn-nav:hover {
  background: var(--color-brand-hover);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-brand-light);
  color: var(--color-brand);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-dark);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-store:hover {
  background: #252F42;
  color: white;
  transform: translateY(-2px);
}

.btn-store svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-store-sub {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  display: block;
  text-align: left;
}

.btn-store-title {
  font-size: 16px;
  font-weight: 700;
  display: block;
  text-align: left;
}

/* Feature Grid */
.features {
  padding: 80px 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Macro Pills */
.macro-pills {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.macro-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.macro-p { background: #FBF4EC; color: var(--macro-protein); }
.macro-c { background: #FAF2EC; color: var(--macro-carbs); }
.macro-f { background: #FEF9EB; color: #B38600; }

/* Legal and Content Pages */
.page-content {
  padding: 60px 0 100px;
}

.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.page-header .updated {
  color: var(--color-text-muted);
  font-size: 14px;
}

.content-block {
  margin-bottom: 36px;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.content-block p, .content-block ul {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 14px;
}

.content-block ul {
  padding-left: 24px;
}

.content-block li {
  margin-bottom: 8px;
}

.info-box {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-brand);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.info-box p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: #D1D5DB;
  padding: 60px 0 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--color-text-light);
  max-width: 300px;
  line-height: 1.5;
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--color-text-light);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-light);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 38px; }
  .hero p { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links { display: none; }
}
