/* Custom styles for Studio B4 - 3D Printing Services */
/* Pico CSS provides base styling, Tailwind CSS for utilities */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800&display=swap');

:root {
  --primary-color: #0a0a0a;
  --secondary-color: #262626;
  --accent-color: #3b82f6; /* Subtle blue accent for interactivity */
  --background-color: #ffffff;
  --surface-color: #f8f9fa;
  --text-color: #171717;
  --text-muted: #666666;
  --border-color: #e5e5e5;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Language selector styling */
.lang-selector {
  display: inline-flex;
  gap: 0.25rem;
  background: var(--surface-color);
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
}

.lang-selector button {
  padding: 0.35rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-base);
  margin-bottom: 0;
}

.lang-selector button:hover {
  color: var(--primary-color);
}

.lang-selector button.active {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* Print workflow step styling */
.print-workflow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
}

.print-step {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  background: white;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.print-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--border-color);
  transition: var(--transition-base);
}

.print-step.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.print-step.active::before {
  background: var(--primary-color);
}

.print-step.completed {
  background: #fafafa;
  opacity: 0.85;
}

.print-step.completed::before {
  background: #10b981;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--surface-color);
  color: var(--text-muted);
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
  font-size: 0.875rem;
  transition: var(--transition-base);
}

.print-step.active .step-number {
  background: var(--primary-color);
  color: white;
}

.print-step.completed .step-number {
  background: #10b981;
  color: white;
}

/* File upload area */
.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 3.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  background: var(--surface-color);
  margin-bottom: 2rem;
}

.file-upload-area:hover {
  border-color: var(--primary-color);
  background: white;
}

.file-upload-area.dragover {
  border-color: var(--accent-color);
  background: rgba(59, 130, 246, 0.05);
}

.file-upload-area i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

/* Quote display */
.quote-display {
  background: var(--primary-color);
  color: white;
  padding: 2.5rem;
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.quote-display h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.quote-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin: 0.5rem 0;
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
}

/* Service cards */
.service-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 0;
  transition: var(--transition-base);
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

/* Hero section */
.hero {
  background: white;
  padding: 8rem 2rem;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* CTA buttons */
.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 1.15rem 2.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  padding: 1.15rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--surface-color);
  border-color: var(--primary-color);
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

nav {
  padding: 1.25rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

nav ul li:first-child {
  margin-right: auto;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-base);
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-base);
}

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--surface-color);
  color: var(--text-color);
  padding: 6rem 0 3rem;
  margin-top: 8rem;
  border-top: 1px solid var(--border-color);
}

footer h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-base);
}

footer a:hover {
  color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .print-step {
    padding: 1.5rem;
  }
  
  .quote-amount {
    font-size: 2.5rem;
  }
}

/* Form styling enhancements */
input, select, textarea {
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  background: var(--surface-color) !important;
  padding: 1rem !important;
  font-family: var(--font-body) !important;
  transition: var(--transition-base) !important;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color) !important;
  background: white !important;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05) !important;
}

/* Progress indicator */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-color);
  border-radius: 9999px;
  overflow: hidden;
  margin: 2rem 0;
}

.progress-fill {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


