/* QuickTill merged stylesheet
   - Brand: #0068D6 (brand-blue), #E6E6E6 (light-gray)
   - Combines original and enhanced styles; keeps compatibility and responsive layout.
*/

:root{
  --brand-blue: #0068D6;
  --light-gray: #E6E6E6;
  --white: #ffffff;
  --muted: #6b7280;
  --max-width: 1100px;
}

/* Reset / base */
* { box-sizing: border-box; }
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  color: #0b1723;
  background: var(--light-gray);
}

/* Containers */
.container{ max-width: 1100px; margin: 0 auto; padding: 20px; }
.container-grid{ max-width: var(--max-width); margin: 0 auto; padding: 28px; display: grid; gap: 24px; }

/* Header */
.site-header{ background: var(--white); border-bottom: 1px solid var(--light-gray); }
.site-header .container{ display: flex; align-items: center; justify-content: space-between; }
.brand{
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo{ height: 36px; width: 36px; border-radius: 6px; object-fit: cover; }
.nav a{ margin-left: 18px; color: #0b1723; text-decoration: none; }

/* Hero */
.hero{
  background: linear-gradient(180deg, var(--brand-blue), #0a7de0);
  color: #fff;
  padding: 48px 0;
}

/* hero-inner: supports both centered single-column (legacy) and two-column grid (enhanced) */
.hero .hero-inner,
.hero-inner{
  margin: 0 auto;
  max-width: 860px;
}

/* Enhanced grid layout (takes precedence for .hero-inner) */
.hero-inner{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

/* Fallback centered layout for simpler markup */
.hero .hero-inner { text-align: center; }

/* Hero text */
.hero-left h1,
.hero h1{ font-size: 2.4rem; margin: 0 0 8px; }
.hero h1{ font-size: 2.2rem; } /* keeps previous scale for older templates */
.lead{ font-size: 1.05rem; opacity: 0.95; margin-bottom: 18px; }

/* CTAs and buttons */
/* Base btn: unified */
.btn{
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  -webkit-appearance: none;
}

/* Primary variants: default (brand-blue background) */
.btn.primary{
  background: var(--brand-blue);
  color: #fff;
  border: none;
}

/* Hero-specific primary override (when you want white background in hero) */
.hero .btn.primary{
  background: var(--white);
  color: var(--brand-blue);
  border: none;
}

/* Ghost button for hero secondary */
.btn.ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

/* Old .cta (kept for legacy markup) */
.cta{
  display:inline-block;
  margin-top:14px;
  padding:10px 16px;
  border-radius:8px;
  background: rgba(255,255,255,0.12);
  color:#fff;
  text-decoration:none;
}

/* Feature list (hero) */
.feature-list{ list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.feature-list li{
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  padding: 12px;
  border-radius: 8px;
}
.feature-list li span{ opacity: 0.9; font-size: 0.95rem; color: rgba(255,255,255,0.95); }

/* Cards */
.card{
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(9,10,14,0.06);
  margin-top: 18px;
}

/* Download panel & grid */
.download-panel h3{ margin: 0 0 6px; }
.download-grid{ display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }

/* Download card */
.download-card{
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #eef3f8;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.download-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(10,20,40,0.08);
}

.icon-wrap{
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
}
.download-info .title{ font-weight: 700; }
.download-info .meta{ font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.download-action{
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
}

/* Small text / muted */
.muted{ color: var(--muted); font-size: 0.95rem; }
.small{ font-size: 0.9rem; }

/* Features grid below hero */
.features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px auto;
  max-width: var(--max-width);
  padding: 0 28px;
}
.feature-card{
  background: var(--white);
  padding: 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(10,20,40,0.04);
}
.feature-icon{ width: 36px; height: 36px; color: var(--brand-blue); margin-bottom: 6px; }

/* Messages */
.messages{ margin-top: 12px; }
.message{ padding: 10px; border-radius: 8px; }
.message.success{ background: #e6ffef; border: 1px solid #9ee6c2; }

/* Footer */
.site-footer{
  padding: 18px;
  border-top: 1px solid var(--light-gray);
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
}

/* Responsive adjustments */
@media (max-width: 980px){
  /* Stack hero columns */
  .hero-inner{ grid-template-columns: 1fr; padding: 8px; }
  .hero-right{ order: 2; }
  .hero-left{ order: 1; }

  /* Stack features */
  .features{ grid-template-columns: 1fr; padding: 0 18px; }

  /* Download grid responsive */
  .download-grid{ grid-template-columns: 1fr; }
}

/* Extra small screens tweaks */
@media (max-width: 520px){
  .brand{ font-size: 1rem; gap: 8px; }
  .logo{ height: 28px; width: 28px; }
  .hero-left h1{ font-size: 1.6rem; }
  .lead{ font-size: 1rem; }
  .container, .container-grid{ padding: 12px; }
}
