/*
Theme Name: Drillstarter Pro
Author: Tars
Description: Lightweight WooCommerce theme for Drillstarter Pro launch.
Version: 1.0.1
Text Domain: drillstarter-pro
*/

:root {
  --ds-bg: #f4f6f7;
  --ds-panel: #ffffff;
  --ds-ink: #17191c;
  --ds-muted: #697079;
  --ds-line: #d8dde2;
  --ds-accent: #21c7ac;
  --ds-accent-dark: #12927d;
  --ds-hot: #ef4444;
  --ds-steel: #2b3036;
  --ds-radius: 8px;
  --ds-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
  --ds-max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(33, 199, 172, 0.6);
  text-underline-offset: 0.2em;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(23, 25, 28, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap,
.section-inner {
  width: min(var(--ds-max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #39a3ff;
  font-weight: 900;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.main-nav li,
.footer-links li {
  display: inline-flex;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a:hover {
  color: #fff;
}

.nav-cta,
.button,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--ds-accent);
  color: #062421;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: #35dec4;
}

.hero {
  background:
    radial-gradient(circle at 72% 34%, rgba(33, 199, 172, 0.18), transparent 32%),
    linear-gradient(135deg, #f7f8f9 0%, #e8ecef 54%, #d6dde3 100%);
  border-bottom: 1px solid var(--ds-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 52px;
  align-items: center;
  min-height: 650px;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ds-accent-dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #3b4148;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button.secondary {
  background: #fff;
  color: var(--ds-ink);
  border: 1px solid var(--ds-line);
}

.hero-visual {
  min-height: 420px;
  border: 1px solid rgba(23, 25, 28, 0.12);
  border-radius: var(--ds-radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22)),
    url("https://static.wixstatic.com/media/c956d2_f4dcf5efa81748f997bb04b997dcb7ff~mv2.jpg/v1/fit/w_1600,h_900,q_90/file.jpg") center / cover;
  box-shadow: var(--ds-shadow);
}

.section {
  padding: 82px 0;
}

.section.dark {
  background: var(--ds-steel);
  color: #fff;
}

.section.white {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--ds-muted);
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.benefit-grid,
.tech-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit,
.tech-card,
.support-card,
.faq-card {
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: var(--ds-panel);
  padding: 24px;
}

.dark .tech-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.benefit strong,
.tech-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.benefit p,
.tech-card p,
.support-card p,
.faq-card p {
  margin: 0;
  color: var(--ds-muted);
}

.dark .tech-card p {
  color: rgba(255, 255, 255, 0.72);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compare-panel {
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: #fff;
  padding: 28px;
}

.compare-panel.pro {
  border-color: rgba(33, 199, 172, 0.55);
  box-shadow: var(--ds-shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--ds-accent);
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--ds-radius);
  background: var(--ds-ink);
  color: #fff;
  padding: 34px;
}

.product-strip p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.content-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.content-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-page .entry-content {
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-card h3 {
  margin-bottom: 10px;
}

.manual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}

.site-footer {
  background: #111316;
  color: rgba(255, 255, 255, 0.72);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.woocommerce .products ul,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  clear: both;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
  content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: #fff;
  padding: 16px;
}

.woocommerce ul.products li.product a {
  text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
}

.woocommerce ul.products li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 0 14px;
  border-radius: 4px;
  background: #f7f8f9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.7em;
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  display: block;
  margin: 0 0 14px;
  color: var(--ds-accent-dark);
  font-weight: 800;
}

.woocommerce ul.products li.product .button {
  align-self: flex-start;
  min-height: 38px;
  margin-top: auto;
  padding: 0 14px;
  font-size: 0.9rem;
}

.woocommerce-result-count {
  margin: 0 0 18px;
  color: var(--ds-muted);
}

.woocommerce-ordering {
  margin: 0 0 18px;
}

.woocommerce-ordering select {
  min-height: 40px;
  border: 1px solid var(--ds-line);
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-grid,
  .compare,
  .product-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 52px 0 42px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .benefit-grid,
  .tech-grid,
  .support-grid,
  .woocommerce .products ul,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }
}
