/*
Theme Name: Shop Manager
Theme URI: https://sm.softlearnhub.com
Author: Soft Learn Hub
Author URI: https://softlearnhub.com
Description: Official landing page theme for Shop Manager - POS & Inventory App
Version: 1.0.0
License: Private
Text Domain: shop-manager
*/

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

:root {
  --primary:     #E8724A;
  --primary-dark:#C9552F;
  --primary-light:#FFF0EB;
  --primary-pale: #FFF7F4;
  --dark:        #1A1111;
  --mid:         #4A3F3A;
  --muted:       #8C7B75;
  --border:      #EDE0DA;
  --white:       #FFFFFF;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-sm:   0 2px 12px rgba(232,114,74,.10);
  --shadow-md:   0 8px 36px rgba(232,114,74,.16);
  --font-display:'Sora', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(232,114,74,.35);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 32px rgba(232,114,74,.45); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; color: var(--dark); }
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--mid); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #FFF7F4 0%, #FFF0EB 50%, #FFE8DF 100%);
  padding: 90px 0 60px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,114,74,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  margin-bottom: 22px;
}
.hero-eyebrow span { font-size: 16px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
}
.hero-subtitle {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--primary);
}
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .3px; }

/* Phone mockup stack */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 560px;
}
.phone-wrap {
  position: absolute;
  width: 230px;
  filter: drop-shadow(0 24px 48px rgba(30,10,0,.22));
  transition: transform .4s;
}
.phone-main  { left: 50%; transform: translateX(-50%); z-index: 3; bottom: 0; width: 250px; }
.phone-left  { left: 0;    z-index: 2; bottom: 30px; transform: rotate(-8deg); opacity: .9; }
.phone-right { right: 0;   z-index: 2; bottom: 30px; transform: rotate(8deg);  opacity: .9; }
.phone-wrap img { border-radius: 32px; width: 100%; }

/* SECTION SHARED */
.section { padding: 88px 0; }
.section-alt { background: var(--primary-pale); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  color: var(--dark); margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-sub { font-size: 16px; color: var(--mid); line-height: 1.65; }

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.feature-desc { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* SCREENSHOTS */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}
.screenshot-item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s;
}
.screenshot-item:nth-child(2),
.screenshot-item:nth-child(4) { transform: translateY(-20px); }
.screenshot-item:hover { transform: translateY(-8px) !important; }
.screenshot-item img { width: 100%; display: block; }
.screenshot-label {
  text-align: center; font-size: 12px;
  font-weight: 600; color: var(--muted);
  margin-top: 12px; letter-spacing: .3px;
}

/* HOW IT WORKS */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 30px; left: calc(33% + 20px); right: calc(33% + 20px);
  height: 2px; background: var(--border);
}
.step { text-align: center; }
.step-num {
  width: 60px; height: 60px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* PLANS */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.plan-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 36px 30px;
  background: var(--white);
  position: relative;
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px;
}
.plan-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--mid); margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  font-size: 14px; color: var(--mid);
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* DOWNLOAD CTA */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, #C9552F 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.08); border-radius: 50%;
}
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.cta-sub   { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--primary); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.btn-white:hover { background: #f5f5f5; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* PLAY STORE BADGE */
.playstore-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--dark); color: var(--white);
  border-radius: var(--radius-sm); padding: 10px 22px;
  text-decoration: none; transition: background .2s, transform .2s;
}
.playstore-btn:hover { background: #333; transform: translateY(-2px); text-decoration: none; color: var(--white); }
.playstore-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.playstore-text small { display: block; font-size: 10px; color: rgba(255,255,255,.7); font-weight: 400; }
.playstore-text strong { font-size: 15px; font-weight: 700; }

/* FOOTER */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.footer-brand-name img { width: 32px; border-radius: 7px; }
.footer-desc { font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--primary); }

/* FORM */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-body);
  color: var(--dark); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,114,74,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-success {
  background: #e6f9ee; border: 1.5px solid #52c17a;
  border-radius: var(--radius-sm); padding: 16px 20px;
  color: #1a6636; font-size: 14px; font-weight: 500;
  display: none;
}
.form-error {
  background: #fff0eb; border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm); padding: 16px 20px;
  color: var(--primary-dark); font-size: 14px;
  display: none;
}

/* POLICY PAGE */
.policy-content {
  max-width: 780px; margin: 0 auto;
  padding: 60px 0 80px;
}
.policy-content h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.policy-meta { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.policy-content h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 36px 0 12px; }
.policy-content p  { font-size: 15px; color: var(--mid); line-height: 1.75; margin-bottom: 14px; }
.policy-content ul { padding-left: 20px; margin-bottom: 14px; }
.policy-content li { font-size: 15px; color: var(--mid); line-height: 1.75; margin-bottom: 6px; }

/* INNER PAGE HERO */
.page-hero { background: var(--primary-pale); padding: 60px 0 50px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.page-hero p  { font-size: 16px; color: var(--mid); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle    { max-width: 100%; }
  .hero-actions     { justify-content: center; }
  .hero-stats       { justify-content: center; }
  .hero-phones      { height: 360px; margin-top: 20px; }
  .phone-main       { width: 180px; }
  .phone-left, .phone-right { width: 160px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2,1fr); }
  .screenshots-grid .screenshot-item:nth-child(2),
  .screenshots-grid .screenshot-item:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .section          { padding: 60px 0; }
  .nav-links        { display: none; }
  .hero             { padding: 60px 0 40px; }
  .hero-phones      { height: 280px; }
  .phone-left,.phone-right { display: none; }
  .phone-main       { width: 200px; }
  .steps            { grid-template-columns: 1fr; }
  .steps::before    { display: none; }
  .cta-block        { padding: 48px 24px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
