/* ==========================================================================
   WebSocialTraffic Core Layout & Theme Tokens
   File: assets/css/main.css
   ========================================================================== */

:root {
  --wst-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --wst-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --wst-bg-primary: #ffffff;
  --wst-bg-secondary: #f8fafc;
  --wst-bg-tertiary: #f1f5f9;
  --wst-bg-dark: #0f172a;
  --wst-bg-dark-card: #1e293b;
  --wst-text-main: #0f172a;
  --wst-text-muted: #64748b;
  --wst-text-light: #94a3b8;
  --wst-border-light: #e2e8f0;
  --wst-border-dark: #334155;
  --wst-brand-blue: #2563eb;
  --wst-brand-blue-hover: #1d4ed8;
  --wst-brand-emerald: #059669;
  --wst-brand-purple: #7c3aed;
  --wst-brand-amber: #d97706;
  --wst-radius-sm: 8px;
  --wst-radius-md: 16px;
  --wst-radius-lg: 24px;
  --wst-radius-xl: 32px;
  --wst-shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --wst-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --wst-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--wst-font-sans);
  color: var(--wst-text-main);
  background-color: var(--wst-bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--wst-brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--wst-brand-blue-hover);
}

.wst-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wst-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wst-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wst-bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .wst-col-2 { grid-column: span 2; }
  .wst-col-3 { grid-column: span 3; }
  .wst-col-4 { grid-column: span 4; }
  .wst-col-5 { grid-column: span 5; }
  .wst-col-6 { grid-column: span 6; }
  .wst-col-7 { grid-column: span 7; }
  .wst-col-8 { grid-column: span 8; }
  .wst-col-12 { grid-column: span 12; }
}

.wst-card {
  background: #ffffff;
  border: 1px solid var(--wst-border-light);
  border-radius: var(--wst-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--wst-shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.wst-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--wst-shadow-hover);
  transform: translateY(-2px);
}

.wst-card-dark {
  background: var(--wst-bg-dark);
  color: #ffffff;
  border-color: var(--wst-border-dark);
}
.wst-card-dark:hover {
  border-color: #60a5fa;
}

/* Hero Section */
.wst-hero-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #ffffff 70%);
  border-bottom: 1px solid var(--wst-border-light);
}

.wst-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #eff6ff;
  color: var(--wst-brand-blue);
  border: 1px solid #bfdbfe;
}

.wst-badge-emerald {
  background: #ecfdf5;
  color: var(--wst-brand-emerald);
  border-color: #a7f3d0;
}

.wst-badge-amber {
  background: #fef3c7;
  color: var(--wst-brand-amber);
  border-color: #fde68a;
}

.wst-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: wstPulse 2s infinite;
}

@keyframes wstPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Action Buttons */
.wst-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--wst-brand-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
  text-decoration: none;
}
.wst-btn-primary:hover {
  background-color: var(--wst-brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -2px rgba(37, 99, 235, 0.3);
}

.wst-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #16a34a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}
.wst-btn-call:hover {
  background-color: #15803d;
  transform: translateY(-1px);
}

.wst-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.wst-btn-secondary:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

/* Footer Styling */
.site-footer {
  background-color: #0b101b;
  color: #cbd5e1;
  padding: 5rem 0 3rem;
  border-top: 1px solid #1e293b;
}
.site-footer h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.site-footer a {
  color: #94a3b8;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #38bdf8;
}

/* Page Templates Utility */
.wst-full-width-page { width: 100%; max-width: 100%; margin: 0; padding: 0; }
.wst-service-page { width: 100%; }
.wst-about-page { width: 100%; }
.wst-contact-page { width: 100%; }
.wst-blank-canvas-page { width: 100%; margin: 0; padding: 0; }
