/* Martina Brina Portfolio - Version 2: Executive Consulting & Operations Studio */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Executive Dark Palette: Obsidian, Emerald Tech & Platinum */
  --bg-deep: #07090e;
  --bg-surface: #0f141f;
  --bg-surface-elevated: #161e2e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.4);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-emerald: #10b981;
  --accent-teal: #14b8a6;
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;

  --glow-emerald: rgba(16, 185, 129, 0.15);
}

html.light {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-active: rgba(16, 185, 129, 0.5);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --glow-emerald: rgba(16, 185, 129, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

.font-serif-title {
  font-family: var(--font-serif);
}

/* Luxury Glass Panel */
.exec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.exec-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px var(--glow-emerald);
}

/* Gradient accents */
.gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Radial Glow */
.ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Video Styling for V2 */
.video-frame-v2 {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  background: #000;
}

.video-frame-v2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-bar-v2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.95) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-frame-v2:hover .video-bar-v2 {
  opacity: 1;
}

/* Interactive Process Simulator Tabs */
.process-step-pill {
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all 0.2s ease;
}

.process-step-pill.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

/* Switcher floating pill */
.version-switch-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.version-switch-pill:hover {
  transform: scale(1.04);
}

/* Animations */
@keyframes softPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pulse-soft {
  animation: softPulse 3s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}
