/* =====================================================
   TruckTaxPro Main Stylesheet
   Professional, Clean, Maintainable
   ===================================================== */

/* CSS Variables for Easy Theming */
:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary2: #1e40af;
  --accent: #06b6d4;
  --success: #16a34a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --shadow2: 0 6px 18px rgba(2,6,23,.06);
  --max: 1200px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER STYLES (Sign In Button HERE)
   ===================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logoMark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-weight: 900;
  font-family: Poppins, Inter, sans-serif;
  letter-spacing: -.5px;
  box-shadow: 0 12px 26px rgba(29,78,216,.22);
}

.brandText {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brandText .name {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -.4px;
  color: var(--text);
}

.brandText .sub {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Sign In Button (Outlined) */
.btnSignIn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  border: 2px solid var(--primary);
  background: #fff;
  font-weight: 700;
  color: var(--primary);
  transition: .2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: .9rem;
}

.btnSignIn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29,78,216,.2);
}

/* Primary Button (File Form 2290) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  color: #0f172a;
  transition: .2s ease;
  box-shadow: var(--shadow2);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btnPrimary {
  border: none;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
}

/* =====================================================
   MAIN CONTENT STYLES
   ===================================================== */

main {
  padding: 64px 0;
  min-height: 60vh;
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
}

/* Typography */
h1 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.9px;
  font-weight: 900;
  margin-bottom: 16px;
}

h2 {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  margin: 48px 0 20px;
  letter-spacing: -.5px;
}

h3 {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

p {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.7;
}

strong {
  color: var(--text);
  font-weight: 900;
}

/* Lists */
ul, ol {
  margin: 16px 0 16px 24px;
  color: var(--muted);
  font-weight: 600;
}

li {
  margin: 8px 0;
  line-height: 1.7;
}

/* Cards & Highlights */
.highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow2);
  margin: 24px 0;
}

.alert {
  background: linear-gradient(135deg, rgba(220,38,38,.08), rgba(239,68,68,.06));
  border: 1px solid rgba(220,38,38,.22);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.alert h3 {
  color: #991b1b;
  margin-top: 0;
}

.success {
  background: linear-gradient(135deg, rgba(22,163,74,.08), rgba(34,197,94,.06));
  border: 1px solid rgba(22,163,74,.22);
}

.success h3 {
  color: #065f46;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: rgba(29,78,216,.08);
  color: #1e293b;
  font-weight: 900;
  font-family: Poppins, Inter, sans-serif;
}

td {
  color: #0f172a;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin: 48px 0;
  text-align: center;
}

.cta-box h3 {
  color: #fff;
  margin: 0 0 12px;
}

.cta-box p {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-box .btn {
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 900;
}

/* =====================================================
   FOOTER STYLES (NO Sign In Button)
   ===================================================== */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #0b1220;
  color: #e5e7eb;
  margin-top: 80px;
}

footer p {
  color: rgba(229,231,235,.78);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

footer a {
  color: #e5e7eb;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

footer strong {
  color: #fff;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .nav {
    flex-wrap: wrap;
  }
  
  .nav-buttons {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  
  .btnSignIn, .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .btnSignIn, .btn {
    width: 100%;
  }
}
