/*
Theme Name: AgentStation
Theme URI: https://agentstation.co
Author: AgentStation
Author URI: https://agentstation.co
Description: Custom theme for AgentStation - The Personal Agent Computer. Dark cyberpunk aesthetic for AI hardware.
Version: 1.0.0
License: Proprietary
Text Domain: agentstation
*/

/* AgentStation - Brand Styles */
:root {
  --primary: #00d4ff;
  --primary-dark: #00a8cc;
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a28;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --accent: #00e676;
  --danger: #ff5252;
  --gold: #ffd700;
  --border: #2a2a3a;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --radius: 12px;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { color: var(--text-muted); max-width: 65ch; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* Nav */
nav, .site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
nav .container, .site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo, .site-nav .logo {
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.03em;
}
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gradient); color: #000 !important;
  padding: 0.5rem 1.2rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem;
}
.nav-cta:hover { opacity: 0.9; }

.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  transition: all 0.3s; cursor: pointer; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient); color: #000;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); color: #000; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #000; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted); margin-bottom: 2.5rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-block; background: var(--surface);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 0.4rem 1.2rem; font-size: 0.85rem;
  color: var(--primary); margin-bottom: 2rem; font-weight: 600;
}

.grid-bg {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

/* Pricing cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative; transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--glow);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #000;
  padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 800;
}
.pricing-card .tier-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card .tier-price {
  font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem;
}
.pricing-card .tier-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-card .specs-list { list-style: none; margin-bottom: 2rem; }
.pricing-card .specs-list li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem;
  color: var(--text);
}
.pricing-card .specs-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* Feature grid */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* Comparison table */
.comparison-table {
  width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 1rem; text-align: left; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.comparison-table th { color: var(--primary); font-weight: 700; background: var(--surface); }
.comparison-table tr:hover td { background: var(--surface); }
.comparison-table .highlight-col { background: rgba(0, 212, 255, 0.05); }

/* Email capture */
.email-capture {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem; text-align: center;
  max-width: 600px; margin: 3rem auto 0;
}
.email-form {
  display: flex; gap: 0.5rem; margin-top: 1.5rem;
  max-width: 450px; margin-left: auto; margin-right: auto;
}
.email-form input {
  flex: 1; padding: 0.8rem 1.2rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 1rem;
}
.email-form input:focus { outline: none; border-color: var(--primary); }
.email-form button, .email-form .btn {
  padding: 0.8rem 1.5rem; background: var(--gradient);
  color: #000; border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}

/* Tier page hero */
.tier-hero {
  padding: 8rem 0 4rem; text-align: center; position: relative;
}
.tier-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}
.tier-hero .price {
  font-size: 3.5rem; font-weight: 800; color: var(--primary); margin: 1rem 0 0.5rem;
}
.tier-hero .tagline { font-size: 1.2rem; color: var(--text-muted); }

/* Specs grid */
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin: 3rem 0;
}
.spec-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.spec-item .spec-label {
  font-size: 0.8rem; text-transform: uppercase;
  color: var(--primary); letter-spacing: 0.1em; margin-bottom: 0.3rem;
}
.spec-item .spec-value { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.spec-item .spec-detail { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }

/* Use cases */
.use-cases {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.use-case {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.use-case h4 { margin-bottom: 0.5rem; color: var(--text); }

/* ROI */
.roi-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem; max-width: 700px; margin: 2rem auto;
}
.roi-row {
  display: flex; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid var(--border);
}
.roi-row:last-child { border: none; }
.roi-label { color: var(--text-muted); }
.roi-value { font-weight: 700; color: var(--text); }
.roi-value.savings { color: var(--accent); }

/* FAQ */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden;
}
.faq-question {
  padding: 1.5rem 2rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.faq-question:hover { background: var(--surface-2); }
.faq-answer { padding: 0 2rem 1.5rem; color: var(--text-muted); display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { transition: transform 0.3s; color: var(--primary); font-size: 1.5rem; }

/* Testimonials */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.testimonial .quote { font-style: italic; margin-bottom: 1rem; color: var(--text); }
.testimonial .author { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testimonial .role { color: var(--text-muted); font-size: 0.85rem; }

/* Contact form */
.contact-form { max-width: 600px; margin: 2rem auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1.2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 1rem;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}

/* Page header */
.page-header {
  padding: 8rem 0 4rem; text-align: center; position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
}

.preorder-terms { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; text-align: center; }

/* Footer */
footer, .site-footer {
  background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.footer-col h4 { margin-bottom: 1rem; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); padding: 0.3rem 0; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem; text-align: center;
  color: var(--text-muted); font-size: 0.85rem;
}

/* WordPress content styles */
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content h2 { margin: 2rem 0 1rem; color: var(--text); }
.entry-content h3 { margin: 1.5rem 0 1rem; color: var(--text); }
.entry-content p { margin-bottom: 1rem; font-size: 1.1rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0; padding-left: 2rem; color: var(--text-muted); }
.entry-content li { margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 2rem;
    border-bottom: 1px solid var(--border);
  }
  .hero { min-height: 90vh; }
  .pricing-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .section { padding: 4rem 0; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Hide WP admin bar overlap */
html { margin-top: 0 !important; }
#wpadminbar { display: none; }
