/*
Theme Name: HowDriver Theme
Theme URI: https://www.howdriver.com
Description: Exact copy of HowDriver.com - Global Printer Driver Solutions
Version: 1.0
Author: HowDriver
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg: #f8fafc;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ── NAVBAR ── */
.hd-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.hd-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.hd-nav__logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.hd-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hd-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.hd-nav__links a:hover { color: var(--primary); }

.hd-nav__signin {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.hd-nav__signin:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

/* ── HERO ── */
.hd-hero {
  background: var(--gradient);
  padding: 100px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hd-hero__badge span { 
  background: var(--success); 
  width: 8px; height: 8px; 
  border-radius: 50%; 
  display: inline-block; 
}

.hd-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hd-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hd-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.hd-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  color: var(--primary-dark);
}

/* ── FEATURES ── */
.hd-features {
  padding: 96px 24px;
  background: var(--white);
}

.hd-section__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.hd-section__title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.hd-section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 64px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hd-features__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.hd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.hd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(37,99,235,0.1);
  border-color: var(--primary);
}

.hd-card__icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.hd-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.hd-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA SECTION ── */
.hd-cta {
  background: var(--bg);
  padding: 96px 24px;
  text-align: center;
}

.hd-cta__box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gradient);
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 24px 80px rgba(37,99,235,0.25);
}

.hd-cta__box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.hd-cta__box p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hd-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hd-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}

/* ── FOOTER ── */
.hd-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}

.hd-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hd-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.hd-footer__brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.hd-footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hd-footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  border-left: 2px solid rgba(255,255,255,0.1);
  padding-left: 12px;
}

.hd-footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.hd-footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.hd-footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.hd-footer__col ul li a:hover { color: #fff; }

.hd-footer__col ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.hd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.hd-footer__bottom-links { display: flex; gap: 24px; }
.hd-footer__bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.hd-footer__bottom-links a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hd-nav__links { gap: 16px; }
  .hd-hero { padding: 72px 20px 88px; }
  .hd-features__grid { grid-template-columns: 1fr; }
  .hd-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hd-cta__box { padding: 48px 28px; }
}

@media (max-width: 480px) {
  .hd-nav__links a:not(.hd-nav__signin) { display: none; }
  .hd-footer__grid { grid-template-columns: 1fr; }
  .hd-footer__bottom { flex-direction: column; text-align: center; }
}
