/* ===== Design Tokens (matching qualityprofit.io) ===== */
:root {
  --navy-blue: #1a2332;
  --navy-light: #2d3e50;
  --profit-green: #00c853;
  --profit-green-hover: #00a142;
  --profit-green-light: rgba(0, 200, 83, 0.1);
  --profit-green-shadow: rgba(0, 200, 83, 0.2);
  --profit-green-glow: rgba(0, 200, 83, 0.3);
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --border-light: #e2e6ea;
  --border-dark: rgba(255, 255, 255, 0.1);
  --success: #28a745;
  --danger: #dc3545;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.8rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.5rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-base: 1.6;
  --lh-tight: 1.2;

  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 10px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 25px rgba(0, 200, 83, 0.2);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.1);

  --transition: 0.3s ease;

  --container-max: 1200px;
  --header-height: 70px;
}

/* ===== Inter Font (self-hosted) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--navy-blue);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--navy-blue);
  color: var(--white);
}

.section--light {
  background: var(--light-gray);
}

.text-center {
  text-align: center;
}

.text-green {
  color: var(--profit-green);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }

.section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--medium-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: var(--lh-base);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .section__title { font-size: var(--fs-2xl); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--profit-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--profit-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--profit-green-glow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-blue);
}

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--navy-blue);
}

.btn-outline:hover {
  border-color: var(--profit-green);
  color: var(--profit-green);
}

.section--dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.section--dark .btn-outline:hover {
  border-color: var(--profit-green);
  color: var(--profit-green);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-md);
}

/* ===== Cards ===== */
.card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Domain-style cards with left border accent */
.card--accent {
  background: var(--white);
  border-left: 4px solid var(--profit-green);
}

.card--accent:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.15);
}

/* ===== Badge ===== */
.badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--profit-green-light);
  color: var(--profit-green);
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
