/* ========================================
   Technofox USA - Professional Styles
   Charte: RAL 1023 Orange, RAL 9005 Black, RAL 9003 White
   ======================================== */

:root {
  --tf-orange: #f7b500;
  --tf-orange-dark: #ed6b21;
  --tf-orange-light: #ff9b00;
  --tf-black: #0e0e10;
  --tf-white: #ecece7;
  --tf-gray: #f8f9fa;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: #ffffff;
  color: #111827;
  overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
}

/* ========================================
   Navigation
   ======================================== */

.nav-link {
  color: #374151;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--tf-orange-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tf-orange-dark);
  transition: width 0.3s;
}

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

.mobile-link {
  color: #374151;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  transition: color 0.2s;
}

.mobile-link:hover {
  color: var(--tf-orange-dark);
}

/* Hamburger Animation */
#menuBtn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.open span:nth-child(2) {
  opacity: 0;
}

#menuBtn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobileMenu.open {
  transform: translateX(0);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tf-orange);
  color: var(--tf-black);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(247, 181, 0, 0.35);
}

.btn-primary:hover {
  background: var(--tf-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 107, 33, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--tf-black);
  color: var(--tf-black);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--tf-black);
  color: white;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.btn-play:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* ========================================
   Cards
   ======================================== */

.benefit-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: var(--tf-orange);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* ========================================
   Forms
   ======================================== */

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  transition: all 0.2s;
  background: #f9fafb;
}

.form-input:focus {
  outline: none;
  border-color: var(--tf-orange);
  box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.15);
  background: white;
}

.form-input::placeholder {
  color: #9ca3af;
}

/* ========================================
   Social Links
   ======================================== */

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #1f2937;
  color: #9ca3af;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--tf-orange);
  color: var(--tf-black);
}

/* ========================================
   Lightbox
   ======================================== */

#lightbox {
  opacity: 0;
  transition: opacity 0.3s;
}

#lightbox.active {
  display: flex;
  opacity: 1;
}

/* ========================================
   Geometric Shapes Animation
   ======================================== */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shape-float {
  animation: float 6s ease-in-out infinite;
}

.shape-rotate {
  animation: rotate-slow 20s linear infinite;
}

/* ========================================
   Header Scroll Effect
   ======================================== */

#header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1023px) {
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem !important;
  }
  
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   AOS Customization
   ======================================== */

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ========================================
   Selection Color
   ======================================== */

::selection {
  background: var(--tf-orange);
  color: var(--tf-black);
}

/* ========================================
   Scrollbar
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--tf-orange-dark);
}

/* ========================================
   Images
   ======================================== */

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Focus Visible
   ======================================== */

*:focus-visible {
  outline: 2px solid var(--tf-orange);
  outline-offset: 2px;
}
