/* ============================================
   Crochet Me Knot — New Design (mlakriaa.ca inspired)
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #FAFAF7;
  --cream-2:    #F4F1EA;
  --cream-3:    #EDE8DC;
  --green:      #1C3829;
  --green-mid:  #2A5040;
  --green-acc:  #3A6B52;
  --ink-soft:   #4A5E54;
  --ink-muted:  #8A9E95;
  --border:     rgba(28,56,41,0.10);
  --border-s:   rgba(28,56,41,0.18);
  --gold:       #9DC4A8;
  --r:          14px;
  --font-d:     'Playfair Display', Georgia, serif;
  --font-b:     'DM Sans', system-ui, sans-serif;
}


html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--green); font-family: var(--font-b); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto;
  padding: 0 2.5rem; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--green); }
.nav-logo { display: none; }
.nav-cta { display: none; }

/* ── ANNOUNCE ── */
.announce-bar {
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 9px 2rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; color: var(--ink-soft);
}
.announce-badge {
  background: var(--green); color: white;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.announce-bar a { color: var(--green); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

/* ── HERO ── */
.hero { padding: 96px 2rem 80px; background: var(--cream); }
.hero-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-s); border-radius: 100px;
  padding: 6px 16px; font-size: 12px; color: var(--ink-soft);
  margin-bottom: 30px;
}
.hero-badge strong { color: var(--green); font-weight: 500; }
.hero h1 {
  font-family: var(--font-d); font-size: clamp(42px, 6vw, 70px);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--green); margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--green-acc); }
.hero p {
  font-size: 18px; font-weight: 300; color: var(--ink-soft);
  max-width: 460px; margin: 0 auto 44px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: #fff;
  padding: 13px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500; transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.82; }
.btn-secondary {
  color: var(--green); padding: 13px 20px;
  font-size: 15px; opacity: 0.55; transition: opacity 0.15s;
}
.btn-secondary:hover { opacity: 1; }
.hero-meta {
  margin-top: 56px; display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-muted); }
.hero-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-acc); }

/* ── PREVIEW STRIP ── */
.preview-strip {
  max-width: 860px; margin: 0 auto 4rem;
  padding: 0 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.preview-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.preview-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(28,56,41,0.09); }
.preview-thumb { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.preview-card:hover .preview-thumb img { transform: scale(1.04); }
.preview-card p { padding: 10px 12px; font-size: 12px; color: var(--ink-muted); text-align: center; }

/* ── SECTION COMMON ── */
section { padding: 90px 2rem; }
.section-inner { max-width: 980px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--green-acc); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-d); font-size: clamp(30px, 4vw, 44px);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--green); max-width: 520px;
}
.section-title em { font-style: italic; color: var(--green-acc); }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── FEATURES ── */
.features { background: var(--cream); }
.features-header { text-align: center; margin-bottom: 52px; }
.features-header .section-title { max-width: 100%; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 22px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--border-s); }
.feature-icon { font-size: 22px; margin-bottom: 14px; }
.feature-card h3 { font-size: 15px; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.feature-tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px; background: var(--cream-2); color: var(--ink-soft);
  padding: 3px 9px; border-radius: 100px; border: 1px solid var(--border);
}

/* ── HOW IT WORKS ── */
.how { background: var(--cream-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-header { margin-bottom: 52px; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border-s); border-radius: var(--r); overflow: hidden; background: white;
}
.step {
  padding: 38px 30px; border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-d); font-size: 52px; font-weight: 400;
  color: var(--cream-3); line-height: 1; margin-bottom: 16px;
  -webkit-text-stroke: 1px var(--border-s);
}
.step h3 { font-family: var(--font-d); font-size: 20px; font-weight: 400; color: var(--green); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ── PRICING ── */
.pricing { background: var(--cream); }
.pricing-header { text-align: center; margin-bottom: 14px; }
.pricing-sub { text-align: center; color: var(--ink-soft); font-size: 15px; margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: start; }
.price-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px; position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.price-card:hover { border-color: var(--border-s); box-shadow: 0 6px 24px rgba(28,56,41,0.07); }
.price-card.popular { border-color: var(--green); border-width: 2px; }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: white;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.price-card h3 { font-size: 15px; font-weight: 500; color: var(--green); margin-bottom: 5px; }
.price-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.6; }
.price-amount {
  font-family: var(--font-d); font-size: 40px; font-weight: 400;
  color: var(--green); margin-bottom: 4px; line-height: 1;
}
.price-amount span { font-size: 14px; font-weight: 400; color: var(--ink-muted); font-family: var(--font-b); }
.price-note { font-size: 12px; color: var(--ink-muted); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 22px; }
.price-features li {
  font-size: 13px; color: var(--ink-soft);
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 8px; align-items: flex-start;
}
.price-features li::before { content: '✓'; color: var(--green-acc); font-weight: 600; flex-shrink: 0; }
.btn-plan {
  display: block; width: 100%; text-align: center;
  padding: 11px; border-radius: 100px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  transition: opacity 0.15s; font-family: var(--font-b);
}
.btn-plan:hover:not(:disabled) { opacity: 0.82; }
.btn-plan:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-plan-dark { background: var(--green); color: #fff; }
.btn-plan-outline { background: transparent; color: var(--green); border: 1px solid var(--border-s); }
.pricing-guarantee { text-align: center; margin-top: 24px; font-size: 13px; color: var(--ink-muted); }

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--green);
  padding: 90px 2rem;
  border-top: 1px solid var(--border);
}
.testimonials .section-label { color: rgba(255,255,255,0.40); }
.testimonials .section-title { color: white; max-width: 100%; }
.testimonials .section-title em { color: var(--gold); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 48px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r); padding: 28px 24px;
}
.stars { color: var(--gold); font-size: 13px; margin-bottom: 14px; }
.testimonial-card p {
  font-family: var(--font-d); font-size: 17px; font-style: italic;
  color: rgba(255,255,255,0.88); line-height: 1.65; margin-bottom: 16px;
}
.testimonial-card b { font-size: 13px; color: rgba(255,255,255,0.40); font-weight: 500; }

