/*
Theme Name: LinkBazz
Theme URI: https://linkbazz.com
Author: LinkBazz
Author URI: https://linkbazz.com
Description: A modern, SEO-optimized WordPress theme for LinkBazz digital marketing brand. Focused on Link Building, Guest Posting, SEO services, and SEO Courses.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linkbazz
Tags: marketing, seo, business, responsive, modern
*/

/* ===== CSS VARIABLES ===== */
:root {
  --lb-primary: #1a73e8;
  --lb-primary-dark: #1558b0;
  --lb-primary-light: #e8f0fe;
  --lb-secondary: #0d47a1;
  --lb-accent: #4fc3f7;
  --lb-white: #ffffff;
  --lb-off-white: #f8fafc;
  --lb-gray-50: #f1f5f9;
  --lb-gray-100: #e2e8f0;
  --lb-gray-200: #cbd5e1;
  --lb-gray-400: #94a3b8;
  --lb-gray-600: #475569;
  --lb-gray-800: #1e293b;
  --lb-gray-900: #0f172a;
  --lb-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --lb-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --lb-shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --lb-radius: 12px;
  --lb-radius-sm: 8px;
  --lb-transition: 0.3s ease;
  --lb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lb-font-heading: 'Poppins', var(--lb-font);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--lb-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--lb-gray-800);
  background: var(--lb-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lb-font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--lb-gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--lb-primary); text-decoration: none; transition: color var(--lb-transition); }
a:hover { color: var(--lb-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--lb-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--lb-transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--lb-primary);
  color: var(--lb-white);
}
.btn-primary:hover {
  background: var(--lb-primary-dark);
  color: var(--lb-white);
  transform: translateY(-2px);
  box-shadow: var(--lb-shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--lb-primary);
  border-color: var(--lb-primary);
}
.btn-outline:hover {
  background: var(--lb-primary);
  color: var(--lb-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--lb-white);
  color: var(--lb-primary);
}
.btn-white:hover {
  background: var(--lb-off-white);
  transform: translateY(-2px);
  box-shadow: var(--lb-shadow-md);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.125rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lb-gray-100);
  transition: box-shadow var(--lb-transition);
}
.site-header.scrolled { box-shadow: var(--lb-shadow-sm); }

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

.site-logo {
  font-family: var(--lb-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lb-gray-900);
}
.site-logo span { color: var(--lb-primary); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}
.main-nav a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--lb-gray-600);
  border-radius: var(--lb-radius-sm);
  transition: all var(--lb-transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--lb-primary);
  background: var(--lb-primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--lb-gray-800);
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--lb-primary-light) 0%, var(--lb-white) 50%, #dbeafe 100%);
  text-align: center;
}
.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--lb-primary); }
.hero p {
  font-size: 1.25rem;
  color: var(--lb-gray-600);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lb-white);
  padding: 12px 24px;
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow-sm);
  font-weight: 600;
  color: var(--lb-gray-800);
  font-size: 0.9375rem;
}
.trust-badge .icon {
  width: 40px;
  height: 40px;
  background: var(--lb-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lb-primary);
  font-weight: 700;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--lb-off-white); }
.section-blue { background: linear-gradient(135deg, var(--lb-primary), var(--lb-secondary)); color: var(--lb-white); }
.section-blue h2, .section-blue h3 { color: var(--lb-white); }
.section-blue p { color: rgba(255,255,255,0.9); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--lb-gray-600); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }
.section-blue .section-header p { color: rgba(255,255,255,0.85); }

.section-label {
  display: inline-block;
  background: var(--lb-primary-light);
  color: var(--lb-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CARDS ===== */
.card {
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  padding: 32px;
  box-shadow: var(--lb-shadow-sm);
  transition: all var(--lb-transition);
  border: 1px solid var(--lb-gray-100);
}
.card:hover {
  box-shadow: var(--lb-shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--lb-primary-light);
  border-radius: var(--lb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--lb-primary);
}
.card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.card p { color: var(--lb-gray-600); margin-bottom: 20px; font-size: 0.9375rem; }
.card ul { list-style: none; margin-bottom: 20px; }
.card ul li {
  padding: 6px 0;
  color: var(--lb-gray-600);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card ul li::before {
  content: "✓";
  color: var(--lb-primary);
  font-weight: 700;
}

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== PRICING ===== */
.pricing-card { text-align: center; position: relative; overflow: hidden; }
.pricing-card.featured {
  border: 2px solid var(--lb-primary);
  transform: scale(1.05);
}
.pricing-card.featured:hover { transform: scale(1.07); }
.pricing-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--lb-primary);
  color: var(--lb-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 40px;
  transform: rotate(45deg);
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lb-primary);
  margin: 16px 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--lb-gray-400);
}

/* ===== PROCESS ===== */
.process-steps { display: flex; gap: 24px; align-items: flex-start; }
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.process-step::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 30px;
  font-size: 1.5rem;
  color: var(--lb-gray-200);
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--lb-primary);
  color: var(--lb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-item {
  min-width: 100%;
  padding: 0 20px;
}
.testimonial-card {
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  padding: 40px;
  box-shadow: var(--lb-shadow-sm);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.testimonial-card .stars { color: #f59e0b; font-size: 1.25rem; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-size: 1.125rem;
  color: var(--lb-gray-600);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-card .author { font-weight: 600; color: var(--lb-gray-900); }
.testimonial-card .role { font-size: 0.875rem; color: var(--lb-gray-400); }

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lb-gray-200);
  border: none;
  cursor: pointer;
  transition: all var(--lb-transition);
}
.slider-dot.active { background: var(--lb-primary); width: 28px; border-radius: 5px; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--lb-white); margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--lb-gray-800);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lb-gray-200);
  border-radius: var(--lb-radius-sm);
  font-size: 1rem;
  font-family: var(--lb-font);
  transition: border-color var(--lb-transition);
  background: var(--lb-white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lb-primary);
  box-shadow: 0 0 0 3px var(--lb-primary-light);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: var(--lb-primary-light);
  border-radius: var(--lb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lb-primary);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--lb-gray-900);
  color: var(--lb-gray-400);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 12px; font-size: 0.9375rem; line-height: 1.7; }
.footer-col h4 { color: var(--lb-white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--lb-gray-400); font-size: 0.9375rem; }
.footer-col ul a:hover { color: var(--lb-white); }

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lb-white);
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--lb-transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: var(--lb-white);
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--lb-primary-light) 0%, #dbeafe 100%);
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { color: var(--lb-gray-600); font-size: 1.125rem; }

/* ===== PRODUCT CARDS ===== */
.product-card { text-align: center; }
.product-card .product-image {
  height: 160px;
  background: var(--lb-primary-light);
  border-radius: var(--lb-radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.25rem; }
  .section { padding: 60px 0; }
  
  .main-nav { 
    display: none; 
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--lb-white);
    box-shadow: var(--lb-shadow-md);
    padding: 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 12px 16px; }
  .mobile-toggle { display: block; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-step::after { display: none; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
