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

/* -------------------------------------------------------------
 * Custom Styles for SuperDee!XP Accessories
 * Designed with a "Sophisticated Dark" tech layout.
 * Features: Deep blacks (#050505), metallic card structures (#121212),
 * refined gray-metal borders (#2A2A2E), and premium red highlights (#E63946).
 * Display Font is Oswald, supporting high-contrast bold layout styling.
 * ------------------------------------------------------------- */

/* Native CSS variables in case running directly inside cPanel html/css outside Vite */
:root {
  --color-brand-red: #E63946;
  --color-brand-red-muted: #991B1B;
  --color-brand-red-glow: rgba(230, 57, 70, 0.15);
  --color-brand-dark-black: #050505;
  --color-brand-card: #121212;
  --color-brand-card-hover: #1A1A1E;
  --color-brand-border: #2A2A2E;
  --color-brand-border-hover: #3F3F46;
  --color-brand-gold: #D4AF37;
  --color-brand-gold-glow: rgba(212, 175, 55, 0.15);
  
  --font-display: "Oswald", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

@theme {
  --color-brand-red: #E63946;
  --color-brand-red-muted: #991B1B;
  --color-brand-red-glow: rgba(230, 57, 70, 0.15);
  --color-brand-dark-black: #050505;
  --color-brand-card: #121212;
  --color-brand-card-hover: #1A1A1E;
  --color-brand-border: #2A2A2E;
  --color-brand-border-hover: #3F3F46;
  --color-brand-gold: #D4AF37;
  --color-brand-gold-glow: rgba(212, 175, 55, 0.15);
  
  --font-display: "Oswald", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  --animate-pulse-slow: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  --animate-fade-in: fadeIn 0.8s ease-out forwards;
}

@layer base {
  body {
    background-color: #050505;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.03) 0%, transparent 45%),
      radial-gradient(circle at 90% 80%, rgba(42, 42, 46, 0.04) 0%, transparent 50%);
    color: #F5F5F5;
    overflow-x: hidden;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-entrance {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Metallic Text Action */
.text-metallic {
  background: linear-gradient(135deg, #FFFFFF 0%, #E4E4E7 55%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Metallic Card Border Effect */
.metallic-card {
  position: relative;
  background: #121212;
  border: 1px solid #2A2A2E;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.metallic-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(230, 57, 70, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s;
}

.metallic-card:hover {
  transform: translateY(-4px);
  background: #1A1A1E;
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8), 0 0 15px 0 rgba(230, 57, 70, 0.08);
}

.metallic-card:hover::before {
  background: linear-gradient(135deg, #E63946 0%, rgba(255, 255, 255, 0.15) 50%, #E63946 100%);
}

/* Gold Metallic Badge Style */
.gold-badge {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  color: #000000;
  text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.3);
}

/* Glow Accent Filter */
.glow-accent-red {
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.15);
}

/* Smooth Navigation Highlight */
.nav-link {
  position: relative;
  color: #A1A1AA;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #E63946;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  transform: scaleX(1);
  background-color: #E63946;
}

/* Calendly Container styling */
.calendly-inline-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  background: #121212;
  border: 1px dashed #2A2A2E;
}

/* Interactive custom styled form fields */
.form-input {
  background: #121212;
  border: 1px solid #2A2A2E;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #E63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
  outline: none;
}

/* Styled Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #2A2A2E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #E63946;
}
