/* ===== SmartResto — modern cloud kitchen site ===== */
:root {
  --black: #0a0a0b;
  --black-2: #111114;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --gray: #a7a7ad;
  --gray-2: #6f6f76;
  --red: #e3261f;
  --red-2: #ff4338;
  --text-strong: #ffffff;
  --text-soft: #d7d7db;
  --nav-bg: rgba(10, 10, 11, 0.8);
  --mobile-bg: rgba(10, 10, 11, 0.97);
  --radius: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
 
:root[data-theme="light"] {
  --black: #f4f5f7;
  --black-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --line: rgba(0, 0, 0, 0.10);
  --white: #16161c;
  --gray: #52525b;
  --gray-2: #8a8a93;
  --text-strong: #0f0f14;
  --text-soft: #3f3f46;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --mobile-bg: rgba(255, 255, 255, 0.97);
}
 
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .brand-text { font-family: "Sora", sans-serif; line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--red-2); }
 
/* ===== Background FX ===== */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.glow-red { display: none; }
.glow-soft { width: 600px; height: 600px; background: #26262c; bottom: -260px; left: -180px; opacity: 0.3; }
:root[data-theme="light"] .glow-soft { background: #ffd9d6; opacity: 0.45; }
:root[data-theme="light"] .grid-lines { opacity: 0.7; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
}
 
/* ===== Navbar ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--red); color: #fff; font-family: "Sora"; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 20px rgba(227, 38, 31, 0.45);
}
.brand-mark .dot { color: #0a0a0b; }
.brand-text { font-size: 20px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--gray); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-strong); }
.nav-cta { color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-strong); transition: 0.3s var(--ease); }
.theme-toggle { display: none; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-strong); cursor: pointer; font-size: 15px; margin-left: 16px; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.theme-toggle:hover { border-color: var(--red); transform: translateY(-2px); }
 
/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 26px rgba(227, 38, 31, 0.4); }
.btn-primary:hover { background: var(--red-2); box-shadow: 0 12px 34px rgba(255, 67, 56, 0.5); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text-strong); background: rgba(127, 127, 127, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }
 
/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.28em; color: var(--gray); font-weight: 600;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.hero-title { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; margin: 26px 0 18px; }
.grad { background: linear-gradient(100deg, var(--text-strong) 0%, var(--red-2) 60%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { max-width: 660px; color: var(--gray); font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-sub strong { color: var(--text-strong); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 64px; width: 100%; max-width: 760px;
}
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; position: relative;
}
.stat-num { font-family: "Sora"; font-size: 2.1rem; font-weight: 800; color: var(--text-strong); }
.stat-suffix { font-family: "Sora"; font-size: 1.4rem; font-weight: 700; color: var(--red-2); }
.stat-label { display: block; margin-top: 6px; font-size: 13px; color: var(--gray-2); }
 
/* marquee */
.hero-marquee { width: 100%; margin-top: 86px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 34px; padding-left: 34px; min-width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: "Sora"; font-weight: 700; font-size: 18px; color: var(--gray-2); letter-spacing: 0.04em; }
@keyframes marquee { to { transform: translateX(-50%); } }
 
/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { font-size: 13px; letter-spacing: 0.25em; color: var(--red-2); font-weight: 700; }
.section-head h2, .split-text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin: 14px 0; }
.section-lead { color: var(--gray); font-size: 1.06rem; }
 
/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 28px; text-align: center; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(227,38,31,0.5); background: var(--surface-2); }
.pillar-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: rgba(227,38,31,0.12); color: var(--red-2); font-size: 26px; margin: 0 auto 20px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--gray); }
 
/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text p { color: var(--gray); margin-bottom: 22px; }
.check-list { list-style: none; margin: 0 0 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
 
/* kitchen card */
.kitchen-card { background: var(--black-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.kc-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.kc-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a42; }
.kc-dot:nth-child(1) { background: #ff5f57; } .kc-dot:nth-child(2) { background: #febc2e; } .kc-dot:nth-child(3) { background: #28c840; }
.kc-title { margin-left: 10px; font-size: 13px; color: var(--gray); font-family: "Sora"; }
.kc-body { padding: 12px; display: grid; gap: 8px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.order-row > span:nth-child(2) { color: var(--text-strong); }
.tag { font-family: "Sora"; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; color: #0a0a0b; }
.tag-patt { background: #e23b2e; color: #fff; } .tag-kova { background: #f59e0b; color: #1a1205; } .tag-waffle { background: #f59e0b; color: #1a1205; } .tag-tost { background: #e8e8e8; color: #0a0a0b; } .tag-makarna { background: #e23b2e; color: #fff; } .tag-bowl { background: #e8e8e8; color: #0a0a0b; }
.ok { font-size: 12px; color: var(--red-2); font-weight: 600; }
.kc-foot { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--gray); font-size: 13px; }
.kc-stat { font-family: "Sora"; font-weight: 800; color: var(--text-strong); }
.kc-stat.live { color: var(--red-2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
 
/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: transform 0.3s var(--ease), border-color 0.3s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(227,38,31,0.4); }
.f-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: rgba(227,38,31,0.12); color: var(--red-2); font-size: 23px; margin: 0 auto 16px; }
.feature h4 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--gray); font-size: 0.96rem; }
 
/* brands */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.brand-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--bc); }
.brand-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--bc) 50%, transparent); }
.bc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bc-logo { font-family: "Sora"; font-weight: 700; font-size: 1.25rem; }
.bc-logo b { color: var(--bc); }
.bc-cat { font-size: 11px; letter-spacing: 0.1em; color: var(--gray-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.bc-desc { color: var(--gray); min-height: 48px; }
.bc-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--bc); }
.brand-card.soon { opacity: 0.92; }
.soon-tag { color: var(--gray); border: 1px dashed var(--line); padding: 4px 12px; border-radius: 999px; }
 
/* cta band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: linear-gradient(120deg, var(--red) 0%, #b71712 100%); border-radius: 26px; padding: 48px 50px; box-shadow: 0 30px 70px rgba(227,38,31,0.3); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-band .btn-primary { background: #0a0a0b; box-shadow: none; }
.cta-band .btn-primary:hover { background: #000; }
 
/* contact */
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); }
.contact-list i { color: var(--red-2); }
.contact-list a:hover { color: var(--red-2); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--gray); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--black-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  color: var(--text-strong); font-family: inherit; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,38,31,0.18); }
.form-note { color: #4ade80; font-size: 14px; text-align: center; }
 
/* footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--black-2); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--gray); margin-top: 12px; max-width: 320px; }
.footer-col h5 { font-size: 14px; margin-bottom: 14px; color: #fff; }
.footer-col a, .footer-col span { display: block; color: var(--gray); font-size: 14px; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--gray-2); font-size: 13px; }
 
/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
 
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,10,11,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px; transform: translateY(-120%); transition: transform 0.4s var(--ease); align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pillars, .features, .brands { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}