:root {
  --bg:      #0e1511;
  --bg2:     #15201a;
  --card:    #182a20;
  --text:    #e8efdd;
  --muted:   #9fb58d;
  --accent:  #7bbf55;
  --accent2: #5fc9b0;
  --line:    rgba(255, 255, 255, 0.09);
  --radius:  14px;
  --maxw:    1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- nav --- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 1px; }
.brand .mark { width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), #2f6a26); }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* --- hero --- */
.hero { text-align: center; padding: 90px 24px 70px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; letter-spacing: -0.5px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 560px; margin: 18px auto 0; }

/* --- buttons --- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 600;
  background: var(--accent); color: #0e1511; border: 0; cursor: pointer; font-size: 16px;
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- section --- */
.section { padding: 56px 0; }
.section h2 { font-size: 28px; margin-bottom: 8px; }
.section .lead { color: var(--muted); margin-bottom: 32px; }

/* --- plugin cards --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .12s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(123,191,85,0.4); }
.card .art {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #cfe6a6 0%, #74b53c 45%, #2f6a26 100%);
  color: #0e1511; font-weight: 800; letter-spacing: 4px; font-size: 22px;
}
.card .body { padding: 18px 20px 22px; }
.card .body h3 { font-size: 19px; }
.card .body .type { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.card .body .row { display: flex; align-items: center; justify-content: space-between; }
.card .price { font-weight: 700; font-size: 18px; }

/* --- product page --- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 60px 0 40px; }
.product .art {
  height: 280px; border-radius: var(--radius);
  background: linear-gradient(160deg, #cfe6a6 0%, #74b53c 45%, #2f6a26 100%);
  display: flex; align-items: center; justify-content: center;
  color: #0e1511; font-weight: 800; letter-spacing: 6px; font-size: 30px;
}
.product h1 { font-size: 40px; }
.product .type { color: var(--accent); font-weight: 600; letter-spacing: 1px; margin: 4px 0 14px; }
.product p { color: var(--muted); }
.product .buyrow { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.product .price { font-size: 26px; font-weight: 700; }
.meta { color: var(--muted); font-size: 14px; margin-top: 14px; }

.features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px 28px; }
.features li { padding-left: 24px; position: relative; color: var(--text); }
.features li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

.note { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.note h3 { margin-bottom: 8px; }
.note p { color: var(--muted); }

/* --- footer --- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 24px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
}
