/*
Theme Name: Claude AI Solutions Theme
Theme URI: https://anthropic.com
Author: AI Integration Specialist
Description: Complete turnkey dark-mode theme for Claude AI API solutions with background video & service showcase video support.
Version: 1.0.0
Text Domain: claude-ai-theme
*/

:root {
  --bg: #0c0e14;
  --card-bg: #151821;
  --card-hover: #1b1f2b;
  --accent: #d97706;
  --accent-glow: rgba(217, 119, 6, 0.15);
  --accent-light: #f59e0b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #232936;
  --code-bg: #090a0f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.85) 0%, rgba(12, 14, 20, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-badge {
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid rgba(217, 119, 6, 0.35);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #fff;
}

.nav-btn {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Video Hero Section */
.video-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 1.5rem;
}

/* Hero Video Background */
.video-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 1.5rem;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(12, 14, 20, 0.65) 0%, rgba(12, 14, 20, 0.92) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin-top: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-glow);
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.85rem;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #b45309;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.85rem 1.85rem;
  border-radius: 7px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Main Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 6, 0.4);
  background: var(--card-hover);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(217, 119, 6, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: monospace;
}

/* Video Card inside Services */
.video-card {
  grid-column: 1 / -1;
  padding: 1.75rem;
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sandbox Terminal */
.interactive-demo {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 5.5rem;
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.model-selector {
  background: var(--code-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
}

.terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  color: #38bdf8;
  min-height: 110px;
  white-space: pre-wrap;
}

.run-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

/* About Section */
.about-card {
  background: linear-gradient(180deg, var(--card-bg) 0%, rgba(21, 24, 33, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}

.about-bio h3 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.about-bio .subtitle {
  color: var(--accent-light);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-bio p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 8px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg);
}

@media (max-width: 820px) {
  .hero-content h1 { font-size: 2.35rem; }
  .about-card { grid-template-columns: 1fr; gap: 2rem; }
  nav { display: none; }
}
