﻿/**
 * Restaurant POS Landing Page - Dark Theme
 * Bootstrap 5 + custom overrides
 */

:root {
  --bg-dark: #0d1117;
  --bg-dark-elevated: #161B22;
  --bg-dark-subtle: #ffffff;
  --accent: #00d4aa;
  --accent-hover: #00b894;
  --accent-subtle: rgba(0, 212, 170, 0.12);
  --text-primary: #ffffff;
  --text-muted: #ffffff;
  --text-second: #ffffff;
  --border-subtle: #30363d;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base */
html {
  max-width: 100%;
  overflow-x: hidden;
}

body.landing-dark {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

body.landing-dark .navbar,
body.landing-dark .hero,
body.landing-dark section,
body.landing-dark footer {
  max-width: 100%;
}

/* Navbar */
.navbar {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
  z-index: 1040;
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
}

.navbar-brand {
  max-width: calc(100% - 64px);
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.navbar-brand .brand-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  margin-left: auto;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
  border-color: var(--accent) !important;
  background: rgba(0, 212, 170, 0.12);
}

.navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-width='2' d='M2 2l12 12M14 2L2 14'/%3e%3c/svg%3e") !important;
}

.text-accent {
  color: var(--accent) !important;
}

body.landing-dark .text-muted {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.landing-dark .bg-dark-subtle .text-muted {
  color: #64748b !important;
}

body.landing-dark a.text-muted:hover,
body.landing-dark a.text-muted:focus {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.landing-dark .bg-dark-subtle a.text-muted:hover,
body.landing-dark .bg-dark-subtle a.text-muted:focus {
  color: #0f172a !important;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent) !important;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1117;
  font-weight: 600;
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0d1117;
}

.btn-outline-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0, 212, 170, 0.06), transparent);
  pointer-events: none;
}

.hero-heading {
  width: 100%;
  max-width: 100%;
}

.hero-badge {
  margin-bottom: 0.75rem;
}

.hero-badge .badge {
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  white-space: normal;
  line-height: 1.35;
}

.bg-accent-subtle {
  background: var(--accent-subtle);
}

.hero-title {
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.65;
}

.hero-features li {
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  max-width: 100%;
}

.hero-actions .btn {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  line-height: 1.3;
  min-height: auto;
  flex: 0 1 auto;
}

.hero-actions .btn.btn-lg {
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
}

.hero-actions .btn i {
  font-size: 0.9rem;
}

.hero-visual {
  width: 100%;
  max-width: 100%;
  position: sticky;
  top: 6.5rem;
}

.hero-cover-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  background: #0d1117;
}

.hero-img,
.hero-cover-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 960 / 640;
  display: block;
  object-fit: fill;
}

#openScreenshotsBtn {
  min-width: 180px;
}

.hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease, background 0.28s ease;
}

.hero-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.92);
}

.hero-lightbox[hidden] {
  display: none !important;
}

.hero-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 88vh;
  transform: scale(0.72);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.hero-lightbox.is-open .hero-lightbox-stage {
  transform: scale(1);
  opacity: 1;
}

.hero-lightbox.is-closing .hero-lightbox-stage {
  transform: scale(0.86);
  opacity: 0;
}

.hero-lightbox img,
.hero-lightbox #heroLightboxImg {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  background: #111;
}

.hero-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-lightbox-close i {
  display: block;
  line-height: 1;
}

.hero-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.hero-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-lightbox-prev {
  left: 1rem;
}

.hero-lightbox-next {
  right: 1rem;
}

.hero-lightbox-count {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  z-index: 2;
}

.hero-lightbox #heroLightboxImg.is-switching {
  animation: heroShotZoomIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroShotZoomIn {
  from {
    transform: scale(0.94);
    opacity: 0.55;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-visual .hero-card {
  background: var(--bg-dark-elevated);
  border-radius: 16px;
  max-width: 320px;
  margin-left: auto;
}

.hero-carousel-img {
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-card .pos-preview .pos-item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Sections */

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
#features {
  padding-bottom: 1rem !important;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;

}

.bg-dark-subtle {
  background-color: var(--bg-dark-subtle);
}

.bg-dark-elevated {
  background-color: var(--bg-dark-elevated);
}

/* Stat cards */
.stat-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
}

/* Review cards */
.review-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  border-color: rgba(0, 212, 170, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-avatar {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-img-placeholder {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  font-size: 1.5rem;
}

/* Feature cards */
.feature-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 10px;
  font-size: 1.35rem;
  color: var(--accent);
}

/* Pricing */
.pricing-section {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 212, 170, 0.1), transparent 55%),
    var(--bg-dark);
}

