/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --dark: #1F2937;
  --gray: #6B7280;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--light);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--light);
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

.section-title a {
  color: inherit;
  text-decoration: none;
}

.section-title a:hover {
  text-decoration: underline;
}

/* Features */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--gray);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}

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

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray);
  display: none;
}

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

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Floating CTA */
.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .blog-title,
  .page-title,
  .section-title,
  .article-title {
    font-size: 1.75rem;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.blog-card p {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.75rem;
}

.article-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.35rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: #374151;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--primary);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary);
}

/* Page titles */
.page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}



/* Spacing utilities */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* Step circle for How It Works */
.step-circle {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-circle-lg {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Step emoji */
.step-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

/* Steps */
.steps-container {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Contact form grid */
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

/* FAQ list */
.faq-list {
  margin-bottom: 2rem;
}

/* Blog specific */
.blog-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.lead-centered {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card a {
  color: var(--primary);
  font-weight: 600;
}

.mb-2 { margin-bottom: 2rem; }

/* Article specific */
.article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Feature card buttons */
.feature-card .btn {
  margin-top: 1rem;
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-meta {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Lead text variants */
.lead-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.lead-text--large {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.lead-text--xlarge {
  font-size: 1.25rem;
  color: #4B5563;
  margin-bottom: 2rem;
}

.lead-text--compact {
  font-size: 1.1rem;
  color: #4B5563;
  margin-bottom: 2rem;
}

.lead-text--dark {
  font-size: 1.1rem;
  color: #4B5563;
  margin-bottom: 3rem;
}

/* Section headings */
.section-heading {
  margin-bottom: 1.5rem;
}

/* Info cards */
.info-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.info-card h3 {
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.info-card a {
  color: var(--primary);
}

.info-card a:hover {
  text-decoration: underline;
}

/* Tip/Info Box */
.tip-box {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.tip-box h3 {
  margin-bottom: 1rem;
}

/* CTA Box */
.cta-box {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
}

/* Explore section */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.explore-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.explore-card h3 {
  margin-bottom: 0.75rem;
}

.explore-card a {
  color: var(--primary);
  text-decoration: none;
}

.explore-card a:hover {
  text-decoration: underline;
}

.explore-card a:hover {
  text-decoration: underline;
}

.explore-text {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}
