/* 
 * FUDLINE Premium Corporate Website Stylesheet
 * Brand: FUDLINE (Digital Solutions for Business)
 * Palette: Tech Deep Navy, Rich Gold, Bright Platinum White, Glassmorphic Translucents
 * Version: 2.0 (Premium Upgrade)
 */

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

/* CSS Variables */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --bg-primary: #040814;
  --bg-secondary: #081024;
  --bg-card: rgba(8, 16, 36, 0.6);
  
  --gold-primary: #c59b27;
  --gold-light: #f5e2b3;
  --gold-dark: #8c6b1a;
  --gold-glow: rgba(197, 155, 39, 0.15);
  
  --text-white: #ffffff;
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;

  --border-glass: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(197, 155, 39, 0.2);
  --border-gold-focus: rgba(197, 155, 39, 0.6);
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  --gradient-dark: linear-gradient(180deg, #040814 0%, #081024 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle, rgba(197, 155, 39, 0.12) 0%, rgba(4, 8, 20, 0) 70%);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadow & Blur */
  --blur-glass: 16px;
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 35px rgba(197, 155, 39, 0.25);
}

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

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

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body.modal-active {
  overflow: hidden;
}

/* Preloader Screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  gap: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 30px rgba(197, 155, 39, 0.4);
  animation: preloaderPulse 1.5s infinite ease-in-out;
}

.preloader-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--gold-primary);
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

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

/* Ambient Background Orbs */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-orb-1 {
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, rgba(8, 16, 36, 0) 70%);
}

.bg-orb-2 {
  bottom: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(20, 40, 80, 0.35) 0%, rgba(4, 8, 20, 0) 70%);
}

.bg-orb-3 {
  top: 40%;
  left: 30%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.08) 0%, rgba(4, 8, 20, 0) 70%);
}

/* Grid Pattern Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

/* Reusable Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

/* Sweep Reflection Effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: skewX(-25deg);
}

.btn:hover::after {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.2);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(197, 155, 39, 0.4), 0 0 15px rgba(197, 155, 39, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-gold-focus);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(197, 155, 39, 0.15), 0 0 15px rgba(0, 0, 0, 0.25);
}

/* Section Header */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

/* Glass Card */
.glass-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-glass);
  padding: 2.5rem;
  transition: border-color var(--transition-normal), 
              transform var(--transition-normal), 
              box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(197, 155, 39, 0.12), var(--shadow-glass);
}

/* Interactive Card Spotlight Glow */
.spotlight-card {
  position: relative;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(197, 155, 39, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Scroll Reveal Upgrade (Fade + Blur + Slide) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity var(--transition-slow), 
              transform var(--transition-slow), 
              filter var(--transition-slow);
  will-change: transform, opacity, filter;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
}

header:not(.scrolled) {
  padding: 1.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img-nav {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
}

.logo-text-nav {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-item a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-gold);
  transition: width var(--transition-normal);
}

.nav-item a:hover, 
.nav-item a.current {
  color: var(--text-white);
}

.nav-item a:hover::after,
.nav-item a.current::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-selector {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-selector:hover {
  color: var(--gold-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 110;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(6, 11, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 3rem;
    gap: 2rem;
    transition: right var(--transition-normal);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-item a {
    font-size: 1.25rem;
  }

  .nav-cta {
    display: none;
  }
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Particles Canvas */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
  position: relative;
}

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 50px rgba(197, 155, 39, 0.35);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  will-change: transform, box-shadow;
  animation: logoPulse 4s infinite ease-in-out;
}

.hero-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 65px rgba(197, 155, 39, 0.65);
}

.hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.3) 0%, rgba(4, 8, 20, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, var(--text-white) 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-glow-bg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(197, 155, 39, 0.1) 0%, rgba(4, 8, 20, 0) 80%);
  z-index: 1;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 50px rgba(197, 155, 39, 0.35);
  }
  50% {
    box-shadow: 0 0 70px rgba(197, 155, 39, 0.55);
  }
}

