
/* SMARTSHOP POS - PROFESSIONAL WEBSITE STYLES */

:root {
  --navy: #071b3a;
  --navy-light: #102f59;
  --gold: #ffd21f;
  --gold-dark: #d9a900;
  --text: #142744;
  --muted: #71819a;
  --light: #f5f8fc;
  --white: #ffffff;
  --border: #e3eaf3;
  --shadow: 0 15px 40px rgba(7, 27, 58, .09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

/* NAVIGATION */

.topbar {
  min-height: 78px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.6px;
}

.brand b {
  color: var(--gold);
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .7px;
  color: #b9c8df;
}

.brand-mark {
  font-size: 35px;
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #dce7f8;
}

nav a {
  transition: color .25s ease;
}

nav a:hover {
  color: var(--gold);
}

.lang-btn {
  background: transparent;
  border: 1px solid #526986;
  border-radius: 25px;
  color: white;
  padding: 9px 17px;
  cursor: pointer;
  transition: .25s;
}

.lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 27px;
  cursor: pointer;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border-radius: 9px;
  font-weight: 750;
  font-size: 14px;
  transition: transform .25s, box-shadow .25s, background .25s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(255, 210, 31, .2);
}

.primary:hover {
  background: #ffe16a;
  box-shadow: 0 12px 28px rgba(255, 210, 31, .3);
}

.secondary {
  border: 1px solid #8196b5;
  color: white;
}

.secondary:hover {
  background: white;
  color: var(--navy);
}

/* HERO */

.hero {
  min-height: 590px;
  padding: 85px 7%;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 50px;
  align-items: center;
  background:
    radial-gradient(circle at 80% 30%, #1d477a 0, #0a254b 37%, #071b3a 75%);
  color: white;
  overflow: hidden;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 850;
  color: var(--gold-dark);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy > p {
  font-size: 18px;
  line-height: 1.8;
  color: #c9d7eb;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.platforms {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #c6d4e7;
  font-size: 12px;
}

/* APP MOCKUP */

.hero-art {
  position: relative;
  padding: 20px;
  animation: float 5s ease-in-out infinite;
}

.app-window {
  background: #eaf1fb;
  border: 7px solid #d5dfed;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px #0008;
  transform: perspective(900px) rotateY(-7deg);
}

.window-head {
  height: 38px;
  background: white;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #60718a;
  font-size: 11px;
}

.window-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f6bd3c;
}

.window-head span {
  margin-left: 10px;
}

.mock-body {
  display: flex;
  min-height: 280px;
  color: #132a4d;
}

.mock-body aside {
  width: 31%;
  background: #0a2850;
  color: white;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 11px;
}

.mock-logo {
  text-align: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 10px;
}

.mock-body label {
  padding: 8px;
  background: #ffffff12;
  border-radius: 5px;
}

.mock-main {
  flex: 1;
  padding: 20px;
}

.mock-welcome {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
}

.mock-banner {
  background: #d8f7e6;
  color: #087d45;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.mock-stats div {
  background: white;
  padding: 10px;
  border-radius: 7px;
  font-size: 9px;
}

.mock-stats strong {
  display: block;
  font-size: 15px;
  margin-top: 8px;
}

.mock-chart {
  height: 85px;
  background: white;
  border-radius: 7px;
  margin-top: 12px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  padding: 10px;
}

.mock-chart span {
  width: 8%;
  background: linear-gradient(var(--gold), #e8a900);
  border-radius: 4px 4px 0 0;
  height: 55%;
}

.mock-chart span:nth-child(2) { height: 75%; }
.mock-chart span:nth-child(3) { height: 45%; }
.mock-chart span:nth-child(4) { height: 88%; }
.mock-chart span:nth-child(5) { height: 65%; }
.mock-chart span:nth-child(6) { height: 95%; }
.mock-chart span:nth-child(7) { height: 72%; }

.float-tag {
  position: absolute;
  bottom: -4px;
  right: -5px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 19px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: var(--shadow);
}

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

/* TRUST STRIP */

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: center;
  padding: 23px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.trust-strip b {
  color: #18385f;
}

/* GENERAL SECTIONS */

.section {
  padding: 90px 7%;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-heading h2,
.download-section h2,
.about h2 {
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 13px 0;
  color: #10294d;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.8;
}

/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: white;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 8px 25px #17365b0b;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.feature:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #f0cf55;
}

.feature > span {
  font-size: 31px;
}

.feature h3 {
  margin: 17px 0 8px;
  color: #10294d;
  font-size: 18px;
}

.feature p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

/* DOWNLOAD SECTION */

.download-section {
  padding: 85px 7%;
  background: #eaf0f8;
  text-align: center;
}

.download-section > div:first-child p {
  color: var(--muted);
  margin-top: 10px;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 22px;
  margin: 40px auto 18px;
}

.download-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform .3s;
}

.download-card:hover {
  transform: translateY(-6px);
}

.device-icon {
  font-size: 36px;
  color: var(--gold-dark);
}

.download-card h3 {
  margin: 15px 0;
  color: var(--navy);
  font-size: 19px;
}

.download-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.download-card .primary {
  width: 100%;
  background: var(--navy-light);
  color: white;
}

.download-card .primary:hover {
  background: #19477e;
}

.download-card small {
  display: block;
  margin-top: 13px;
  color: #8795a8;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.disabled {
  opacity: .55;
  cursor: not-allowed;
}

.download-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}

/* GETTING STARTED */

.getting-started {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 950px;
  margin: auto;
}

.steps > div {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  transition: transform .25s;
}

.steps > div:hover {
  transform: translateY(-5px);
}

.steps b {
  color: var(--gold-dark);
  font-size: 13px;
}

.steps h3 {
  margin: 10px 0;
  color: var(--navy);
}

.steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.guide-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.guide-links span {
  background: #edf3fa;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 13px;
  color: #29476e;
}

/* ABOUT */

.about {
  padding: 65px 10%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 28px;
}

.about h2 {
  color: white;
}

.about p {
  color: #c5d3e7;
  line-height: 1.8;
  max-width: 700px;
}

.about-mark {
  font-size: 55px;
  color: var(--gold);
}

/* FOOTER */

footer {
  background: #041329;
  color: #aabbd2;
  padding: 30px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer p,
footer > a:last-child {
  font-size: 12px;
}

footer > a:last-child:hover {
  color: var(--gold);
}

/* URDU / RTL */

body.urdu {
  direction: rtl;
}

body.urdu .hero,
body.urdu .section,
body.urdu .download-section,
body.urdu .about {
  text-align: right;
}

body.urdu .hero h1,
body.urdu .section-heading h2 {
  letter-spacing: 0;
}

body.urdu .steps > div {
  border-left: 0;
  border-right: 3px solid var(--gold);
}

body.urdu nav {
  direction: rtl;
}

/* TABLET */

@media (max-width: 1000px) {
  .topbar {
    padding: 0 5%;
  }

  .hero {
    gap: 25px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    gap: 17px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .topbar {
    min-height: 68px;
    padding: 0 5%;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    font-size: 29px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 22px 6%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 12px 20px #0003;
  }

  nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 58px 6%;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-art {
    max-width: 570px;
    width: 100%;
    margin: auto;
    padding: 8px;
  }

  .app-window {
    transform: none;
  }

  .mock-body {
    min-height: 220px;
  }

  .mock-body aside {
    font-size: 9px;
  }

  .mock-main {
    padding: 12px;
  }

  .mock-welcome {
    font-size: 13px;
  }

  .mock-stats strong {
    font-size: 11px;
  }

  .float-tag {
    right: 0;
    font-size: 10px;
  }

  .trust-strip {
    gap: 12px;
    padding: 18px 10px;
    font-size: 11px;
  }

  .section,
  .download-section {
    padding: 65px 6%;
  }

  .feature-grid,
  .download-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 25px;
  }

  .download-card {
    padding: 27px;
  }

  .about {
    padding: 48px 7%;
    align-items: flex-start;
    flex-direction: column;
  }

  .about-mark {
    font-size: 40px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 7%;
  }

  body.urdu .hero,
  body.urdu .section,
  body.urdu .download-section {
    text-align: right;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 35px;
  }

  .mock-body aside {
    width: 28%;
    padding: 10px 5px;
  }

  .mock-main {
    padding: 9px;
  }

  .mock-stats {
    gap: 4px;
  }

  .mock-stats div {
    padding: 6px;
  }

  .mock-stats strong {
    font-size: 9px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  transition: .2s;
}

.whatsapp-link:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.wa-icon {
  font-size: 20px;
}
