/* URL Checker Page Styles */

/* Hero Section */
.url-checker-hero {
  background-color: var(--mint-light);
  padding: 80px 0;
  text-align: center;
}

.url-checker-hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.url-checker-hero .lead {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-color);
}

/* URL Form */
.url-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.url-form .form-group {
  margin-bottom: 20px;
}

.url-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  text-align: left;
}

.url-form .input-group {
  display: flex;
  width: 100%;
}

.url-form input[type="url"] {
  flex: 1;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.url-form input[type="url"]:focus {
  border-color: var(--primary-color);
  outline: none;
}

.url-form button {
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.url-form button:hover {
  background-color: var(--primary-dark);
}

.url-form .form-text {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
  text-align: left;
}

/* Message Styles */
.message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  font-weight: 500;
}

.message.success {
  background-color: #e7f7ed;
  color: #28a745;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #dc3545;
  border: 1px solid #f5c6cb;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: #fff;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--mint-light);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #fff;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-card .quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  left: 0;
  top: -20px;
}

.testimonial-card .author-name {
  font-weight: bold;
  color: var(--primary-color);
}

.testimonial-card .author-company {
  font-size: 0.9rem;
  color: #666;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #f0f0f0;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.faq h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  background-color: white;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  transition: background-color 0.3s;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-header.active {
  background-color: var(--primary-color);
  color: white;
}

.accordion-header.active::after {
  content: "-";
}

.accordion-content {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: 20px;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .url-checker-hero {
    padding: 60px 0;
  }

  .url-checker-hero h1 {
    font-size: 2rem;
  }

  .url-form-container {
    padding: 20px;
  }

  .url-form .input-group {
    flex-direction: column;
  }

  .url-form input[type="url"] {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .url-form button {
    border-radius: 5px;
    width: 100%;
  }

  .benefits,
  .how-it-works,
  .testimonials,
  .cta,
  .faq {
    padding: 60px 0;
  }

  .benefit-card,
  .step,
  .testimonial-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .url-checker-hero h1 {
    font-size: 1.8rem;
  }

  .url-checker-hero .lead {
    font-size: 1rem;
  }

  .benefit-card .icon {
    font-size: 2rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .accordion-header {
    padding: 15px;
  }
}