.pricing-section-sub {
  color: rgba(255, 255, 255, 0.62);
  margin: 0.35rem 0 0;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.9);
  padding: 0.2rem;
  gap: 0.15rem;
}

.pricing-toggle .payment_type {
  padding: 0.55rem 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-toggle .payment_type:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-toggle .payment_type.div_active {
  background: var(--accent);
  color: #0d1117;
}

.pricing-save-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.18);
  color: inherit;
}

.pricing-toggle .payment_type:not(.div_active) .pricing-save-pill {
  background: rgba(0, 212, 170, 0.18);
  color: var(--accent);
}

.pricing-card {
  background: var(--bg-dark-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  color: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: rgba(0, 212, 170, 0.4) !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.pricing-card.pricing-popular {
  border-color: rgba(0, 212, 170, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.25), 0 16px 40px rgba(0, 212, 170, 0.12);
}

.pricing-popular-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0d1117;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-card .card-title {
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.pricing-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.35rem;
}

.pricing-card .price.display_none,
.pricing-card .price[hidden] {
  display: none !important;
}

.pricing-amount {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.pricing-period {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-was {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-save-note {
  flex-basis: 100%;
  display: inline-flex;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.14);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-desc {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.65rem 0 0;
}

.pricing-features {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.7rem;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li i {
  color: var(--accent);
  font-size: 1.05rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pricing-features li em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82em;
}

.pricing-card .btn {
  font-weight: 700;
  border-radius: 10px;
  padding: 0.7rem 1rem;
}

.pricing-card .btn-outline-accent {
  border-width: 1.5px;
}

.pricing-card .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.pricing-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Contact */
.contact-section {
  background:
    radial-gradient(ellipse 65% 40% at 80% 10%, rgba(0, 212, 170, 0.08), transparent 55%),
    var(--bg-dark);
}

.contact-section-sub {
  color: rgba(255, 255, 255, 0.62);
  margin: 0.35rem auto 0;
  max-width: 560px;
}

.contact-info-card {
  background: var(--bg-dark-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.35rem;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-info-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--accent);
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-dark-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  color: #fff;
}

.contact-form-title {
  color: #fff;
  font-weight: 700;
}

.contact-form-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.required_star {
  color: #ff6b6b;
  font-weight: 700;
}

.contact-form-card .form-label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-card .form-control {
  color: #fff;
  background: #0d1117 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  min-height: 46px;
}

.contact-form-card .form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.2);
  color: #fff;
}

.contact-form-card .form-control.is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 107, 107, 0.18);
}

.contact-form-card .field-error {
  color: #ff8e8e;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.contact-form-msg {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-form-msg.is-success {
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.35);
  color: #7dffd8;
}

.contact-form-msg.is-error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffb4b4;
}

.contact-form-card .send_mail {
  min-width: 160px;
  font-weight: 700;
}

.contact-form-card .send_mail:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.lp-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-map-wrap iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
  display: block;
}

.form-control.bg-dark {
  background: var(--bg-dark) !important;
  color: var(--text-primary);
}

.form-control.bg-dark::placeholder {
  color: var(--text-muted);
}

.form-control.bg-dark:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.2);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Feature accordion */
.accordion-feature .accordion-button {
  background: var(--bg-dark-elevated) !important;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.75rem 1rem;
  box-shadow: none;
}

.accordion-feature .accordion-button:not(.collapsed) {
  border-color: var(--accent) !important;
  color: var(--accent);
}

.accordion-feature .accordion-button::after {
  filter: invert(0.8);
}

.accordion-feature .accordion-body {
  background: transparent;
  color: var(--text-muted);
}

.landing-faq-accordion {
  max-width: 920px;
  margin: 0 auto;
}

.landing-faq-accordion .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

