/* Salat Lock — single-page site
   Palette from app: cream → lavender gradient, charcoal text, blue-purple CTA */

:root {
  --bg-top: #faf9f6;
  --bg-bottom: #e8ecf4;
  --bg-card: rgba(255, 255, 255, 0.7);
  --text-heading: #1e1e1e;
  --text-body: #5a5a5a;
  --text-muted: #7a7a8a;
  --accent-start: #6b6fdb;
  --accent-end: #7b6fd9;
  --accent-shadow: rgba(107, 111, 219, 0.35);
  --footer-bg: #2d2d35;
  --footer-text: #b8b8c4;
  --footer-link: #e0e0ec;
  --radius: 14px;
  --radius-lg: 20px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  min-height: 100vh;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-heading);
}

.nav a.btn-header {
  color: #fff;
}

.nav a.btn-header:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-header {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-shadow);
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 6px 20px var(--accent-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-shadow);
}

.btn-icon {
  flex-shrink: 0;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-start);
  border: 2px solid var(--accent-start);
  padding: 0.75rem 1.35rem;
}

.btn-secondary:hover {
  background: rgba(107, 111, 219, 0.08);
  box-shadow: none;
}

/* Hero */
.hero {
  padding: 3rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 480px;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.hero-title-br {
  display: none;
}

.hero-tagline {
  margin: 0 0 2.5rem;
  font-size: 1.1rem;
  color: var(--text-body);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-availability {
  margin: 0;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Features */
.features {
  padding: 4rem 1.5rem 5rem;
  background: rgba(255, 255, 255, 0.4);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features-verse {
  margin: 0 0 2.5rem;
  padding: 2rem 1.5rem;
  border: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
}

.features-verse p {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.45;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.features-verse cite {
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 600;
}

.features-intro {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text-body);
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features-intro-sub {
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  color: var(--text-body);
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
}

.feature-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

.features-close {
  margin: 2.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: center;
  line-height: 1.5;
}

/* Pricing */
.pricing {
  padding: 4rem 1.5rem 5rem;
}

.pricing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  text-align: center;
}

.pricing-intro {
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  color: var(--text-body);
  text-align: center;
  line-height: 1.6;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  border-color: var(--accent-start);
  box-shadow: 0 8px 32px var(--accent-shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 247, 255, 0.9) 100%);
}

.pricing-card-featured:hover {
  box-shadow: 0 16px 48px var(--accent-shadow);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
}

.pricing-card-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-card-price {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-save {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-start);
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}

.pricing-card:first-child .btn {
  margin-top: auto;
}

/* Legal / Support pages */
.legal-main {
  padding: 2.5rem 1.5rem 4rem;
  max-width: 680px;
  margin: 0 auto;
}

.legal-content {
  color: var(--text-body);
}

.legal-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 2rem 0 0.6rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 1.5rem 0 0.4rem;
}

.legal-content p,
.legal-content li {
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-content a {
  color: var(--accent-start);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-single-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-single-line a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-single-line a:hover {
  color: #fff;
}

.footer-sep {
  color: var(--text-muted);
  font-weight: 300;
  user-select: none;
}

.footer-legal {
  padding: 2rem 1.5rem;
}

.footer-brand {
  max-width: 220px;
}

.footer-logo {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--footer-link);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--footer-link);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.25rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title-br {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

  .hero-cta {
    align-items: center;
  }

  .phone-mockup {
    max-width: 260px;
    margin: 0 auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .nav a:not(.btn) {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
