/* ==============================
   HIDDEN PANTRY – Global Styles
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --purple: #462F4D;
  --purple-light: #6B4F76;
  --orange: #EF8A54;
  --orange-light: #FFAC81;
  --orange-pale: rgba(239,138,84,0.12);
  --bg: #FDF7F2;
  --bg-card: rgba(255,255,255,0.75);
  --text: #462F4D;
  --text-muted: #7a6480;
  --border: rgba(70,47,77,0.1);
  --shadow: 0 10px 40px rgba(70,47,77,0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.8px; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--text-muted); font-weight: 400; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 700; font-family: 'Outfit', sans-serif;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 24px rgba(239,138,84,0.35);
}
.btn-primary:hover { background: #e07340; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(239,138,84,0.45); }
.btn-outline {
  background: transparent; color: var(--purple);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ── Containers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Section labels ── */
.section-badge {
  display: inline-block;
  background: var(--orange-pale); color: var(--orange);
  padding: 6px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-sub  { font-size: 1.1rem; max-width: 560px; margin: 0 auto 56px; text-align: center; }
.text-center  { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Cards (glass) ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── Blobs (bg decoration) ── */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none; z-index: -1;
}
.blob-1 { width: 450px; height: 450px; background: rgba(255,172,129,0.25); top: -100px; right: -100px; animation: floatBlob 9s ease-in-out infinite; }
.blob-2 { width: 550px; height: 550px; background: rgba(212,197,217,0.3); bottom: -150px; left: -150px; animation: floatBlob 13s ease-in-out infinite reverse; }
@keyframes floatBlob { 0%,100%{transform:translateY(0) scale(1);} 50%{transform:translateY(-30px) scale(1.05);} }

/* ── Divider ── */
.divider { width: 60px; height: 4px; background: var(--orange); border-radius: 4px; margin: 16px auto 0; }

/* ── ========================
   NAVBAR
   ======================== ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(253,247,242,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(70,47,77,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 900; color: var(--purple); letter-spacing: -0.5px;
}
.nav-logo span { color: var(--orange); }
.nav-logo img { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; }
.header-logo { width: 100px !important; height: 100px !important; transition: var(--transition); }
.header-logo:hover { transform: scale(1.05); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: var(--orange-pale); }
.nav-cta { margin-left: 12px; padding: 10px 24px !important; font-size: 14px !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; border-radius: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--purple);
  border-radius: 4px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(253,247,242,0.97); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.4rem; font-weight: 700; color: var(--purple);
  padding: 14px 40px; border-radius: 14px; transition: var(--transition);
}
.mobile-menu a:hover { color: var(--orange); background: var(--orange-pale); }
.mobile-menu .close-menu {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; font-size: 28px; cursor: pointer; color: var(--purple);
}

/* ── ========================
   FOOTER
   ======================== ── */
footer {
  background: var(--purple); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand .nav-logo span { color: var(--orange-light); }
.footer-brand p { font-size: 14px; max-width: 260px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.6);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition); color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: var(--orange); color: #fff; }

/* ── ========================
   HERO
   ======================== ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 90px; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge { margin-bottom: 20px; }
.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stat span { display: block; font-size: 1.8rem; font-weight: 900; color: var(--purple); }
.hero-stat p { font-size: 13px; font-weight: 600; }
.hero-img-wrap { position: relative; display: flex; justify-content: center; }
.hero-phone-outer {
  width: 280px; height: 560px;
  background: var(--purple);
  border-radius: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 80px rgba(70,47,77,0.25), 0 0 0 8px rgba(255,255,255,0.5);
  position: relative; overflow: hidden;
}
.hero-phone-inner {
  width: calc(100% - 16px); height: calc(100% - 16px);
  background: #000; border-radius: 38px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-phone-inner img { width: 100%; height: 100%; object-fit: contain; }
.hero-phone-placeholder {
  text-align: center; padding: 20px;
}
.hero-phone-placeholder .icon { font-size: 48px; margin-bottom: 10px; }
.hero-phone-placeholder p { font-size: 12px; color: var(--text-muted); }

/* ── ========================
   FEATURES
   ======================== ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(70,47,77,0.12); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--orange-pale); display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; line-height: 1.6; }

/* ── ========================
   SCREENSHOTS
   ======================== ── */
.screenshots { background: var(--purple); color: #fff; position: relative; overflow: hidden; }
.screenshots .section-badge { background: rgba(255,172,129,0.2); color: var(--orange-light); }
.screenshots h2, .screenshots .section-sub { color: #fff; }
.screenshots .section-sub { color: rgba(255,255,255,0.6); }
.screenshots-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-card {
  flex: 0 0 220px; height: 420px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px; overflow: hidden;
  scroll-snap-align: start;
  transition: var(--transition); cursor: pointer;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.screenshot-card:hover { transform: scale(1.04); border-color: var(--orange); }
.screenshot-card img { width: 100%; height: 100%; object-fit: contain; }
.screenshot-card .card-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(70, 47, 77, 0.9);
  color: #fff; padding: 12px; font-size: 13px; font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.screenshot-card:hover .card-title { transform: translateY(0); }
.screenshot-card.placeholder .ph-icon { font-size: 36px; margin-bottom: 8px; }
.screenshot-card.placeholder p { font-size: 12px; color: rgba(255,255,255,0.5); }
.screenshot-card.placeholder span { font-size: 11px; color: rgba(255,255,255,0.3); font-family: monospace; }
.screenshots-nav { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.screenshots-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); background: transparent;
  color: #fff; font-size: 18px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.screenshots-nav button:hover { background: var(--orange); border-color: var(--orange); }

/* ── ========================
   ABOUT
   ======================== ── */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; height: 400px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
.about-card .ph-icon { font-size: 48px; }
.about-card p { font-size: 14px; }
.about-float {
  position: absolute; right: -20px; bottom: -20px;
  background: var(--orange); color: #fff;
  border-radius: var(--radius-sm); padding: 16px 20px;
  font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(239,138,84,0.4);
}
.about-float span { display: block; font-size: 24px; font-weight: 900; }
.about-content .section-badge { margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; font-size: 15px; line-height: 1.8; text-align: justify; }
.about-list { margin: 24px 0 32px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: '✓'; width: 24px; height: 24px; background: var(--orange-pale);
  color: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; flex-shrink: 0;
}

/* ── ========================
   DOWNLOAD CTA
   ======================== ── */
.download-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; text-align: center; border-radius: 32px; padding: 72px 40px;
  position: relative; overflow: hidden; margin: 0 24px;
}
.download-cta h2 { color: #fff; margin-bottom: 16px; }
.download-cta p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 36px; }
.download-cta .blob { filter: blur(80px); }
.download-cta .blob-1 { background: rgba(255,172,129,0.15); width: 300px; height: 300px; }
.download-cta .blob-2 { background: rgba(212,197,217,0.15); width: 350px; height: 350px; }
.download-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.download-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.download-actions .btn-outline:hover { border-color: var(--orange-light); color: var(--orange-light); }

/* ── ========================
   CONTACT
   ======================== ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange-pale); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 14px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.contact-item-text span { font-size: 15px; font-weight: 700; color: var(--purple); }
.contact-form { padding: 36px; }
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--text);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { height: 120px; resize: vertical; }

/* ── ========================
   POLICY PAGES (privacy / terms)
   ======================== ── */
.policy-hero {
  padding: 140px 0 60px; text-align: center;
}
.policy-hero .nav-logo { justify-content: center; margin-bottom: 24px; }
.policy-body { padding: 0 0 80px; }
.policy-card {
  padding: 48px 52px; border-radius: 28px;
  background: #fff; box-shadow: var(--shadow);
}
.policy-card h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--orange-pale); }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p { font-size: 15px; line-height: 1.85; margin-bottom: 14px; text-align: justify; }
.policy-card ul { padding-left: 20px; margin-bottom: 14px; }
.policy-card ul li { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.6; text-align: justify; }
.policy-card a { color: var(--orange); font-weight: 600; }
.policy-updated { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }

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

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img-wrap { order: -1; }
  .hero-phone-outer { width: 220px; height: 440px; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-cta { margin: 0 12px; padding: 48px 24px; }
  .policy-card { padding: 28px 24px; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  h1 { font-size: 2rem; }
}