@media (max-width: 768px) {
  .hero-logo {
    width: 130px;
    height: 130px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .btn {
    width: 100%;
  }
}

/* ABOUT SECTION */
.about {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
}

.about-highlight {
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-white);
  font-size: 1.25rem;
  margin: 1rem 0;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-glass-card {
  width: 100%;
  max-width: 440px;
  padding: 3rem;
  border-radius: 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 5;
}

.about-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, rgba(4, 8, 20, 0) 70%);
  filter: blur(40px);
  z-index: 1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.metric-item {
  text-align: center;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual {
    order: -1;
  }
}

/* SERVICES SECTION */
.services {
  padding: 100px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem;
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--gold-primary);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(197, 155, 39, 0.3);
  border-color: transparent;
  transform: scale(1.05);
}

/* Service Card Icon Animate */
.service-card:hover .service-icon-wrapper i {
  animation: serviceIconMotion 0.6s ease-out;
}

@keyframes serviceIconMotion {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-4px) scale(1.08) rotate(8deg); }
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

/* WHY US SECTION */
.why-us {
  padding: 100px 0;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2.5rem;
  border-radius: 20px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: transform var(--transition-normal);
}

.why-card:hover .why-icon {
  transform: scale(1.15);
  animation: whyIconMotion 0.6s ease-out;
}

@keyframes whyIconMotion {
  0%, 100% { transform: scale(1.15) rotate(0deg); }
  50% { transform: scale(1.3) rotate(-10deg); }
}

.why-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.why-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

/* HOW WE WORK SECTION */
.how-we-work {
  padding: 100px 0;
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 2rem;
}

.timeline-line {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(197, 155, 39, 0.5) 0%, 
    rgba(197, 155, 39, 0.5) 75%, 
    rgba(197, 155, 39, 0.05) 100%
  );
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.timeline-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-normal);
}

.timeline-step:hover .timeline-node {
  border-color: var(--gold-primary);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(197, 155, 39, 0.4), var(--shadow-glass);
  transform: scale(1.05);
}

.timeline-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 992px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .timeline-line {
    top: 0;
    left: 30px;
    width: 2px;
    height: 90%;
    background: linear-gradient(180deg, 
      rgba(197, 155, 39, 0.5) 0%, 
      rgba(197, 155, 39, 0.5) 75%, 
      rgba(197, 155, 39, 0.05) 100%
    );
  }
  .timeline-step {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }
  .timeline-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* CONTACTS SECTION */
.contacts {
  padding: 100px 0;
  position: relative;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-details-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 3rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  color: var(--gold-primary);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-detail-text p, 
.contact-detail-text a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-white);
}

.contact-detail-text a:hover {
  color: var(--gold-primary);
}

.company-requisites {
  font-size: 0.85rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-requisites strong {
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-card {
  padding: 3rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--border-gold-focus);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(197, 155, 39, 0.1);
}

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

/* Custom validation styles */
.form-input.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.18) !important;
}

.form-error-text {
  position: absolute;
  bottom: -1.35rem;
  left: 0.25rem;
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
  font-weight: 400;
}

.form-input.invalid + .form-error-text {
  display: block;
  animation: errorSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes errorSlideIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contacts-info {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 2rem; /* Give space for validation labels */
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

/* PREMIUM MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 5, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

.modal-icon i {
  width: 36px;
  height: 36px;
}

/* Modal States */
.modal-overlay.success-state .modal-container {
  border-color: var(--border-gold);
}

.modal-overlay.success-state .modal-icon {
  background: rgba(197, 155, 39, 0.1);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 35px rgba(197, 155, 39, 0.3);
}

.modal-overlay.error-state .modal-container {
  border-color: rgba(239, 68, 68, 0.2);
}

.modal-overlay.error-state .modal-icon {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid #ef4444;
  color: #ef4444;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.3);
}

.modal-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.modal-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0;
  position: relative;
  background: #02050e;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.footer-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
}
