/* ==========================================================
   PrintKaro - Modern Tech SaaS Theme
   Deep Midnight Navy + Electric Royal Blue + Energy Orange
   Crisp, High-Trust, Unique (Zero resemblance to previous site)
   ========================================================== */
:root {
  --navy: #0f172a;
  --navy-dark: #090d16;
  --navy-surface: #1e293b;
  --ink: #0f172a;
  --ink-light: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  
  /* Brand Colors from Logo */
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  
  --orange: #ff6b00;
  --orange-hover: #e05e00;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  
  --purple: #7c3aed;
  --success: #10b981;
  --success-bg: #ecfdf5;
  
  /* Backgrounds: Clean Modern Slate/White (NOT yellow paper) */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(37, 99, 235, 0.2);
  --shadow-orange: 0 12px 30px -4px rgba(255, 107, 0, 0.3);
  
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top Announcement Bar ── */
.top-banner {
  background: linear-gradient(90deg, #0f172a, #1e3a8a 50%, #2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-banner b { color: #fed7aa; }
.top-banner a {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.2s;
}
.top-banner a:hover { background: #fff; color: var(--navy); }

/* ── Super Cool Floating Glassmorphism Header ── */
.header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 100px;
  padding: 8px 12px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.brand span b { color: var(--orange); }
.brand-logo-img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid var(--line);
}

/* Middle Nav Pill Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid #e2e8f0;
  padding: 4px 6px;
  border-radius: 100px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.nav-links a:hover {
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-login {
  border: 1px solid var(--line-strong) !important;
  background: #ffffff !important;
  color: var(--navy) !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.btn-login:hover {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  background: var(--blue-light) !important;
  transform: translateY(-1px);
}
.btn-register-nav {
  background: linear-gradient(135deg, var(--orange), #ea580c);
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register-nav:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

/* Online Pulse Dot for 24/7 Support */
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
}

/* ── Hero Section ── */
.hero {
  padding: 68px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 0, 0.04) 50%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid var(--blue-border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.hero-title {
  font-size: clamp(34px, 5.8vw, 58px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: var(--navy);
}
.hero-title .highlight {
  background: linear-gradient(120deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.65;
  font-weight: 500;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-hero {
  background: linear-gradient(135deg, var(--orange), #ea580c);
  color: #fff;
  padding: 16px 34px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255, 107, 0, 0.4); }
.btn-outline {
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  padding: 15px 30px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* Steps summary row */
.steps-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.step-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.step-item span.emoji { font-size: 18px; }
.step-sep { color: var(--muted-light); font-weight: 800; }

/* ── Interactive Demo Preview Box ── */
.demo-preview-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  margin: 0 auto 64px;
  max-width: 980px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 768px) {
  .demo-grid { grid-template-columns: 1fr; }
}
.demo-col {
  text-align: center;
  padding: 20px 16px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.demo-col h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.demo-col p { font-size: 12px; color: var(--muted); }
.qr-box {
  background: #fff;
  padding: 14px;
  border-radius: 14px;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin: 10px 0;
}
.phone-mockup {
  background: var(--navy);
  border-radius: 22px;
  padding: 12px;
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-md);
}
.phone-screen {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  color: var(--navy);
  font-size: 12px;
}
.print-anim {
  font-size: 44px;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ── Calculator Section ── */
.calculator-sec {
  padding: 50px 0;
}
.calc-card {
  background: linear-gradient(135deg, #090d16, #0f172a 60%, #1e293b);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) {
  .calc-card { grid-template-columns: 1fr; padding: 26px; gap: 30px; }
}
.calc-left h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.calc-left h2 span { color: var(--orange); }
.calc-left p { color: var(--muted-light); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.calc-control { margin-bottom: 22px; }
.calc-control label { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.calc-control input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  height: 6px;
  background: #334155;
  border-radius: 4px;
}
.calc-right {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.stat-pill { margin-bottom: 18px; }
.stat-pill .num {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-pill .label { font-size: 13px; color: var(--muted-light); }
.calc-tag {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 10px;
}

/* ── Features Grid ── */
.features-sec { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; color: var(--navy); }
.section-head p { color: var(--muted); font-size: 15.5px; max-width: 600px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-border);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Pricing Section ── */
.pricing-sec {
  padding: 70px 0;
  background: #f1f5f9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
}
.price-card.popular {
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.14);
  transform: scale(1.02);
}
.pop-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--orange));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
}
.price-head h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.price-head .price-tag {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.price-head .price-tag small { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.price-features {
  list-style: none;
  margin: 18px 0 26px;
  font-size: 13px;
  color: var(--ink-light);
}
.price-features li {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  background: var(--navy);
  color: #fff;
  transition: all 0.2s;
}
.price-card.popular .btn-plan {
  background: var(--blue);
  box-shadow: var(--shadow-lg);
}
.btn-plan:hover { opacity: 0.92; }

/* ── Modals & Dialogs ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #fff;
  border-radius: 22px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
}
.modal-close:hover { background: #e2e8f0; color: var(--navy); }

/* ── Form Styles ── */
.form-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 550px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 700;
}
.footer-links a:hover { color: var(--blue); }

/* ── Mobile Responsive Overrides ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 34px; }
}

/* Brand Logo Sizing Fixes */
.brand-logo-lg {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  border-radius: 14px;
  object-fit: contain;
  margin: 0 auto 12px !important;
  display: block !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.brand-logo-img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 8px;
  object-fit: contain;
  vertical-align: middle;
}
.modal-box {
  max-width: 440px !important;
  width: 92% !important;
  overflow-x: hidden !important;
  border-radius: 20px !important;
  padding: 26px 22px !important;
}

/* Responsive Floating Navbar */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .header { top: 8px; padding: 0 10px; }
  .nav-inner { padding: 8px 12px 8px 14px; }
  .brand { font-size: 18px; }
  .brand-logo-img { width: 32px !important; height: 32px !important; }
  .btn-login { padding: 7px 12px !important; font-size: 12px !important; }
  .btn-register-nav { padding: 8px 14px; font-size: 12px; }
}
