@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --copper-50: #fbf6f0;
  --copper-100: #f6e7da;
  --copper-200: #ebd0b9;
  --copper-300: #dda88a;
  --copper-400: #c87a53;
  --copper-500: #b87333; /* Main copper */
  --copper-600: #a56228;
  --copper-700: #8c4e28;
  --copper-800: #703e22;
  --copper-900: #5c331d;
  --charcoal: #0f172a;
  --slate-bg: #f8fafc;
  --nav-bg: rgba(255, 255, 255, 0.75);
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: direction 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography styles */
h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}

/* Persian typography overrides */
[dir="rtl"] body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .font-display {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: normal; /* Disable negative tracking for Persian */
}

/* Industrial Grid Background */
.grid-bg {
  background-image: radial-gradient(rgba(184, 115, 51, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Glassmorphism nav with border shadow */
.glass-nav {
  background-color: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
}

/* Premium Gradient Text */
.copper-gradient-text {
  background: linear-gradient(135deg, #c87a53 0%, #b87333 50%, #703e22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Copper Premium Buttons */
.copper-btn {
  background: linear-gradient(135deg, #c87a53 0%, #b87333 100%);
  color: white;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px 0 rgba(184, 115, 51, 0.2);
}

.copper-btn:hover {
  background: linear-gradient(135deg, #b87333 0%, #a56228 100%);
  box-shadow: 0 6px 22px 0 rgba(184, 115, 51, 0.35);
  transform: translateY(-2px);
}

.copper-btn:active {
  transform: translateY(0);
}

.copper-outline-btn {
  border: 1px solid rgba(184, 115, 51, 0.5);
  color: var(--copper-500);
  background-color: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.copper-outline-btn:hover {
  background-color: rgba(184, 115, 51, 0.05);
  border-color: var(--copper-500);
  color: var(--copper-600);
  transform: translateY(-1px);
}

/* Premium B2B cards with subtle glow */
.premium-card {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(184, 115, 51, 0.06);
  border-color: rgba(184, 115, 51, 0.25);
}

/* Status indicator pulse animation */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse-ring 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Pricing Board table animations */
.price-row {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-row:hover {
  background-color: rgba(248, 250, 252, 0.85);
  transform: scale(1.002);
}

/* Input Fields styling */
input, select, textarea {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--copper-400) !important;
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15) !important;
  background-color: #ffffff !important;
}

/* Float Animation */
.float-effect {
  animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Custom transitions and filters */
.blur-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
