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

:root {
  --primary: #FF2E63;
  --primary-dark: #E02556;
  --secondary: #08D9D6;
  --dark: #252A34;
  --light: #EAEAEA;
  --gray: #9CA3AF;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 10px 30px rgba(255, 46, 99, 0.15);
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

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

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

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

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

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--dark);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  padding: 100px 0 120px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

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

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 46, 99, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.card p {
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(255, 46, 99, 0.35);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 46, 99, 0.45);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-floating {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  padding: 18px 36px;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 46, 99, 0.5); }
  50% { box-shadow: 0 8px 32px rgba(255, 46, 99, 0.8); }
}

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

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--dark);
  margin-top: 8px;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  padding: 24px;
  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 svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  color: var(--primary);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--dark);
  line-height: 1.7;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

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

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

.blog-card-content {
  padding: 32px;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.blog-card p {
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.7;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 16px 40px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(255, 46, 99, 0.35);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 46, 99, 0.45);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

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

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

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-section a {
  color: var(--light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
  line-height: 2;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

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

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 16px;
}

.mobile-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: var(--light);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

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

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

  .section-title {
    font-size: 2rem;
  }

  .stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-floating {
    bottom: 20px;
    right: 20px;
    padding: 14px 28px;
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 24px;
}

/* Light background section text */
.light-bg-text {
  color: #4B5563;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.2rem;
}

.light-bg-section {
  background: #f8f9fa;
  padding: 80px 0;
}

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

.article-content h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin: 24px 0 12px;
}

.article-content p {
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Step numbers for how-it-works */
.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* Back link */
.back-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.back-link:hover {
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

/* Social share buttons */
.social-share {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-share button,
.social-share a {
  padding: 8px 20px;
  font-size: 0.9rem;
  background: #E5E7EB;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.social-share button:hover,
.social-share a:hover {
  background: #D1D5DB;
}
/* Footer paragraph */
.footer-section p {
  opacity: 0.8;
  line-height: 1.7;
}

/* CTA wrapper for centered CTA with spacing */
.cta-wrapper {
  text-align: center;
  margin: 40px 0;
}

/* Article meta divider */
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #E5E7EB;
}

.text-muted {
  color: var(--dark);
  font-size: 0.9rem;
}

.text-right {
  text-align: right;
}

/* Gradient call-to-action section */
.gradient-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.gradient-section .cta-btn {
  background: white;
  color: var(--primary);
}

/* Max width utilities */
.max-width-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-900 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Text size utilities */
.text-2xl {
  font-size: 2rem;
}

/* Content block spacing */
.content-block {
  margin-bottom: 40px;
}

.content-block-lg {
  margin-bottom: 50px;
}

/* Flex container for step icons/text */
.media-flex {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.step-content p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--dark);
}

/* Card heading styles */
.card h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-top: 32px;
  margin-bottom: 16px;
}

.card h2:first-child {
  margin-top: 0;
}

.card h2.heading-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Remove top margin for h2 inside content-block */
.content-block h2 {
  margin-top: 0;
}

/* Testimonial styling */
.testimonial {
  font-style: italic;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-author {
  color: var(--primary);
  font-weight: 600;
}

/* Gradient section paragraph */
.gradient-section p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Step content inside media-flex */
.media-flex > div h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.media-flex > div p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--dark);
}

/* Lists in card content */
.card ul, .card ol {
  color: var(--dark);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 24px;
}

/* Lists in article content */
.article-content ul, .article-content ol {
  color: var(--dark);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 24px;
}
