/* ===============================
   Global Reset & Base
=============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b0c10; /* dark background */
  color: #f5f5f5;
  line-height: 1.6;
}

/* Layout Wrappers */
section, header, footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1, h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(28px, 6vw, 48px);
  color: #b0000d; /* brand red */
}

h2 {
  font-size: clamp(20px, 4vw, 32px);
  color: #ffffff;
}

p, li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* ===============================
   Logo
=============================== */
.logo {
  max-width: 220px;
  margin: 0 auto 1.5rem;
  display: block;
}

/* ===============================
   Hero Section
=============================== */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, #111111, #0b0c10);
  border-bottom: 1px solid #1e1e1e;
}

.hero img {
  max-width: 320px;
  margin: 1.5rem auto;
  display: block;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  background: #b0000d; /* brand red */
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  display: inline-block;
}

.btn:hover {
  background: #d90416; /* brighter red hover */
  color: #fff;
}

/* ===============================
   Lists
=============================== */
ol, ul {
  margin-left: 1.5rem;
}

ul li::marker {
  color: #b0000d;
}

/* ===============================
   Benefits
=============================== */
.benefits ul {
  list-style: none;
  padding-left: 0;
}

.benefits li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #b0000d;
}

/* ===============================
   Previewer Section
=============================== */
.previewer {
  background: #111111;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.previewer h2 {
  margin-bottom: 0.5rem;
}

.previewer p {
  margin-bottom: 1.5rem;
  color: #bbb;
}

/* Controls layout */

.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.controls label {
  display: flex;
  flex-direction: row;   /* side by side */
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #ddd;
  gap: 0.5rem;           /* spacing between label and input */
  white-space: nowrap;   /* keep together */
}
.controls label select,
.controls label input {
  flex: 1;               /* dropdown/input takes remaining space */
}

.controls input,
.controls select {
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #f5f5f5;
}

.controls input[type="range"] {
  padding: 0;
  background: transparent;
}


@media (min-width: 768px) {
  .controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
}

/* Stroke controls grouped neatly */
.stroke-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.stroke-controls label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.note {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 0.5rem;
  display: block;
}

/* Preview tile */
#tilePreview {
  background: #000;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  overflow: hidden;
}

.sample-line {
  display: block;
  margin: 0.4rem 0;
  white-space: nowrap;     /* prevent breaking */
  overflow: hidden;        /* clip if too long */
  text-overflow: ellipsis; /* optional fallback */
}

/* Buttons */
.actions {
  display: flex;
  gap: 1rem;
}

.actions button {
  background: #b0000d;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.actions button:hover {
  background: #d90416;
}

/* ===============================
   Trucker Fonts
=============================== */

@font-face {
  font-family: 'Trucker-1';
  src: url('./fonts/Trucker-1.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-2';
  src: url('./fonts/Trucker-2.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-3';
  src: url('./fonts/Trucker-3.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-4';
  src: url('./fonts/Trucker-4.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-5';
  src: url('./fonts/Trucker-5.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-6';
  src: url('./fonts/Trucker-6.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-7';
  src: url('./fonts/Trucker-7.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-8';
  src: url('./fonts/Trucker-8.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-9';
  src: url('./fonts/Trucker-9.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-10';
  src: url('./fonts/Trucker-10.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-11';
  src: url('./fonts/Trucker-11.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-12';
  src: url('./fonts/Trucker-12.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-13';
  src: url('./fonts/Trucker-13.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-14';
  src: url('./fonts/Trucker-14.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-15';
  src: url('./fonts/Trucker-15.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-16';
  src: url('./fonts/Trucker-16.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-17';
  src: url('./fonts/Trucker-17.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-18';
  src: url('./fonts/Trucker-18.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-19';
  src: url('./fonts/Trucker-19.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-20';
  src: url('./fonts/Trucker-20.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-21';
  src: url('./fonts/Trucker-21.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-22';
  src: url('./fonts/Trucker-22.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-23';
  src: url('./fonts/Trucker-23.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-24';
  src: url('./fonts/Trucker-24.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-25';
  src: url('./fonts/Trucker-25.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-26';
  src: url('./fonts/Trucker-26.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-27';
  src: url('./fonts/Trucker-27.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-28';
  src: url('./fonts/Trucker-28.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-29';
  src: url('./fonts/Trucker-29.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-30';
  src: url('./fonts/Trucker-30.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-31';
  src: url('./fonts/Trucker-31.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-32';
  src: url('./fonts/Trucker-32.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-33';
  src: url('./fonts/Trucker-33.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-34';
  src: url('./fonts/Trucker-34.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-35';
  src: url('./fonts/Trucker-35.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-36';
  src: url('./fonts/Trucker-36.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-37';
  src: url('./fonts/Trucker-37.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-38';
  src: url('./fonts/Trucker-38.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trucker-39';
  src: url('./fonts/Trucker-39.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


/* ===============================
   Testimonials
=============================== */
.testimonials blockquote {
  border-left: 4px solid #b0000d;
  padding-left: 1rem;
  font-style: italic;
  color: #e0e0e0;
}

/* ===============================
   Contact Section
=============================== */
.contact {
  text-align: center;
}

.contact p {
  margin-top: 1rem;
  font-weight: 500;
}

.language-toggle {
  margin-top: 1rem;
}

.language-toggle button {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  margin: 0 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.language-toggle button:hover {
  background: #2e2e2e;
}

/* ===============================
   Footer
=============================== */
footer {
  text-align: center;
  border-top: 1px solid #1e1e1e;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #999999;
}

footer nav a {
  color: #b0000d;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer nav a:hover {
  text-decoration: underline;
}

/* ===============================
   Sticky CTA for Mobile
=============================== */
@media (max-width: 640px) {
  .cta-buttons.sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b0c10;
    padding: 0.75rem;
    border-top: 1px solid #1e1e1e;
    z-index: 1000;
  }
}
