/*
Theme Name: Namaste Media Solutions
Theme URI: https://namastemediasolutions.com
Author: Namaste Media Solutions
Author URI: https://namastemediasolutions.com
Description: A premium single-page landing theme for Namaste Media Solutions — organic marketing agency. Clean, bold, conversion-focused design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: namaste-media
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --bg: #ffffff;
  --fg: #0d0d0d;
  --accent: hsl(0, 85%, 50%);
  --accent-fg: #ffffff;
  --muted: #666666;
  --border: #e5e5e5;
  --section-alt: #f7f7f7;
  --radius: 0.75rem;
  --red-glow: 0 0 40px -10px hsla(0, 85%, 50%, 0.4);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--sm { max-width: 720px; }
.container--md { max-width: 900px; }

.section { padding: 5rem 0; }
.section--alt { background: var(--section-alt); }
.section--dark { background: var(--fg); color: var(--bg); }

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

/* ========== TYPOGRAPHY ========== */
.heading-sm {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.heading-lg {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(0, 85%, 50%), hsl(0, 70%, 35%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--red-glow);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--fg);
  color: var(--fg);
}
.btn--outline:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--bg);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ========== GRIDS ========== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ========== CARDS ========== */
.card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
}
.card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(#000 1px, transparent 1px),
    linear-gradient(90deg, #000 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1rem;
}
.hero__tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero__stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  color: var(--fg);
}
.hero__stats-divider {
  width: 1px;
  height: 1.5rem;
  background: var(--border);
}

/* ========== ICON BOXES ========== */
.icon-box {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box--accent { background: hsla(0, 85%, 50%, 0.1); color: var(--accent); }
.icon-box--dark { background: var(--fg); color: var(--bg); }
.icon-box--lg { width: 4rem; height: 4rem; border-radius: 1rem; }

.icon-box svg { width: 1.5rem; height: 1.5rem; }
.icon-box--lg svg { width: 1.75rem; height: 1.75rem; }

/* ========== CHECK LIST ========== */
.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.check-dot {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-dot svg { width: 0.875rem; height: 0.875rem; color: var(--accent-fg); }

/* ========== STEP NUMBERS ========== */
.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ========== FORM ========== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--fg);
  transition: box-shadow 0.2s;
}
.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(0, 85%, 50%, 0.15);
}

/* ========== GUARANTEE ========== */
.guarantee-icon { color: var(--accent); margin: 0 auto 1.5rem; }
.guarantee-icon svg { width: 4rem; height: 4rem; }

/* ========== STICKY BAR ========== */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}
.sticky-bar__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--bg);
}
.sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.sticky-bar__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.sticky-bar__link:hover { color: #fff; }

@media (max-width: 640px) {
  .sticky-bar__brand { display: none; }
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 640px) {
  .whatsapp-btn span { display: none; }
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.site-footer__copy {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ========== ANIMATIONS ========== */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 hsla(0, 85%, 50%, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px hsla(0, 85%, 50%, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== DARK SECTION OVERRIDES ========== */
.section--dark .heading-sm { color: var(--accent); }
.section--dark .text-muted { color: rgba(255,255,255,0.7); }
.section--dark .check-item span { color: rgba(255,255,255,0.9); font-size: 0.875rem; }

/* WP alignment classes */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
