/* ============================================================
   DugsiHub — index.css  (minimal SaaS redesign)
   ============================================================ */

:root {
  --bg:       #ffffff;
  --surface:  #f8f8f6;
  --surface2: #f0efeb;
  --border:   #e5e4df;
  --text:     #1a1a18;
  --muted:    #6b6b65;
  --green:    #1d6b3b;
  --green-lt: #e8f4ed;
  --accent:   #c8873a;
  --shadow:   0 1px 3px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.05);
  --shadow-lg:0 2px 8px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.09);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem; height: 62px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: var(--text);
  display: flex; align-items: center; gap: 0.45rem;
  text-decoration: none;
  justify-self: start;
}

.nav-logo-img {
  width: 28px; height: 28px;
  object-fit: contain; border-radius: 6px;
}

.nav-gem {
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 2px; transform: rotate(45deg);
  flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 2rem;
  justify-self: center;
}

.nav-links a {
  text-decoration: none; font-size: 0.85rem;
  color: var(--muted); font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex; gap: 0.75rem; align-items: center;
  justify-self: end;
}

.btn-ghost {
  padding: 0.45rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted); background: transparent;
  border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: all 0.15s;
}
.btn-ghost:hover { color: var(--text); border-color: #ccc; }

.btn-cta {
  padding: 0.45rem 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: #fff; background: var(--green);
  border: none; border-radius: 8px;
  cursor: pointer; transition: background 0.15s;
}
.btn-cta:hover { background: #165a2f; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.25s;
}

.drawer {
  display: none; position: fixed; top: 62px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem; flex-direction: column; gap: 0.5rem;
  z-index: 99;
}
.drawer.open { display: flex; }
.drawer a {
  text-decoration: none; font-size: 0.95rem; color: var(--text);
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
.drawer-btns { display: flex; gap: 0.75rem; margin-top: 0.75rem; }

/* ── HERO ── */
.hero {
  padding: 130px 0 0;
  text-align: center;
  background: var(--bg);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-lt); color: var(--green);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 1rem; border-radius: 999px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.5s ease both;
}

.tag-dot {
  width: 5px; height: 5px;
  background: var(--green); border-radius: 50%;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text); margin-bottom: 1.25rem;
  animation: fadeUp 0.55s 0.05s ease both;
}

.hero h1 em {
  font-style: italic; color: var(--green);
}

.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.7; max-width: 540px;
  margin: 0 auto 2.25rem;
  animation: fadeUp 0.55s 0.1s ease both;
}

.hero-btns {
  display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fadeUp 0.55s 0.15s ease both;
}

.btn-primary {
  padding: 0.78rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  color: #fff; background: var(--green);
  border: none; border-radius: 10px;
  cursor: pointer; transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(29,107,59,0.25);
}
.btn-primary:hover  { background: #165a2f; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.wide   { width: 100%; padding: 0.9rem; font-size: 1rem; }

.btn-secondary {
  padding: 0.78rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  color: var(--text); background: transparent;
  border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: all 0.15s;
}
.btn-secondary:hover { border-color: #bbb; background: var(--surface); }
.btn-secondary.wide  { width: 100%; padding: 0.9rem; font-size: 1rem; }

.hero-note {
  font-size: 0.78rem; color: var(--muted);
  animation: fadeUp 0.55s 0.2s ease both;
}

/* ── TICKER ── */
.ticker-wrap {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem; opacity: 0.7;
}

.ticker-row { overflow: hidden; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.ticker-track {
  display: flex; gap: 1.25rem;
  width: max-content;
  animation: ticker 25s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  flex-shrink: 0;
}

.ticker-item img {
  width: 80px; height: 80px;
  object-fit: contain; border-radius: 8px;
  display: block;
}

/* ── FEATURES ── */
.features-section {
  padding: 96px 0;
}

.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.75rem;
}

.features-section h2,
.about-section h2,
.pricing-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; color: var(--text);
  margin-bottom: 3rem; line-height: 1.2;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feat-icon {
  width: 40px; height: 40px;
  background: var(--green-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.feat-icon svg {
  width: 18px; height: 18px;
  stroke: var(--green); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.feat-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}

.feat-card p {
  font-size: 0.83rem; color: var(--muted); line-height: 1.65;
}

/* ── ABOUT ── */
.about-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.about-text p {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.8; margin-bottom: 1.75rem;
}

.about-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 0.75rem;
}

.about-bullets li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
}

.about-bullets li svg {
  width: 16px; height: 16px;
  stroke: var(--green); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.about-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

.about-stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  text-align: center;
}

.about-stat span {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--green);
  margin-bottom: 0.25rem;
}

.about-stat {
  font-size: 0.75rem; color: var(--muted);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── PRICING ── */
.pricing-section {
  padding: 96px 0;
  text-align: center;
}

.pricing-sub {
  font-size: 0.95rem; color: var(--muted);
  margin-bottom: 3rem; margin-top: -2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px; padding: 2rem;
  position: relative;
  display: flex; flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}

.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}

.pricing-top { margin-bottom: 2rem; }

.pricing-name {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem;
}

.pricing-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem; color: var(--text); line-height: 1;
  margin-bottom: 0.4rem;
}

.pricing-amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 400; color: var(--muted);
}

.pricing-overage {
  font-size: 0.75rem; color: var(--muted);
}

.pricing-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 0.75rem; margin-bottom: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex: 1;
}

.pricing-features li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.88rem; color: var(--text); font-weight: 400;
}

.pricing-features li svg {
  width: 15px; height: 15px;
  stroke: var(--green); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.pricing-features li.feat-no {
  color: var(--muted); opacity: 0.5;
}

.pricing-features li.feat-no svg {
  stroke: var(--muted);
}

.pricing-note {
  text-align: center; font-size: 0.75rem;
  color: var(--muted);
}

/* ── FOOTER ── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  padding: 0 2.5rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; color: var(--text);
  display: flex; align-items: center; gap: 0.4rem;
  justify-self: start;
}

.footer-gem {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 2px; transform: rotate(45deg);
}

.footer-links {
  display: flex; gap: 1.5rem;
  justify-self: center;
}

.footer-links a {
  text-decoration: none; font-size: 0.82rem;
  color: var(--muted); transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem; color: var(--muted);
  justify-self: end;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 1.5rem; }
}

@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-logo { justify-self: center; }
  .footer-links { justify-self: center; justify-content: center; }
  .footer-copy { justify-self: center; }
}