/* GuestPostsManager.com - Premium Agency Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-dark: #0f1419;
  --color-dark-soft: #1a2332;
  --color-dark-card: #1e2a3a;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-accent-soft: rgba(59, 130, 246, 0.12);
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-success: #10b981;
  --color-whatsapp: #25d366;
  --font-sans: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 50%, #0f172a 100%);
}

.hero-badge {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #2563eb 100%);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Cards */
.card-dark {
  background: var(--color-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.card-dark:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-light {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card-light:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

/* Section titles */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--color-dark);
}

.section-title-light {
  color: #fff;
}

/* Stats counter */
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Niche pills */
.niche-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.niche-pill:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: #fff;
}

/* Process step */
.process-step {
  position: relative;
  padding-left: 2.5rem;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.process-step + .process-step::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: -1rem;
  bottom: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

/* Testimonial */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 0.75rem 1rem;
  min-height: 48px;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Form */
.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.input-field.error {
  border-color: #ef4444;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer-dark {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-dark a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-dark a:hover {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-dark-soft);
  z-index: 1000;
  padding: 5rem 1.5rem 1.5rem;
  transition: right var(--transition);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
  padding: 4rem 0 3rem;
}

/* Lazy load */
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[data-src].loaded {
  opacity: 1;
}

/* Utility */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 2rem;
  }
}

/* Logo */
.navbar .logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  display: none;
}

.navbar .logo-img[data-loaded="true"] {
  display: block;
}

.navbar .logo-img[data-loaded="true"] ~ .logo-text {
  display: none;
}

@media (min-width: 768px) {
  .navbar .logo-img {
    height: 2.25rem;
  }
}

.navbar .logo-text {
  display: inline;
}

/* Hero section min height for full-height graph */
.hero-section-min-height {
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .hero-section-min-height {
    min-height: 85vh;
  }
}

/* Hero two-column: left text, right graph, side-by-side, vertically centered */
.hero-with-graph {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-with-graph {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 0;
  }
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-graph-wrap {
  position: relative;
  min-height: 260px;
  display: none;
  padding: 1rem 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-graph-wrap {
    display: flex;
    min-height: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
}

.hero-graph-inner {
  width: 100%;
  flex: 0 1 auto;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroGraphBreathe 3.5s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero-graph-inner {
    min-height: 360px;
    max-height: 48vh;
  }
}

@keyframes heroGraphBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-graph-svg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.4));
}

@media (min-width: 1024px) {
  .hero-graph-svg {
    min-height: 360px;
    max-height: 48vh;
  }
}

.hero-graph-area {
  opacity: 0;
  animation: heroAreaFade 1.2s ease-out 0.8s forwards;
}

.hero-graph-line {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: heroGraphDraw 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroGraphDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heroAreaFade {
  to {
    opacity: 1;
  }
}

/* Hero graph tagline */
.hero-graph-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 360px;
  line-height: 1.4;
  margin: 0;
  flex-shrink: 0;
  padding-top: 1rem;
}

@media (min-width: 1024px) {
  .hero-graph-tagline {
    font-size: 1rem;
    padding-top: 1.25rem;
  }
}

/* Trust Stats */
.trust-stats {
  background: var(--color-dark-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .trust-stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

.trust-stat-item {
  text-align: center;
  padding: 0.5rem 0;
}

.trust-stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.trust-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.pricing-card-popular {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

@media (min-width: 1024px) {
  .pricing-card-popular {
    transform: scale(1.03);
    z-index: 1;
  }
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent) 0%, #2563eb 100%);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.pricing-card-popular .pricing-card-title {
  margin-top: 0.5rem;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.pricing-currency {
  font-size: 1.25rem;
  color: var(--color-gray-500);
}

.pricing-card-price-custom {
  font-size: 1.75rem;
}

.pricing-card-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  margin-bottom: 0.125rem;
}

.pricing-card-meta {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  margin-bottom: 1.25rem;
}

.pricing-card-features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  flex-grow: 1;
}

.pricing-card-features li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

.pricing-card-cta {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-gray-200);
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
  text-decoration: none;
}

.pricing-card-cta:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pricing-card-cta-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #2563eb 100%);
  border-color: transparent;
  color: #fff;
}

.pricing-card-cta-primary:hover {
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  color: #fff;
}

/* Industries / Niches cards */
.niche-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.niche-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.niche-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Testimonial slider */
.testimonials-slider-wrap {
  overflow: hidden;
  padding: 0.5rem 0;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide-card {
  flex: 0 0 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .testimonial-slide-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-slide-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.testimonial-stars {
  color: #f59e0b;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.testimonial-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-slider-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* Footer contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer-contact-item a {
  color: inherit;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  opacity: 0.8;
}
