/* SkoolFeed Brand Override - v1.0 */
/* This file overrides the default styles with new brand guidelines */

/* ========== CSS Variables Override ========== */
:root {
  /* Backgrounds - Cool gray tinted */
  --bg-base: #F1F5F9;
  --bg-surface: #F8FAFC;
  --bg-elevated: #FFFFFF;
  --bg-inset: #E2E8F0;

  /* Map old variables to new values */
  --off-white: #F1F5F9;
  --light-blue: #E2E8F0;

  /* Text */
  --text-primary: #1A1F26;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --dark-navy: #1A1F26;
  --neutral-gray: #64748B;

  /* Accent - Blue only, no orange */
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #DBEAFE;
  --primary: #2563EB;
  --primary-blue: #2563EB;
  --accent-orange: #2563EB; /* Override orange to blue */

  /* Semantic */
  --success: #16A34A;
  --success-light: #DCFCE7;
  --success-green: #16A34A;
  --error: #DC2626;
  --error-light: #FEE2E2;
  --error-red: #DC2626;
  --warning: #D97706;
  --warning-light: #FEF3C7;

  /* Borders */
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #2563EB;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08);
}

/* ========== Font Override ========== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== Button Style Updates ========== */
.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: none; /* Remove dated transform effect */
  box-shadow: none;
}

.newsletter-submit {
  background: var(--accent);
}

.newsletter-submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: none;
  box-shadow: none;
}

/* ========== Link Updates ========== */
.footer-link:hover,
.project-link-text:hover {
  color: var(--accent-hover);
}

/* ========== Card Updates ========== */
.card,
.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ========== Input Updates ========== */
.form-group input:focus,
.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ========== Dashboard Updates ========== */
.dashboard-container {
  background: var(--bg-base);
}

.dashboard-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.dashboard-tab.active {
  color: var(--accent);
}

.dashboard-tab.active::after {
  background: var(--accent);
}

/* ========== Auth Pages ========== */
.auth-container {
  background: var(--bg-base);
}

.auth-card {
  background: var(--bg-elevated);
}

/* ========== Pricing Cards ========== */
.plan-card.current-plan-card {
  border-color: var(--accent);
}

.plan-card.current-plan-card::before {
  background: var(--accent);
}

/* ========== Tab Badge ========== */
.tab-badge {
  background: var(--accent);
}

/* ========== Pro Badge ========== */
.pro-badge {
  background: var(--accent);
}

/* ========== Quota Bar ========== */
.quota-fill {
  background: var(--accent);
}

/* ========== Social Icons ========== */
.social-icon:hover {
  color: var(--accent);
  transform: none;
}

/* ========== Accordion ========== */
.accordion-trigger {
  background: linear-gradient(135deg, var(--bg-base), var(--accent-light));
}

.accordion-trigger:hover {
  background: linear-gradient(135deg, var(--border), var(--accent-light));
}

.accordion-icon {
  color: var(--accent);
}

/* ========== New Footer Styles ========== */
.footer {
  position: relative;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--bg-base);
  color: var(--accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}
