/* ================================================================
   HandyPrintz Landing Page Styles
   Mobile-first responsive design with dark + accent blue palette
   ================================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #e4e4e7;
  background-color: #0f0f12;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  /* Theme variables */
  --muted-text: #a1a1aa;
  --accent-blue: #2563eb;
  --accent-green: #22c55e;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

/* ── Layout ────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: #e4e4e7;
  border-color: #3f3f46;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ── Navigation ────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e24;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: #2563eb;
}

/* Hamburger button (visible on mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #a1a1aa;
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-toggle:hover span {
  background: #fff;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(15, 15, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272a;
  padding: 16px 20px;
  gap: 16px;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  font-size: 0.95rem;
  color: #a1a1aa;
  transition: color 0.2s;
}

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

/* ── Hero Section ──────────────────────────────────────────── */

.hero {
  padding: 100px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    #0f0f12;
}

.hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero h1 br {
  display: none;
}

.hero-sub {
  font-size: 1rem;
  color: #71717a;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 0.95rem;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 0 20px;
}

/* ── Demo Callout ─────────────────────────────────────────── */

.demo-callout {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 6px;
  display: inline-block;
}

/* ── Find Your Print Shop ───────────────────────────────── */

.find-shop {
  padding: 20px 0 44px;
  background: linear-gradient(180deg, #0f0f12 0%, #12131a 100%);
}

.find-shop-card {
  max-width: 760px;
  margin: 0 auto;
  background: #171821;
  border: 1px solid #2a2b35;
  border-radius: 14px;
  padding: 24px 18px;
}

.find-shop-head h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 8px;
  text-align: center;
}

