:root {
  --primary: #2563eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --light: #f8fafc;
  --dark: #0f172a;
}

* { box-sizing: border-box; }

body { 
  font-family: 'Segoe UI', system-ui, sans-serif; 
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

form {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

input[type="url"] {
  flex: 1;
  padding: 14px;
  border: 2px solid #dbeafe;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.score-card {
  background: #f0f9ff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.score-display {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
}

.tier-badge {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 10px;
}

.tier-badge.excellent { 
  background: rgba(16, 185, 129, 0.2); 
  color: var(--success); 
}

.tier-badge.good { 
  background: rgba(245, 158, 11, 0.2); 
  color: var(--warning); 
}

.tier-badge.fair { 
  background: rgba(251, 146, 60, 0.2); 
  color: #fb923c; 
}

.tier-badge.poor { 
  background: rgba(239, 68, 68, 0.2); 
  color: var(--danger); 
}

.score-breakdown {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  text-align: left;
}

.score-breakdown h3 {
  margin: 0 0 20px 0;
  font-size: 1.1rem;
  color: var(--dark);
  text-align: center;
}

.metric-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
}

.metric-label {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.metric-bar {
  background: linear-gradient(to right, #e2e8f0, #cbd5e1);
  height: 32px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.metric-fill {
  background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
  height: 100%;
  display: block;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  position: relative;
}

.metric-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  border-radius: 16px;
}

.issues {
  text-align: left;
  margin-top: 20px;
}

.issues li {
  background: white;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  list-style: none;
}

.issues li:before {
  content: "•";
  color: var(--primary);
  font-size: 24px;
  margin-right: 10px;
  margin-top: -3px;
}

.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.share-btn {
  background: #e0f2fe;
  color: var(--primary);
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #bae6fd;
  transform: translateY(-2px);
}

.hosting-cta {
  background: linear-gradient(135deg, #fff8e6, #fff7ed);
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
  text-align: center;
}

.hosting-cta h3 {
  margin: 0 0 10px 0;
  color: var(--dark);
}

.hosting-cta p {
  margin: 0 0 15px 0;
  color: #64748b;
}

.a2-btn {
  background: linear-gradient(to right, #ff6b00, #ff8e53);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
  transition: all 0.3s;
}

.a2-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

footer {
  text-align: center;
  margin-top: 40px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .score-display {
    font-size: 3rem;
  }
  
  .metric-row {
    grid-template-columns: 130px 1fr;
    gap: 10px;
  }
  
  .metric-label {
    font-size: 13px;
  }
  
  .metric-bar {
    height: 28px;
  }
  
  form {
    flex-direction: column;
  }
  
  .actions {
    grid-template-columns: 1fr;
  }
}
.tool-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
}

.tool-cta h4 {
  margin: 0 0 8px 0;
  color: var(--dark);
  font-size: 1.1rem;
}

.tool-cta p {
  margin: 0 0 15px 0;
  color: #64748b;
  font-size: 14px;
}

.tool-btn {
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s;
}

.tool-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
/* Header Styles */
.site-header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 25px;
}

.main-nav a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-form {
  max-width: 600px;
  margin: 0 auto 25px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #10b981;
  font-weight: 600;
  font-size: 14px;
}

/* Features Section */
.features {
  padding: 80px 20px;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #f8fafc;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.feature-card p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Why It Matters Section */
.why-matters {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 80px 20px;
}

.why-matters h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p {
  color: #64748b;
  font-size: 1rem;
}

.why-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
}

/* Tool CTA Styles */
.tool-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
}

.tool-cta h4 {
  margin: 0 0 8px 0;
  color: var(--dark);
  font-size: 1.1rem;
}

.tool-cta p {
  margin: 0 0 15px 0;
  color: #64748b;
  font-size: 14px;
}

.tool-btn {
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s;
}

.tool-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col p {
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  margin: 10px 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-note {
  font-size: 12px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 10px;
  }
  
  .features h2, .why-matters h2 {
    font-size: 1.8rem;
  }
}