/* Pirso POS — Warm Gujarati Kitchen Marketing Design System */
:root {
  --bg: #FAF4EA;           /* Malai */
  --surface: #FFFFFF;
  --ink: #2B1B14;          /* Chai */
  --ink-2: #6B584E;
  --muted: #A89B93;
  --line: #EAE0D3;

  --brand: #E8743B;        /* Kesar */
  --accent: #C4501F;       /* Kulhad */
  --accent-hover: #AD4418;
  --accent-soft: #FBECE4;

  --haldi: #F2B33D;
  --haldi-soft: #FDF3DB;
  --haldi-ink: #7A5300;

  --pista: #3F7A4A;
  --pista-soft: #E8F3EA;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', 'Noto Sans Gujarati', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-gujarati: 'Noto Sans Gujarati', sans-serif;

  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 2px 10px rgba(43, 27, 20, 0.05);
  --shadow-phone: 0 24px 60px rgba(43, 27, 20, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 244, 234, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-guj {
  font-family: var(--font-gujarati);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.btn:active {
  transform: scale(0.975);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink-2);
}

.btn-pill {
  border-radius: var(--radius-pill);
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 44px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  color: var(--ink);
}

.hero-guj {
  font-family: var(--font-gujarati);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 500px;
  margin: 0 0 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pista);
}

/* Flagship iPhone 17 Showcase */
.phone-stage {
  display: flex;
  justify-content: center;
}

.iphone17-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px 0;
}

.iphone17-frame {
  position: relative;
  width: 312px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, #3A2A22 0%, #1E140F 50%, #2B1B14 100%);
  box-shadow:
    0 32px 72px rgba(43, 27, 20, 0.24),
    0 8px 24px rgba(43, 27, 20, 0.12),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  animation: phoneFloat 5s ease-in-out infinite;
}

.iphone17-btn-left-1,
.iphone17-btn-left-2,
.iphone17-btn-right {
  position: absolute;
  background: #3A2A22;
  border-radius: 3px;
}

.iphone17-btn-left-1 { left: -3px; top: 108px; width: 3px; height: 32px; }
.iphone17-btn-left-2 { left: -3px; top: 150px; width: 3px; height: 32px; }
.iphone17-btn-right { right: -3px; top: 128px; width: 3px; height: 52px; }

.iphone17-bezel {
  background: var(--bg);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 540px;
  position: relative;
}

.iphone17-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.dynamic-island {
  width: 88px;
  height: 24px;
  background: #0F0A08;
  border-radius: 999px;
}

.sb-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sb-signal {
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.75;
}

.sb-battery {
  width: 18px;
  height: 9px;
  border-radius: 2.5px;
  border: 1.5px solid var(--ink);
  position: relative;
}

.sb-battery::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}

.phone-screen {
  flex: 1;
  padding: 8px 14px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: screenFadeIn 240ms var(--ease);
}

@keyframes screenFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.iphone17-home-bar {
  padding: 8px 0 6px;
  display: flex;
  justify-content: center;
  background: transparent;
}

.iphone17-home-bar span {
  width: 104px;
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 27, 20, 0.25);
}

.showcase-pills {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  background: var(--surface);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.showcase-pill {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.showcase-pill.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.float-badge {
  position: absolute;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(43, 27, 20, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.float-badge-top {
  top: 72px;
  left: -34px;
}

.float-badge-bottom {
  bottom: 92px;
  right: -34px;
}

@media (min-width: 900px) {
  .float-badge {
    display: inline-flex;
  }
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.phone-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.phone-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.phone-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.p-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 120ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.p-table:active {
  transform: scale(0.97);
}

.p-table.occupied {
  background: var(--accent-soft);
  border-color: rgba(232, 116, 59, 0.45);
}

.p-table.bill {
  background: var(--haldi-soft);
  border-color: var(--haldi);
}

.p-table-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.p-table-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.p-table.occupied .p-table-meta {
  color: var(--accent);
  font-weight: 600;
}

.p-table.bill .p-table-meta {
  color: var(--haldi-ink);
  font-weight: 600;
}

.phone-action-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-top: auto;
}

.phone-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.phone-send-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background-color 150ms var(--ease);
}

.phone-send-btn:hover {
  background: var(--accent-hover);
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 6px;
  gap: 4px;
}

.phone-tab {
  border: none;
  background: transparent;
  padding: 8px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.phone-tab.active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Kitchen & Bill demo views inside phone */
.kot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

.kot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.pill-prep {
  background: var(--haldi-soft);
  color: var(--haldi-ink);
}

.pill-ready {
  background: var(--pista-soft);
  color: var(--pista);
}

/* Target Segment Band */
.segment-band {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.segment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.segment-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.segment-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.segment-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.segment-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

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

.section-head {
  max-width: 600px;
  margin-bottom: 40px;
}

.section-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* Workflow 3-column */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 80, 31, 0.35);
}

.work-num {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
  margin-bottom: 12px;
}

.work-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.work-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* Kit & QR Feature Split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.illustration-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.check-icon {
  color: var(--pista);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-soft);
}

.price-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0;
}

.price-period {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

/* Download CTA Band */
.cta-band {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 44px 28px;
  text-align: center;
  margin-bottom: 56px;
}

.cta-band h2 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: #FFFFFF;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Features Deep-Dive Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 80, 31, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* Legal & Policy Pages */
.legal-wrap {
  padding: 48px 0 72px;
}

.legal-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.legal-meta {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 26px 0 8px;
}

.legal-card p, .legal-card li {
  font-size: 15px;
  color: var(--ink-2);
}

.legal-card ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand {
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-note {
  margin: 0;
  max-width: 380px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 500;
}

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

/* Phone subtle float animation */
.phone-frame {
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Steam animation on Pirso logo */
.steam-1 {
  animation: steamFloat 2.4s ease-in-out infinite;
}
.steam-2 {
  animation: steamFloat 2.4s ease-in-out 0.7s infinite;
}

@keyframes steamFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-2.5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .steam-1, .steam-2, .phone-frame { animation: none; }
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero {
    padding: 64px 0 84px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .segment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band {
    padding: 60px 48px;
  }
  .legal-card {
    padding: 48px;
  }
}
