/* ===================================
   Local Website SEO Services - Styles
   =================================== */

:root {
  --primary: #0066cc;
  --primary-dark: #004d99;
  --primary-light: #3385d6;
  --secondary: #00a86b;
  --secondary-dark: #008554;
  --accent: #ff6b35;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #e9ecef;
  --border-light: #dee2e6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

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

/* Header */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.hero-cta {
  background: var(--bg-white);
  border-radius: 8px;
  padding: var(--spacing-md);
  max-width: 600px;
  margin: var(--spacing-md) auto 0;
  box-shadow: var(--shadow-lg);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

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

.card h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.step {
  text-align: center;
  padding: var(--spacing-md);
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-sm);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Proof/Trust Section */
.proof-block {
  background: var(--bg-light);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

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

.trust-item strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

/* FAQs */
.faq-list {
  max-width: 800px;
  margin: var(--spacing-md) auto 0;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-white);
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-sm);
  display: none;
  line-height: 1.7;
}

.faq-answer.active {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.active {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer h4 {
  color: var(--bg-white);
  margin-bottom: var(--spacing-sm);
}

.footer a {
  color: var(--bg-light);
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-sm);
  text-align: center;
  color: var(--bg-light);
}

/* Tool Wizard */
.wizard {
  max-width: 800px;
  margin: 0 auto;
}

.wizard-steps {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-sm);
}

.wizard-step {
  flex: 1;
  text-align: center;
  padding: var(--spacing-sm);
  border-bottom: 3px solid var(--border-light);
  color: var(--text-light);
  font-weight: 600;
}

.wizard-step.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.wizard-step.completed {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

.wizard-content {
  background: var(--bg-white);
  border-radius: 8px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  gap: var(--spacing-sm);
}

/* Score Display */
.score-display {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: 8px;
  margin: var(--spacing-md) 0;
}

.score-circle {
  display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) calc(var(--score) * 1%), var(--bg-gray) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto var(--spacing-sm);
}

.score-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.score-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.score-category {
  background: var(--bg-white);
  padding: var(--spacing-sm);
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.score-bar {
  height: 8px;
  background: var(--bg-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.score-bar-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.5s ease;
}

/* Checklist */
.checklist {
  list-style: none;
}

.checklist-item {
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  background: var(--bg-white);
  border-left: 4px solid var(--border-light);
  border-radius: 4px;
}

.checklist-item.priority-high {
  border-left-color: var(--accent);
}

.checklist-item.priority-medium {
  border-left-color: #f39c12;
}

.checklist-item.priority-low {
  border-left-color: var(--secondary);
}

.priority-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.priority-high .priority-badge {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
}

.priority-medium .priority-badge {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

.priority-low .priority-badge {
  background: rgba(0, 168, 107, 0.1);
  color: var(--secondary);
}

/* Alert/Notice Boxes */
.alert {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 6px;
  margin-bottom: var(--spacing-sm);
}

.alert-info {
  background: rgba(0, 102, 204, 0.1);
  border-left: 4px solid var(--primary);
  color: var(--text-dark);
}

.alert-success {
  background: rgba(0, 168, 107, 0.1);
  border-left: 4px solid var(--secondary);
  color: var(--text-dark);
}

/* Print Styles for Reports */
@media print {
  .header, .footer, .btn, .wizard-nav {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm);
  }

  .nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .cards {
    grid-template-columns: 1fr;
  }

  .wizard-steps {
    flex-direction: column;
  }

  .wizard-step {
    border-bottom: none;
    border-left: 3px solid var(--border-light);
  }

  .wizard-step.active {
    border-left-color: var(--primary);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.hidden { display: none; }