/* ── FAQ ── */
.faq { background: var(--cream-2); border-top: 1px solid var(--border); }
.faq-inner { max-width: 700px; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-size: 15px; font-weight: 500;
  color: var(--green); cursor: pointer; font-family: var(--font-b);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .arrow { transition: transform 0.25s; color: var(--ink-muted); font-size: 13px; flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--green); color: #fff;
  text-align: center; padding: 90px 2rem;
}
.cta-banner h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.02em;
}
.cta-banner h2 em { font-style: italic; color: var(--gold); }
.cta-banner p { color: rgba(255,255,255,0.60); font-size: 16px; margin-bottom: 36px; }
.btn-cta-white {
  background: white; color: var(--green);
  padding: 14px 30px; border-radius: 100px;
  font-weight: 500; font-size: 15px; display: inline-block; transition: opacity 0.2s;
}
.btn-cta-white:hover { opacity: 0.90; }

/* ── FOOTER ── */
.site-footer { background: var(--green); color: rgba(255,255,255,0.70); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  max-width: 1060px; margin: 0 auto;
  padding: 64px 2.5rem 48px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo {
  font-family: var(--font-d); font-size: 16px; font-weight: 500;
  color: white; letter-spacing: 0.05em; text-transform: uppercase;
  display: block; margin-bottom: 12px;
}
.footer-logo em { font-style: italic; }
.footer-brand p { font-size: 13px; opacity: 0.50; line-height: 1.7; max-width: 240px; }
.footer-email {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-top: 18px; transition: border-color 0.15s;
}
.footer-email:hover { border-color: rgba(255,255,255,0.40); color: white; }
.footer-col h4 {
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.30); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1060px; margin: 0 auto;
  padding: 20px 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom > span { font-size: 12px; color: rgba(255,255,255,0.28); }
.payment-badges { display: flex; gap: 6px; align-items: center; }
.pbadge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px; padding: 3px 7px;
  font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 600;
}

/* ══════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════ */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--cream-2); }
.sidebar {
  background: var(--green); color: rgba(255,255,255,0.70);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-brand { padding: 28px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 6px; }
.sidebar-brand h2 {
  font-family: var(--font-d); font-size: 15px; font-weight: 500;
  color: white; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 3px;
}
.sidebar-brand span { font-size: 10px; color: rgba(255,255,255,0.30); letter-spacing: 0.06em; text-transform: uppercase; }
.sidebar a {
  display: block; padding: 10px 24px;
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  transition: color 0.15s, background 0.15s;
  border-left: 2px solid transparent;
}
.sidebar a:hover { color: white; background: rgba(255,255,255,0.06); }
.sidebar a.active { color: white; background: rgba(255,255,255,0.09); border-left-color: rgba(255,255,255,0.45); }
.sidebar a[style*="a5b4fc"] { color: #a5b4fc !important; font-weight: 600; }
.main { padding: 36px 40px; min-width: 0; }
.main h1 {
  font-family: var(--font-d); font-size: 28px; font-weight: 400;
  color: var(--green); margin-bottom: 28px; letter-spacing: -0.01em;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.card h2 { font-size: 15px; font-weight: 500; color: var(--green); padding: 18px 22px 14px; border-bottom: 1px solid var(--border); }
.card h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.price { font-size: 30px; font-weight: 500; color: var(--green); }
.cards .card { padding: 22px; }
.table { width: 100%; border-collapse: collapse; }
.table th { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); padding: 0 22px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.table td { padding: 13px 22px; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--cream); }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; cursor: pointer; border: none;
  transition: opacity 0.15s; font-family: var(--font-b); text-decoration: none;
}
.btn:hover { opacity: 0.82; }
.split { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; }
.form { background: white; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.form h2 { font-size: 15px; font-weight: 500; color: var(--green); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.form input, .form textarea, .form select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border-s); border-radius: 8px;
  font-family: var(--font-b); font-size: 14px; color: var(--green);
  background: white; outline: none; margin: 6px 0 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--green-acc);
  box-shadow: 0 0 0 3px rgba(58,107,82,0.10);
}
.form textarea { min-height: 90px; resize: vertical; }
.form input[type="file"] { background: var(--cream-2); padding: 8px 10px; }
.form label { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.form input[type="checkbox"] { width: auto; margin: 0 6px 0 0; accent-color: var(--green); }
.login { max-width: 400px; margin: 10vh auto; background: white; border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.login h2 { font-family: var(--font-d); font-size: 22px; font-weight: 400; color: var(--green); text-align: center; margin-bottom: 6px; }
.login .sub-text { text-align: center; font-size: 13px; color: var(--ink-muted); margin-bottom: 28px; }


.card-header { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-header h2 { font-size: 15px; font-weight: 500; color: var(--green); padding: 0; border: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.badge-green { background: #E6F3EC; color: #1C6B3A; }
.badge-amber { background: #FEF3E2; color: #92520A; }
.badge-red   { background: #FDECEA; color: #C0392B; }
.badge-gray  { background: var(--cream-2); color: var(--ink-soft); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .preview-strip { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .main { padding: 24px 20px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .preview-strip { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}