.find-shop-head p {
  color: #a1a1aa;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.find-shop-form label {
  display: block;
  color: #e4e4e7;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.find-shop-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.find-shop-controls input {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #3a3b46;
  background: #111219;
  color: #fff;
  padding: 0 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.find-shop-controls input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.find-shop-controls input::placeholder {
  color: #71717a;
}

.find-shop-controls button {
  width: 100%;
}

.find-shop-controls button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.find-shop-help {
  margin-top: 8px;
  color: #8a8a93;
  font-size: 0.82rem;
}

.find-shop-message {
  min-height: 24px;
  margin-top: 10px;
  font-size: 0.88rem;
  color: #a1a1aa;
}

.find-shop-message.is-pending {
  color: #93bbfd;
}

.find-shop-message.is-success {
  color: #4ade80;
}

.find-shop-message.is-error {
  color: #f87171;
}

.find-shop-result {
  margin-top: 12px;
  background: #111219;
  border: 1px solid #2d2f3a;
  border-radius: 10px;
  padding: 16px;
}

.find-shop-label {
  color: #93bbfd;
  font-size: 0.82rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.find-shop-result h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ── Pricing Teaser ───────────────────────────────────────── */

.pricing-teaser {
  padding: 32px 0;
  text-align: center;
  background: linear-gradient(180deg, #0f0f12 0%, #13131a 100%);
}

.pricing-main {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.pricing-sub {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ── Trust Strip ──────────────────────────────────────────── */

.trust-strip {
  padding: 20px 0;
  text-align: center;
  background: #13131a;
  border-top: 1px solid #1e1e24;
  border-bottom: 1px solid #1e1e24;
}

.trust-strip p {
  font-size: 0.88rem;
  color: var(--muted-text);
}

.trust-strip strong {
  color: #22c55e;
  font-weight: 600;
}

/* ── Section CTA (lower-page) ─────────────────────────────── */

.section-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.see-demo-link {
  font-size: 0.85rem;
  color: #60a5fa;
  transition: color 0.2s;
}

.see-demo-link:hover {
  color: #93bbfd;
}

/* ── Section Common ───────────────────────────────────────── */

.section-sub {
  text-align: center;
  color: #71717a;
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.section-link-wrap {
  text-align: center;
  margin-top: 32px;
}

.read-more-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #60a5fa;
  transition: color 0.2s;
}

.read-more-link:hover {
  color: #93bbfd;
}

/* ── What Is HandyPrintz ──────────────────────────────────── */

.what-is {
  padding: 60px 0;
  background-color: #0f0f12;
}

.what-is h2 {
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-text {
  max-width: 760px;
  margin: 0 auto;
}

.content-text p {
  font-size: 0.95rem;
  color: #a1a1aa;
  margin-bottom: 16px;
  line-height: 1.75;
}

.what-is .read-more-link {
  display: block;
  text-align: center;
  margin-top: 8px;
}

/* ── How It Works ──────────────────────────────────────────── */

.how-it-works {
  padding: 60px 0;
  background-color: #13131a;
}

.how-it-works h2,
.why-us h2,
.privacy-highlight h2,
.cta h2,
.formats-section h2,
.faq-preview h2 {
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step {
  background: #1a1a24;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.step:hover {
  border-color: #2563eb;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.1);
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  background: #2563eb;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.6;
}

/* ── Screenshot Frame ───────────────────────────────────── */

.screenshot-frame {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #27272a;
  background: #16161f;
  overflow: hidden;
  margin-bottom: 16px;
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

.demo-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #60a5fa;
  transition: color 0.2s;
}

.demo-link:hover {
  color: #93bbfd;
}

/* ── Privacy & Security Highlight ─────────────────────────── */

.privacy-highlight {
  padding: 60px 0;
  background-color: #13131a;
}

.privacy-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #1a1a24 0%, #1e1e2a 100%);
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 32px 20px;
}

.privacy-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: #22c55e;
}

.privacy-icon svg {
  width: 100%;
  height: 100%;
}

.privacy-card h2 {
  margin-bottom: 16px;
}

.privacy-card p {
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-card .read-more-link {
  margin-top: 8px;
}

/* ── Why Choose Us ─────────────────────────────────────────── */

.why-us {
  padding: 60px 0;
  background-color: #0f0f12;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #1a1a24;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.25s;
}

.benefit:hover {
  border-color: #3f3f46;
}

.benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #2563eb;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

.benefit p {
  font-size: 0.85rem;
  color: #a1a1aa;
  line-height: 1.55;
}

/* ── Supported File Types ─────────────────────────────────── */

.formats-section {
  padding: 60px 0;
  background-color: #13131a;
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.format-item {
  background: #1a1a24;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 20px 24px;
}

.format-item strong {
  color: #fff;
  font-size: 0.95rem;
}

.format-item p {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-top: 4px;
}

.format-note {
  font-size: 0.85rem;
  color: #71717a;
  text-align: center;
  margin-top: 24px;
}

/* ── FAQ Preview ──────────────────────────────────────────── */

.faq-preview {
  padding: 60px 0;
  background-color: #0f0f12;
}

.faq-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-card {
  background: #1a1a24;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 24px;
}

.faq-card h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.65;
}

/* ── CTA Section ───────────────────────────────────────────── */

.cta {
  padding: 60px 0;
  text-align: center;
  background-color: #0f0f12;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  color: #71717a;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  padding: 48px 0 32px;
  background-color: #0a0a0d;
  border-top: 1px solid #1e1e24;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #52525b;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #71717a;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: #3f3f46;
}

/* ── Responsive: Small mobile improvements ────────────────── */

@media (max-width: 599px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-desc {
    font-size: 0.88rem;
  }

  .step {
    padding: 24px 18px;
  }

  .benefit {
    padding: 20px 16px;
  }

  .privacy-card {
    padding: 24px 16px;
  }

  .faq-card {
    padding: 20px 16px;
  }

  .format-item {
    padding: 16px 18px;
  }
}

/* ── Responsive: Phablet / small tablet (600px+) ──────────── */

@media (min-width: 600px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h1 br {
    display: inline;
  }

  .hero-sub {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    padding: 0;
  }

  .find-shop-card {
    padding: 28px 22px;
  }

  .find-shop-head h2 {
    font-size: 1.45rem;
  }

  .how-it-works h2,
  .why-us h2,
  .privacy-highlight h2,
  .cta h2,
  .what-is h2,
  .formats-section h2,
  .faq-preview h2 {
    font-size: 1.5rem;
  }

  .how-it-works,
  .why-us,
  .privacy-highlight,
  .cta,
  .what-is,
  .formats-section,
  .faq-preview {
    padding: 72px 0;
  }

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

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

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

  .faq-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .privacy-card {
    padding: 40px 32px;
  }

  .footer-links {
    gap: 24px;
  }
}

/* ── Responsive: Tablet — show desktop nav (768px+) ──────── */

@media (min-width: 768px) {

  /* Show desktop nav, hide hamburger */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    gap: 16px;
    align-items: center;
  }

  .nav-links a {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .find-shop {
    padding: 28px 0 52px;
  }

  .find-shop-controls {
    flex-direction: row;
    align-items: center;
  }

  .find-shop-controls input {
    flex: 1;
  }

  .find-shop-controls button {
    width: auto;
    min-width: 160px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-sub {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .how-it-works h2,
  .why-us h2,
  .privacy-highlight h2,
  .cta h2,
  .what-is h2,
  .formats-section h2,
  .faq-preview h2 {
    font-size: 1.7rem;
  }

  .how-it-works,
  .why-us,
  .privacy-highlight,
  .cta,
  .what-is,
  .formats-section,
  .faq-preview {
    padding: 80px 0;
  }

  .privacy-card {
    padding: 48px 40px;
  }
}

/* ── Responsive: Desktop (900px+) ─────────────────────────── */

@media (min-width: 900px) {
  .hero {
    padding: 160px 0 100px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .how-it-works,
  .why-us,
  .privacy-highlight,
  .cta,
  .what-is,
  .formats-section,
  .faq-preview {
    padding: 100px 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .format-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Last 2 items in a 3-col grid with 5 items: center them */
  .benefits .benefit:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    margin-right: 0;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-copy {
    order: 0;
  }
}

/* ── Large Desktop (1200px+) ──────────────────────────────── */

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.6rem;
  }
}