/* Modal dark */
.modal-content.bg-dark-elevated {
  color: var(--text-primary);
}

.modal-content .form-select.bg-dark {
  color: var(--text-primary);
}

.modal-content .form-select.bg-dark:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.2);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-dark-subtle);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}



#btnTop {
  opacity: 0.9;
}

#btnTop:hover {
  opacity: 1;
}

/* Utilities */
.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ========== Responsive ========== */

/* Large tablets and below */
@media (max-width: 991.98px) {
  .navbar {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.5rem;
    max-width: 100%;
  }

  .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .navbar-toggler {
    display: inline-flex !important;
    flex: 0 0 44px;
    margin-left: 0;
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(13, 17, 23, 0.98);
    border: 1px solid var(--border-subtle);
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: block;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0.25rem !important;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link,
  .navbar-nav .btn {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(255, 255, 255, 0.06);
  }

  .navbar-nav .btn.btn-accent,
  .navbar-nav .btn-accent {
    text-align: center;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .navbar-brand .brand-logo {
    height: 32px;
    max-width: 150px;
  }

  .hero {
    padding-top: 6.75rem;
    padding-bottom: 3.5rem;
  }

  .hero-heading {
    text-align: center !important;
    margin-bottom: 0.75rem;
    padding-top: 0.35rem;
    padding-inline: 0;
  }

  .hero-badge {
    margin-bottom: 0.65rem !important;
  }

  .hero-title {
    font-size: clamp(1.3rem, 5.2vw, 1.85rem);
    margin-bottom: 1.1rem !important;
    line-height: 1.25;
  }

  .hero-visual {
    position: static;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-cover-frame {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-features li {
    font-size: 0.875rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .section-py {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-card {
    padding: 1.25rem !important;
  }

  .pricing-card .pricing-amount {
    font-size: 1.75rem;
  }

  .contact-form-card .card-body {
    padding: 1.25rem !important;
  }

  .product-long-desc {
    padding: 1.25rem !important;
  }
}

/* Tablets portrait and below */
@media (max-width: 767.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 2.75rem;
  }

  .hero-heading {
    padding-top: 0.25rem;
    margin-bottom: 0.65rem;
  }

  .hero-title {
    font-size: clamp(1.2rem, 6.5vw, 1.55rem);
    margin-bottom: 0.95rem !important;
  }

  .hero-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    width: auto;
  }

  .section-py {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  #stats .row {
    gap: 0.75rem;
  }

  #stats .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stat-card {
    padding: 1rem !important;
  }

  .review-card .card-body {
    padding: 1rem !important;
  }

  .review-card .text-white.small,
  .review-card .text-info.small {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .feature-card .card-body {
    padding: 1rem !important;
  }

  .feature-card .card-title {
    font-size: 0.9rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  #pricing .row,
  .pricing-cards-row {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #cta .btn-lg {
    width: 100%;
    justify-content: center;
  }

  #contact .col-lg-5,
  #contact .col-lg-7 {
    margin-bottom: 1.5rem;
  }

  #contact .section-title {
    font-size: 1.5rem;
  }

  .footer .row {
    flex-direction: column;
    text-align: center;
  }

  .footer .col-md-4 {
    margin-bottom: 1rem;
  }

  .footer .col-md-4:last-child {
    margin-bottom: 0;
  }

  .footer .text-md-end {
    text-align: center !important;
  }

  .footer-social {
    justify-content: center;
  }

  #btnTop {
    margin-bottom: 0.5rem;
  }

  .product-long-desc table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-lightbox {
    padding: 3.5rem 0.75rem;
  }

  .hero-lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero-lightbox-prev {
    left: 0.35rem;
  }

  .hero-lightbox-next {
    right: 0.35rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .navbar-brand {
    font-size: 1rem;
    max-width: calc(100% - 56px);
  }

  .navbar-brand .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .navbar-brand .brand-logo {
    height: 28px;
    max-width: min(140px, 45vw);
  }

  .hero {
    padding-top: 6.25rem;
    padding-bottom: 2.25rem;
  }

  .hero-heading {
    margin-bottom: 0.5rem;
    padding-top: 0.15rem;
  }

  .hero-badge .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.15rem, 6vw, 1.35rem);
    margin-bottom: 0.85rem !important;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-features li {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }

  .hero-features li i {
    font-size: 0.85rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  #openScreenshotsBtn {
    min-width: 0;
    width: 100%;
  }

  .section-py {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .review-card .card-body {
    padding: 0.875rem !important;
  }

  .review-img-placeholder {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .feature-card .card-body {
    padding: 0.875rem !important;
  }

  .feature-card .card-title {
    font-size: 0.85rem;
  }

  .feature-list .card-title {
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .feature-list .text-white.ps-4 {
    padding-left: 0 !important;
    font-size: 0.85rem;
    word-wrap: break-word;
  }

  .pricing-toggle .btn,
  .pricing-toggle .payment_type {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
  }

  .pricing-toggle .badge {
    font-size: 0.65rem;
  }

  .pricing-card .card-body {
    padding: 1rem !important;
  }

  .pricing-card .pricing-amount {
    font-size: 1.5rem;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-social {
    gap: 0.5rem;
  }

  .product-long-desc {
    padding: 1rem !important;
  }

  .product-long-desc h1 {
    font-size: 1.35rem;
  }

  .product-long-desc h2 {
    font-size: 1.15rem;
  }

  .product-long-desc p,
  .product-long-desc li {
    font-size: 0.9rem;
  }

  .footer .text-white.small {
    font-size: 0.75rem;
  }
}

/* Touch-friendly: ensure tap targets are at least 44px */
@media (hover: none) and (pointer: coarse) {
  .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-social-link {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ========== Existing SaaS flow: pricing, contact, modal ========== */

.display_none {
  display: none !important;
}

.bg-accent {
  background-color: var(--accent) !important;
  color: #0d1117 !important;
}

.navbar .nav-link.btn-accent {
  color: #0d1117 !important;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.9);
  padding: 0.2rem;
  gap: 0.15rem;
}

.pricing-toggle .payment_type {
  padding: 0.55rem 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-toggle .payment_type:hover,
.pricing-toggle .payment_type.div_active {
  background: var(--accent);
  color: #0d1117;
}

.pricing-card .price del {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  margin-right: 0.35rem;
}

.pricing-card .price sup {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.pricing-card ul li {
  color: rgba(255, 255, 255, 0.82);
}

.product-long-desc {
  color: #c9d1d9;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-long-desc img {
  max-width: 100%;
  height: auto;
}

.product-long-desc h1,
.product-long-desc h2,
.product-long-desc h3 {
  color: var(--accent);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.product-long-desc h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

.product-long-desc h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.product-long-desc p,
.product-long-desc li {
  color: #c9d1d9;
}

.product-long-desc ul,
.product-long-desc ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.product-long-desc hr {
  border-color: var(--border-subtle);
  opacity: 1;
  margin: 2rem 0;
}

.product-long-desc a {
  color: var(--accent);
}

.product-long-desc table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  background: var(--bg-dark);
  border-radius: 10px;
}

.product-long-desc table th,
.product-long-desc table td {
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.85rem;
  color: #c9d1d9;
}

.product-long-desc table th {
  background: rgba(0, 212, 170, 0.12);
  color: #fff;
}

.custom_ds_saas-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1080;
  backdrop-filter: blur(5px);
}

.custom_ds_saas-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom_ds_saas-modal-container {
  background: var(--bg-dark-elevated);
  color: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: calc(100% - 32px);
  max-width: 500px;
}

.custom_ds_saas-modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--accent);
  color: #0d1117;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.custom_ds_saas-modal-title {
  margin: 0;
  font-weight: 700;
}

.custom_ds_saas-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 17, 23, 0.15);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom_ds_saas-close-icon {
  width: 16px;
  height: 16px;
  fill: #0d1117;
}

.custom_ds_saas-modal-content {
  padding: 1.5rem;
}

.custom_ds_saas-modal-text {
  color: #c9d1d9;
  margin-bottom: 1rem;
}

.custom_ds_saas-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.custom_ds_saas-modal-action-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.custom_ds_saas-cancel-btn {
  background: #30363d;
  color: #fff;
}

.custom_ds_saas-confirm-btn {
  background: var(--accent);
  color: #0d1117;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: #fff;
}

