/* EZBack Pro – Universal Stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px 10px 10px 0;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn {
  background-color: #667eea;
  color: white;
}

.btn:hover {
  background-color: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn.primary {
  background-color: #ff6b6b;
  font-size: 1.1em;
}

.btn.primary:hover {
  background-color: #ff5252;
}

.btn.secondary {
  background-color: #6c757d;
}

.btn.secondary:hover {
  background-color: #5a6268;
}

.btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Links */
a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #5568d3;
  text-decoration: underline;
}

/* Text Formatting */
strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Courier New", monospace;
}

blockquote {
  border-left: 4px solid #667eea;
  padding-left: 20px;
  margin-left: 0;
  font-style: italic;
  color: #666;
}

/* Lists */
ul, ol {
  margin: 15px 0;
  padding-left: 30px;
}

li {
  margin: 8px 0;
}

.related-links {
  list-style: none;
  padding: 0;
}

.related-links li {
  margin: 10px 0;
}

.related-links a {
  display: inline-block;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.related-links a:hover {
  background: #667eea;
  color: white;
  text-decoration: none;
}

/* Container */
.container, #ezbpro {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.loc-nav {
  background: white;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 8px;
  margin: 40px 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1em;
  margin: 15px 0;
  opacity: 0.95;
}

/* Sections */
section {
  margin: 40px 0;
  padding: 20px;
  background: white;
  border-radius: 4px;
}

section h2 {
  color: #667eea;
  border-bottom: 2px solid #667eea;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

section h3 {
  color: #764ba2;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Cards */
.card, .feature, .testimonial, .faq-item, .benefit-card, .step, .retailer, .stat-box, .contact-method {
  background: #f9f9f9;
  padding: 20px;
  margin: 15px 0;
  border-radius: 4px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}

.card:hover, .feature:hover, .step:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* Highlights */
.highlight, .trial-banner {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
}

.highlight strong {
  color: #856404;
}

/* Price Box */
.price-box {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
}

.price-box .price {
  font-size: 2.5em;
  color: #2e7d32;
  font-weight: bold;
}

.price-box .subtext {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 30px 20px;
  margin-top: 40px;
  border-radius: 4px;
  text-align: center;
  border-top: 2px solid #e0e0e0;
}

footer p {
  margin: 8px 0;
  font-size: 0.9em;
  color: #666;
}

footer strong {
  color: #333;
}

/* Forms */
form {
  background: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
  color: #333;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1em;
  transition: border-color 0.2s ease;
}

form input:focus, form textarea:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

form button {
  background: #667eea;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
}

form button:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

form button:active {
  transform: translateY(0);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: #667eea;
  color: white;
  font-weight: 600;
}

tr:hover {
  background: #f9f9f9;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.2em;
  }

  .hero {
    padding: 40px 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .feature-grid, .stats, .grid {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
  }

  nav .btn {
    width: 100%;
  }

  section {
    padding: 15px;
  }

  form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }

  h2 {
    font-size: 1.1em;
  }

  body {
    font-size: 14px;
  }

  .container, #ezbpro {
    padding: 10px;
  }

  .hero {
    padding: 30px 15px;
  }

  .hero h1 {
    margin-bottom: 10px;
  }

  .btn {
    padding: 8px 16px;
    margin: 5px 5px 5px 0;
    font-size: 0.9em;
  }

  form input, form textarea {
    padding: 10px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }

  section, .card, .feature, .testimonial, .faq-item {
    background: #2a2a2a;
    color: #e0e0e0;
  }

  form {
    background: #222;
  }

  form input, form textarea {
    background: #333;
    color: #e0e0e0;
    border-color: #444;
  }

  .highlight, .trial-banner {
    background: #3a3a00;
  }

  footer {
    background: #222;
    border-top-color: #444;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .btn, nav, footer {
    display: none;
  }

  section {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
