/* ========================================================
   Canna Security — Brand site
   Palette: Hydra Teal #01696F on warm neutral surfaces
   Type: Inter (body) + Instrument Serif (display accent)
   ======================================================== */

:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface-alt: #FBFBF9;
  --surface-tint: #F1F0EA;
  --border: #D4D1CA;
  --border-soft: #E8E5DE;
  --text: #1F1D17;
  --text-2: #4A4842;
  --muted: #7A7974;
  --faint: #BAB9B4;

  --teal: #01696F;
  --teal-dark: #0C4E54;
  --teal-darker: #073A40;
  --teal-tint: #E2EEEF;
  --teal-soft: #F0F6F6;

  --warning: #964219;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(7, 58, 64, 0.05);
  --shadow: 0 4px 12px rgba(7, 58, 64, 0.07);
  --shadow-lg: 0 20px 50px rgba(7, 58, 64, 0.12);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

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

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--teal-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links .btn { margin-left: 6px; color: #fff; }
.nav-links .btn:hover { color: #fff; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}
.btn-lg {
  font-size: 15.5px;
  padding: 14px 22px;
  border-radius: 12px;
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 80% 20%, var(--teal-soft) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(1, 105, 111, 0.05) 0%, transparent 40%),
    var(--bg);
}

.kicker {
  display: inline-block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  padding: 6px 12px;
  background: var(--teal-tint);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 950px;
}

.hero h1 .accent {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 720px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  max-width: 760px;
}
.hero-trust > div {
  background: var(--surface);
  padding: 20px 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: 48px;
}

/* ============ SERVICE GRID ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-num {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.service-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.service-card ul {
  flex: 1;
  margin-bottom: 24px;
}
.service-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 8px;
  line-height: 1.45;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.service-price {
  font-size: 15px;
  color: var(--text-2);
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.service-price strong {
  color: var(--teal);
  font-weight: 700;
}

/* ============ PRICING TABLE ============ */
.pricing-table {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 2.5fr;
  align-items: center;
  padding: 18px 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
}
.row:first-child { border-top: none; }
.row-head {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.row .price {
  color: var(--teal);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.row strong { font-weight: 600; }
.row > div:last-child {
  color: var(--text-2);
  font-size: 14px;
}
.pricing-note {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

/* ============ WHY GRID ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}
.why-item {
  padding-left: 24px;
  border-left: 3px solid var(--teal);
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.why-item p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ CHECKLIST SECTION ============ */
.section-checklist {
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.checklist-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.checklist-features {
  margin: 20px 0 32px;
}
.checklist-features li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 16px;
}
.checklist-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* Mockup of checklist PDF */
.checklist-mockup {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
.mockup-page {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 8.5/11;
  background: #fff;
  border-radius: 4px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.mockup-page:hover { transform: rotate(0deg); }
.mockup-bar {
  height: 8px;
  background: var(--teal);
  border-radius: 3px;
  margin-bottom: 20px;
}
.mockup-h {
  height: 14px;
  background: var(--teal-dark);
  border-radius: 3px;
  width: 70%;
  margin-bottom: 10px;
}
.mockup-h2 {
  height: 10px;
  background: var(--teal);
  border-radius: 3px;
  width: 50%;
  margin: 22px 0 12px;
}
.mockup-sub {
  height: 6px;
  background: var(--faint);
  border-radius: 3px;
  width: 85%;
  margin-bottom: 22px;
}
.mockup-line {
  height: 5px;
  background: #E5E3DC;
  border-radius: 3px;
  margin-bottom: 8px;
}
.mockup-line.short { width: 55%; }

/* ============ CTA ============ */
.section-cta {
  background: var(--teal-darker);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.section-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
}
.section-cta .btn-primary {
  background: #fff;
  color: var(--teal-darker);
  border-color: #fff;
}
.section-cta .btn-primary:hover {
  background: var(--teal-soft);
  color: var(--teal-darker);
  border-color: var(--teal-soft);
}
.section-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.section-cta .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-fineprint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 32px;
  letter-spacing: 0.02em;
}

/* ============ FOOTER ============ */
.footer {
  background: #0A2E32;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.logo-foot { color: #fff; margin-bottom: 14px; }
.footer-tag {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
.footer-cols a:hover { color: #fff; }
.footer-cols .muted {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14.5px;
  margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .muted { color: rgba(255, 255, 255, 0.4); }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .service-grid,
  .why-grid,
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .checklist-inner { grid-template-columns: 1fr; gap: 40px; }
  .row { grid-template-columns: 1fr 1fr; padding: 14px 18px; row-gap: 4px; }
  .row > div:last-child { grid-column: 1 / 3; color: var(--muted); }
  .row-head > div:last-child { display: none; }
  .row-head { grid-template-columns: 1fr 1fr 1fr; }
  .row-head > div:nth-child(3) { text-align: right; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .mockup-page { max-width: 240px; }
}

@media (max-width: 480px) {
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* === Contact form === */
.contact-form {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-field .req {
  color: #ffb380;
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #14272a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #5fb8bd;
  box-shadow: 0 0 0 3px rgba(95, 184, 189, 0.25);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
}
.form-footnote a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-success {
  max-width: 640px;
  margin: 32px auto 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
}
.form-success h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}
.form-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.form-success a {
  color: inherit;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
}
