/*
Theme Name: Peptide Calculator Theme
Theme URI: https://peptidecalc.tools
Author: Vibe Labs
Author URI: https://peptidecalc.tools
Description: A modern, high-performance WordPress theme engineered for scientific calculators, peptide laboratory references, and educational tools. Features built-in dark/light mode toggle, dynamic mobile menu, and responsive layout.
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: peptide-calculator-theme
Tags: modern, dark-mode, responsive, scientific, calculator, custom-header, full-width-template
*/

:root {
  --pct-bg: #0b0f19;
  --pct-surface: #141c2e;
  --pct-surface-2: #1e293b;
  --pct-border: #1e2d42;
  --pct-accent: #3b82f6;
  --pct-accent-hover: #2563eb;
  --pct-text-primary: #f8fafc;
  --pct-text-secondary: #94a3b8;
  --pct-success: #10b981;
  --pct-warning: #f59e0b;
  --pct-danger: #ef4444;
  --pct-radius-sm: 6px;
  --pct-radius-md: 10px;
  --pct-radius-lg: 16px;
  --pct-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="light"] {
  --pct-bg: #f8fafc;
  --pct-surface: #ffffff;
  --pct-surface-2: #f1f5f9;
  --pct-border: #e2e8f0;
  --pct-accent: #2563eb;
  --pct-accent-hover: #1d4ed8;
  --pct-text-primary: #0f172a;
  --pct-text-secondary: #475569;
}

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

body {
  background-color: var(--pct-bg);
  color: var(--pct-text-primary);
  font-family: var(--pct-font);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--pct-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

.pct-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Navbar */
.pct-header {
  background: var(--pct-surface);
  border-bottom: 1px solid var(--pct-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.pct-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pct-text-primary);
  text-decoration: none;
}

.pct-brand:hover {
  text-decoration: none;
}

.pct-brand-accent {
  color: var(--pct-accent);
}

.pct-badge {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--pct-success);
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pct-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pct-theme-toggle {
  background: var(--pct-surface-2);
  border: 1px solid var(--pct-border);
  color: var(--pct-text-primary);
  padding: 8px 14px;
  border-radius: var(--pct-radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pct-theme-toggle:hover {
  border-color: var(--pct-accent);
}

/* Hero Section */
.pct-hero {
  padding: 50px 0 30px;
  text-align: center;
}

.pct-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pct-hero-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pct-hero p {
  font-size: 1.15rem;
  color: var(--pct-text-secondary);
  max-width: 720px;
  margin: 0 auto 24px;
}

/* Main Layout */
.pct-main {
  flex: 1;
  padding: 30px 0 60px;
}

.pct-card {
  background: var(--pct-surface);
  border: 1px solid var(--pct-border);
  border-radius: var(--pct-radius-lg);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
}

/* Grid & Features */
.pct-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.pct-feature-card {
  background: var(--pct-surface);
  border: 1px solid var(--pct-border);
  border-radius: var(--pct-radius-md);
  padding: 20px;
}

.pct-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--pct-accent);
}

.pct-feature-card p {
  font-size: 0.9rem;
  color: var(--pct-text-secondary);
}

/* FAQ Accordion */
.pct-faq-section {
  margin-top: 50px;
}

.pct-faq-item {
  background: var(--pct-surface);
  border: 1px solid var(--pct-border);
  border-radius: var(--pct-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.pct-faq-question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pct-faq-answer {
  padding: 0 20px 16px;
  color: var(--pct-text-secondary);
  font-size: 0.95rem;
  display: none;
}

.pct-faq-item.active .pct-faq-answer {
  display: block;
}

/* Footer */
.pct-footer {
  background: var(--pct-surface);
  border-top: 1px solid var(--pct-border);
  padding: 40px 0 24px;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--pct-text-secondary);
}

.pct-disclaimer-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  padding: 14px 18px;
  border-radius: var(--pct-radius-md);
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.pct-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--pct-border);
}
