/* Calcifer Website — dark, warm, and intentionally simple */
:root {
  --bg: #0e0b0a;
  --surface: #191411;
  --surface-light: #241d18;
  --border: #3b3029;
  --text: #f5efe8;
  --muted: #a79b92;
  --accent: #f0443d;
  --accent-dark: #d93630;
  --carbs: #ffac29;
  --protein: #35b8b5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.navbar { border-bottom: 1px solid rgba(59, 48, 41, .7); background: rgba(14, 11, 10, .88); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.nav-content { align-items: center; display: flex; height: 76px; justify-content: space-between; }
.brand, .footer-brand { align-items: center; display: flex; gap: 11px; font-weight: 800; letter-spacing: -.04em; }
.brand-icon { border-radius: 11px; height: 38px; width: 38px; }
.brand-name { font-size: 1.3rem; }
.nav-links { align-items: center; display: flex; gap: 32px; font-size: .88rem; font-weight: 600; }
.nav-links a:not(.nav-cta) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta { background: var(--accent); border-radius: 8px; padding: 10px 17px; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hero { overflow: hidden; padding: 104px 0 126px; }
.hero-grid { align-items: center; display: grid; gap: 88px; grid-template-columns: 1.05fr .95fr; }
.badge { color: #ff9e5f; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px; text-transform: uppercase; }
.hero-title { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.06; letter-spacing: -.075em; margin: 0 0 26px; max-width: 650px; }
.hero-subtitle { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin: 0; max-width: 620px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-btn { align-items: center; background: #f3eee7; border: 1px solid #f3eee7; border-radius: 9px; color: #0f0d0c; display: flex; gap: 10px; min-width: 166px; padding: 9px 15px; transition: background .2s, transform .2s; }
.store-btn:hover { background: white; transform: translateY(-2px); }
.store-icon { height: 26px; width: 26px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-label { font-size: .6rem; font-weight: 600; }
.store-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.03em; margin-top: 3px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.highlight-item { color: var(--muted); font-size: .74rem; }
.highlight-check { color: #7bc4a3; font-weight: 800; margin-right: 5px; }
.hero-preview { display: flex; justify-content: center; position: relative; }
.hero-preview::before { background: radial-gradient(circle, rgba(240, 68, 61, .22), transparent 68%); content: ''; inset: -80px; position: absolute; }
.phone-frame { background: #090807; border: 8px solid #2e2824; border-radius: 35px; box-shadow: 0 24px 70px rgba(0,0,0,.55); max-height: 720px; overflow: hidden; position: relative; transform: rotate(3deg); width: min(350px, 80%); z-index: 1; }
.phone-screen { display: block; height: auto; width: 100%; }

.section { padding: 112px 0; }
.section-dark { background: #15100e; border-bottom: 1px solid #211a16; border-top: 1px solid #211a16; }
.section-header { margin: 0 auto 60px; max-width: 640px; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.06em; line-height: 1.15; margin: 0 0 16px; }
.section-subtitle { color: var(--muted); margin: 0; }
.features-grid { display: grid; gap: 17px; grid-template-columns: repeat(3, 1fr); }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 27px; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: #59483c; transform: translateY(-3px); }
.feature-icon { align-items: center; background: var(--surface-light); border-radius: 9px; display: flex; font-size: 1.35rem; height: 43px; justify-content: center; margin-bottom: 21px; width: 43px; }
.feature-title { font-size: 1rem; letter-spacing: -.02em; margin: 0 0 10px; }
.feature-desc { color: var(--muted); font-size: .82rem; line-height: 1.7; margin: 0; }
.feature-desc em { color: #d2c6bc; }

.screens-grid { display: grid; gap: 24px; grid-template-columns: repeat(5, 1fr); }
.screen-card { min-width: 0; }
.screen-image-wrapper { background: #090807; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.22); overflow: hidden; }
.screen-img { display: block; height: auto; width: 100%; }
.screen-info { padding: 18px 4px; }
.screen-info h4 { font-size: .86rem; margin: 0 0 6px; }
.screen-info p { color: var(--muted); font-size: .72rem; line-height: 1.55; margin: 0; }

.cta-section { padding: 100px 0; }
.cta-box { background: linear-gradient(135deg, #271b17, #1a1311); border: 1px solid #50362d; border-radius: 18px; padding: 70px 30px; text-align: center; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.06em; margin: 0 0 12px; }
.cta-text { color: var(--muted); margin: 0; }
.store-buttons-center { justify-content: center; margin-top: 28px; }
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-content { align-items: center; display: flex; justify-content: space-between; }
.footer-brand { font-size: .95rem; }
.footer-icon { border-radius: 7px; height: 28px; width: 28px; }
.footer-copy { color: var(--muted); font-size: .68rem; margin: 0; }
.footer-links { align-items: center; display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: .72rem; }
.footer-links a:hover { color: var(--text); }

.policy-page { padding: 90px 0 110px; }
.policy-container { max-width: 760px; }
.policy-title { font-size: clamp(2.8rem, 6vw, 4.5rem); letter-spacing: -.075em; line-height: 1.08; margin: 0 0 12px; }
.policy-updated { color: var(--muted); font-size: .8rem; margin: 0 0 50px; }
.policy-intro { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; color: #d8cdc4; padding: 25px 28px; }
.policy-intro p { margin: 0; }
.policy-section { border-top: 1px solid var(--border); margin-top: 38px; padding-top: 32px; }
.policy-section h2 { font-size: 1.25rem; letter-spacing: -.035em; margin: 0 0 13px; }
.policy-section p, .policy-section li { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.policy-section p { margin: 0 0 14px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section a { color: #ff9e5f; text-decoration: underline; text-underline-offset: 3px; }
.policy-section ul { margin: 0; padding-left: 22px; }
.back-link { color: var(--text); display: inline-block; font-size: .85rem; font-weight: 700; margin-top: 48px; }
.back-link:hover { color: #ff9e5f; }
.support-container { max-width: 760px; }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 32px; }
.support-card .feature-icon { margin-bottom: 20px; }
.support-card .feature-icon svg { height: 22px; width: 22px; }
.support-card h2 { font-size: 1.3rem; letter-spacing: -.035em; margin: 0 0 10px; }
.support-card p { color: var(--muted); font-size: .92rem; line-height: 1.8; margin: 0 0 22px; max-width: 560px; }
.support-email { color: #ff9e5f; font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 850px) {
  .hero { padding: 75px 0 90px; }
  .hero-grid { gap: 60px; grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-subtitle { margin: auto; }
  .store-buttons, .hero-highlights { justify-content: center; }
  .hero-preview { margin-top: 10px; }
  .phone-frame { transform: rotate(2deg); width: min(340px, 75%); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .container { width: min(100% - 32px, 480px); }
  .nav-content { height: 66px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-title { font-size: 2.9rem; }
  .hero-subtitle { font-size: .94rem; }
  .store-btn { min-width: 155px; }
  .features-grid, .screens-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .feature-card { padding: 20px; }
  .feature-title { font-size: .88rem; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 38px; }
  .screen-info { padding: 13px 2px; }
  .screen-info h4 { font-size: .76rem; }
  .screen-info p { font-size: .65rem; }
  .cta-box { padding: 48px 18px; }
  .footer-content { align-items: flex-start; flex-direction: column; gap: 12px; }
}
