/*
Theme Name: GrafikArteWeb AI Studio
Theme URI: https://grafikarteweb.ai
Author: GrafikArteWeb AI Studio
Author URI: https://grafikarteweb.ai
Description: Premium AI Creative Agency Theme for GrafikArteWeb. A futuristic digital studio where human creativity meets artificial intelligence, engineered with Apple, Tesla, and OpenAI design aesthetics. Features glassmorphism, 3D interactive hero metamorphosis, AI laboratory sandbox, case studies archive, and custom executive admin panel.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grafikarteweb-ai
Tags: dark-mode, portfolio, agency, artificial-intelligence, custom-colors, custom-logo, full-width-template, translation-ready
*/



/* ==========================================================================
   GRAFIK·ARTE·WEB AI STUDIO - MASTER STYLESHEET
   Aesthetic Architecture: Apple Minimalism x Tesla Precision x OpenAI Intelligence
   ========================================================================== */

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

:root {
  /* Core Obsidian Dark Palette */
  --bg-void: #040507;
  --bg-primary: #07080c;
  --bg-secondary: #0c0e14;
  --bg-tertiary: #12151f;
  --bg-card: rgba(16, 19, 28, 0.7);
  
  /* Text & Contrast Hierarchy */
  --text-primary: #f6f8fc;
  --text-secondary: #9499ad;
  --text-tertiary: #5d6377;
  --text-dim: #3a3f52;
  
  /* Luxury Dynamic Accents (Harmonized with GrafikArteWeb Official Logo) */
  --accent-primary: #00a3e0;
  --accent-secondary: #f58220;
  --accent-gradient: linear-gradient(135deg, #00a3e0 0%, #e5243b 50%, #f58220 100%);
  --accent-glow: rgba(0, 163, 224, 0.3);
  --accent-cyan: #00a3e0;
  --accent-orange: #f58220;
  --accent-crimson: #e5243b;
  --accent-lime: #8cb82b;
  --accent-violet: #a855f7;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  
  /* Spatial Metrics & Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-normal: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
  
  /* Layout Grid */
  --max-width: 1440px;
  --header-height: 80px;
}

/* Theme Variations (Switched dynamically via AI Lab or Preset Switcher) */
body[data-theme="cyber-titanium"] {
  --accent-primary: #00a3e0;
  --accent-secondary: #f58220;
  --accent-gradient: linear-gradient(135deg, #00a3e0 0%, #e5243b 50%, #f58220 100%);
  --accent-glow: rgba(0, 163, 224, 0.3);
}

body[data-theme="haute-gold"] {
  --accent-primary: #fbbf24;
  --accent-secondary: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
  --accent-glow: rgba(245, 158, 11, 0.28);
}

body[data-theme="ethereal-emerald"] {
  --accent-primary: #34d399;
  --accent-secondary: #059669;
  --accent-gradient: linear-gradient(135deg, #6ee7b7 0%, #059669 100%);
  --accent-glow: rgba(52, 211, 153, 0.28);
}

body[data-theme="deep-violet"] {
  --accent-primary: #c084fc;
  --accent-secondary: #9333ea;
  --accent-gradient: linear-gradient(135deg, #e879f9 0%, #9333ea 100%);
  --accent-glow: rgba(192, 132, 252, 0.3);
}

/* Reset & Base Elements */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(168, 85, 247, 0.05), transparent 70%),
    radial-gradient(ellipse 50% 30% at 15% 40%, rgba(16, 185, 129, 0.04), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle Canvas Noise Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* Custom Magnetic Cursor System */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out-expo), 
              height 0.25s var(--ease-out-expo), 
              border-color 0.25s ease, 
              background-color 0.25s ease,
              transform 0.15s ease-out;
}

.custom-cursor-ring.hovering {
  width: 64px;
  height: 64px;
  border-color: var(--accent-primary);
  background-color: rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(2px);
}

.custom-cursor-ring.clicking {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: #fff;
}

.custom-cursor-ring.view-mode::after {
  content: 'EXPLORE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #fff;
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 64px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(6, 7, 10, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-icon {
  min-width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 163, 224, 0.4));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(245, 130, 32, 0.55));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Utilities (Sound / Status / CTA) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.audio-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-bar {
  width: 2px;
  background-color: var(--accent-primary);
  border-radius: 1px;
  height: 3px;
  transition: height 0.2s ease;
}

.audio-toggle-btn.playing .audio-bar:nth-child(1) { animation: soundBar 1.2s infinite ease-in-out; }
.audio-toggle-btn.playing .audio-bar:nth-child(2) { animation: soundBar 0.9s infinite ease-in-out 0.2s; }
.audio-toggle-btn.playing .audio-bar:nth-child(3) { animation: soundBar 1.4s infinite ease-in-out 0.4s; }

@keyframes soundBar {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* Primary Button / Magnetic CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ffffff;
  color: #050608;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #f0f4fc;
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out-expo);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION - THE METAMORPHOSIS ENGINE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 48px auto;
  position: relative;
  z-index: 10;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-pill-badge .sparkle {
  color: var(--accent-primary);
  font-size: 0.875rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6.2vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .accent-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Hero Metamorphosis Stage Viewport */
.metamorphosis-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  perspective: 1400px;
  z-index: 10;
}

/* Stage Step Control Header (01 Particle -> 02 Sketch -> 03 UI -> 04 Live) */
.transformation-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(12, 14, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.step-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.step-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step-tab .step-num {
  font-size: 0.7rem;
  opacity: 0.6;
}

.step-tab.active .step-num {
  opacity: 1;
  color: var(--accent-primary);
}

.step-tab .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  transition: all 0.3s ease;
}

.step-tab.active .status-indicator {
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

/* 3D Hardware Viewport Stage */
.metamorphosis-viewport {
  position: relative;
  width: 100%;
  height: 620px;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
  transform-style: preserve-3d;
}

/* Canvas Viewport */
.transformation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

/* Top Browser / Studio Frame Header */
.viewport-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  padding: 0 20px;
  background: rgba(14, 16, 24, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.chrome-address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.chrome-address-bar .lock-icon {
  color: var(--accent-emerald);
  font-size: 0.7rem;
}

.chrome-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.metric-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-badge .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulseDot 2s infinite ease;
}

/* Stage Overlay Visual Layers */
.stage-overlay {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  opacity: 0;
  transform: scale(0.98);
}

.stage-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Stage 1: Particle Info HUD */
.stage-hud-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 380px;
}

.stage-hud-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.stage-hud-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.stage-hud-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stage 2: Architectural Sketch Overlay Layer */
.sketch-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sketch-wireframe-lines {
  position: absolute;
  inset: 40px;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: 12px;
  pointer-events: none;
}

.sketch-dimension {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  background: rgba(4, 5, 8, 0.9);
  padding: 2px 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 3px;
}

/* Stage 3: UI Design Component Library Overlay */
.ui-components-overlay {
  position: absolute;
  inset: 20px;
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 20px;
  pointer-events: none;
}

.ui-sidebar-mock {
  background: rgba(16, 19, 28, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ui-skeleton-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.ui-main-mock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-hero-card-mock {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  height: 240px;
  position: relative;
  backdrop-filter: blur(16px);
}

.ui-cards-grid-mock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  height: calc(100% - 256px);
}

.ui-subcard-mock {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.ui-inspector-mock {
  background: rgba(16, 19, 28, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* Stage 4: Live Website Digital Flagship Simulation */
.live-website-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #07080e;
}

.live-site-content {
  flex: 1;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.12), transparent 40%);
}

.live-site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.live-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.live-nav-items {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.live-hero-center {
  max-width: 640px;
  margin: 40px 0;
}

.live-hero-center h3 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.live-interactive-controls {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.live-btn-accent {
  padding: 8px 18px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.live-btn-accent:hover {
  transform: scale(1.04);
}

.live-site-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

/* Stage Bottom Scrubber & Play Controls */
.transformation-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 24px;
  background: rgba(12, 14, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

.play-pause-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.scrubber-track-wrap {
  flex: 1;
  margin: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scrubber-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.scrubber-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.time-display {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   MANIFESTO / VALUE PROPOSITION SECTION
   ========================================================================== */
.manifesto-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.manifesto-lead {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.manifesto-lead span {
  color: var(--accent-primary);
}

.manifesto-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.manifesto-card {
  padding: 24px 28px;
  background: rgba(16, 18, 28, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}

.manifesto-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
  background: rgba(22, 25, 38, 0.65);
}

.manifesto-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.manifesto-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.manifesto-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES (THE 6 CAPABILITIES)
   ========================================================================== */
.services-section {
  padding: 120px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  position: relative;
  cursor: pointer;
}

.service-header {
  margin-bottom: 24px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
  transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover .service-icon-box {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-primary);
  transform: scale(1.08);
  box-shadow: 0 0 30px -5px var(--accent-glow);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.service-link-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.service-link-btn svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link-btn svg {
  transform: translateX(4px);
  color: var(--accent-primary);
}

/* ==========================================================================
   AI LABORATORY (INTERACTIVE PLAYGROUND)
   ========================================================================== */
.lab-section {
  padding: 120px 0;
  position: relative;
}

.lab-panel-wrapper {
  background: rgba(12, 14, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

.lab-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(18, 21, 32, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lab-badge {
  padding: 4px 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

.lab-tabs {
  display: flex;
  gap: 8px;
}

.lab-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lab-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.lab-content-area {
  padding: 40px;
  min-height: 480px;
  position: relative;
}

.lab-tab-pane {
  display: none;
  animation: fadeInPane 0.4s var(--ease-out-expo);
}

.lab-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lab Tab 1: Atmosphere & Theme Synthesizer */
.theme-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.theme-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.preset-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.preset-card:hover, .preset-card.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.preset-color-sample {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 15px currentColor;
}

.preset-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.preset-info span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* Lab Tab 2: Agent Swarm Console */
.agent-console {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.agent-fleet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-fleet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.agent-fleet-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.agent-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.terminal-window {
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.terminal-line {
  margin-bottom: 8px;
  line-height: 1.5;
}

.terminal-line .timestamp {
  color: var(--text-tertiary);
  margin-right: 8px;
}

.terminal-line .prompt-user {
  color: var(--accent-cyan);
}

.terminal-line .agent-tag {
  color: var(--accent-violet);
  font-weight: 600;
}

.terminal-trigger-btn {
  margin-top: 16px;
  width: 100%;
}

/* ==========================================================================
   CREATIVE PROCESS (THE METAMORPHOSIS TIMELINE)
   ========================================================================== */
.process-section {
  padding: 120px 0;
  position: relative;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 36px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary), rgba(255, 255, 255, 0.05));
}

.process-step {
  display: flex;
  gap: 40px;
  position: relative;
}

.step-marker {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #090b12;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.4s ease;
}

.process-step:hover .step-marker {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.1);
}

.step-card {
  flex: 1;
  padding: 32px;
  background: rgba(16, 18, 28, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.process-step:hover .step-card {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(6px);
}

.step-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.step-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.step-deliverables {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PORTFOLIO SHOWCASE (CURATED WORKS)
   ========================================================================== */
.portfolio-section {
  padding: 120px 0;
  position: relative;
}

.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(14, 16, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 40px -10px var(--accent-glow);
}

.portfolio-thumb-wrap {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  background: #08090d;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.8s ease;
  filter: brightness(0.85) contrast(1.05);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.1);
}

.portfolio-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 7, 10, 0.95) 100%);
}

.portfolio-meta {
  padding: 28px 32px;
  position: relative;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-primary);
  text-transform: uppercase;
}

.portfolio-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-metrics-row {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.metric-lbl {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* ==========================================================================
   TESTIMONIALS & TRUSTED PARTNERS
   ========================================================================== */
.testimonials-section {
  padding: 120px 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  opacity: 0.4;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-style: normal;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-details h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.client-details p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Brand Ticker */
.brand-ticker-wrap {
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scrollTicker 30s linear infinite;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ticker-logo:hover {
  color: #fff;
}

/* ==========================================================================
   FINAL CALL TO ACTION & INQUIRY PORTAL
   ========================================================================== */
.cta-section {
  padding: 140px 0;
  position: relative;
}

.cta-card {
  padding: 72px 64px;
  background: linear-gradient(135deg, rgba(16, 19, 28, 0.9) 0%, rgba(9, 10, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-copy {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-meta-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Inquiry Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px -5px var(--accent-glow);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Tier Selector Chips in Form */
.tier-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tier-chip {
  padding: 10px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tier-chip.active, .tier-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-primary);
  color: #fff;
}

/* ==========================================================================
   GLOBAL STUDIO FOOTER
   ========================================================================== */
.site-footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #040507;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  margin-top: 16px;
  color: var(--text-secondary);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* World Studio Clocks */
.studio-clocks-bar {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.clock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.clock-item .city {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* Modal Popup System (For Portfolio Deep-Dives & Inquiry Confirmation) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 17, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out-expo);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}


/* ==========================================================================
   GRAFIK·ARTE·WEB AI STUDIO - GLASSMORPHISM & LUXURY LIGHTING SYSTEM
   Engineered for Apple / Tesla / OpenAI-grade aesthetic fidelity
   ========================================================================== */

:root {
  /* Dynamic Cursor Coordinates for Specular Light Reflection */
  --mouse-x: 50%;
  --mouse-y: 50%;
  
  /* Glass Surface Tokens */
  --glass-base: rgba(14, 16, 24, 0.65);
  --glass-surface: rgba(18, 20, 32, 0.55);
  --glass-elevated: rgba(26, 29, 46, 0.6);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  
  /* Border & Specular Highlights */
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-focus: rgba(255, 255, 255, 0.22);
  --glass-border-glow: rgba(112, 226, 255, 0.35);
  
  /* Blurs & Backdrops */
  --blur-subtle: blur(12px);
  --blur-medium: blur(24px);
  --blur-deep: blur(48px);
  
  /* Shadows */
  --shadow-ambient: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 20px 60px 0 rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 80px -20px var(--accent-glow);
}

/* Base Glassmorphic Container */
.glass-panel {
  background: var(--glass-surface);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient);
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specular Light Flare Follows Cursor */
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.glass-panel:hover::before {
  opacity: 1;
}

/* Subtle Top Rim Highlight (Luxury Apple/Tesla Hardware Edge) */
.glass-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.18) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Glass Card Variations */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), var(--glass-surface);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-focus);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.65), 0 0 40px -10px var(--accent-glow);
}

/* Ultra-frosted Floating Dock / Navigation Glass */
.glass-nav {
  background: rgba(8, 9, 14, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
}

/* Pill / Chip Glass Buttons */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Premium Light Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-orb.cyan {
  background: radial-gradient(circle, #00a3e0 0%, #0077aa 70%, transparent 100%);
}

.glow-orb.violet {
  background: radial-gradient(circle, #c084fc 0%, #7c3aed 70%, transparent 100%);
}

.glow-orb.gold {
  background: radial-gradient(circle, #fde047 0%, #ca8a04 70%, transparent 100%);
}

.glow-orb.emerald {
  background: radial-gradient(circle, #34d399 0%, #059669 70%, transparent 100%);
}

/* Shimmer Border Animation */
@keyframes borderShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.shimmer-border {
  position: relative;
}

.shimmer-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    var(--accent-primary),
    rgba(255, 255, 255, 0.1)
  );
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShimmer 6s ease infinite;
  pointer-events: none;
}


/* ==========================================================================
   GRAFIK·ARTE·WEB AI STUDIO - RESPONSIVE & ADAPTIVE STYLESHEET
   Flawless precision across Mobile, Tablet, Desktop, & High-DPI screens
   ========================================================================== */

/* Large Desktops & Widescreen (1440px and below) */
@media (max-width: 1440px) {
  .container {
    padding: 0 40px;
  }
}

/* Standard Desktops & Laptops (1200px and below) */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .manifesto-grid {
    gap: 40px;
  }
  
  .cta-grid {
    gap: 40px;
  }
  
  .ui-components-overlay {
    grid-template-columns: 200px 1fr 220px;
  }
}

/* Tablets Landscape & Smaller Laptops (992px and below) */
@media (max-width: 992px) {
  :root {
    --header-height: 72px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 7, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 32px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .theme-lab-grid {
    grid-template-columns: 1fr;
  }

  .agent-console {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .metamorphosis-viewport {
    height: 520px;
  }

  .ui-components-overlay {
    display: none;
  }
}

/* Tablets Portrait & Large Mobile (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .transformation-stepper {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 12px;
  }

  .step-tab {
    padding: 8px 14px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .metamorphosis-viewport {
    height: 440px;
    border-radius: var(--radius-lg);
  }

  .chrome-metrics {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .process-timeline::before {
    left: 24px;
  }

  .step-marker {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }

  .process-step {
    gap: 20px;
  }

  .step-card {
    padding: 24px;
  }

  .studio-clocks-bar {
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .tier-chips {
    grid-template-columns: 1fr;
  }

  .theme-presets {
    grid-template-columns: 1fr;
  }

  .modal-container {
    padding: 24px 18px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
