/* =============================================================================
   HussnainTechVertex - Ultra-Minimalist Glassmorphism Design
   Premium Corporate Portal - Exact Match to Reference Design
   ============================================================================= */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =============================================================================
   PREMIUM COLOR SYSTEM
   ============================================================================= */

:root {
  --gold: #D4AF37;
  --gold-light: #F4E5C2;
  --cyan: #00D9FF;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-dim: rgba(255, 255, 255, 0.5);
}

.text-gold {
  color: var(--gold);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C2 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   PURE GLASSMORPHISM SYSTEM
   ============================================================================= */

.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================================================
   3D PORTAL FRAME SYSTEM (Like in the image)
   ============================================================================= */

.portal-frame {
  position: relative;
  perspective: 1200px;
}

.portal-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transform: rotateX(5deg) rotateY(-5deg);
  pointer-events: none;
  transition: all 0.6s ease;
}

.portal-frame:hover::before {
  transform: rotateX(0deg) rotateY(0deg);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Subtle 3D text label at top */
.portal-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(212, 175, 55, 0.6);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* =============================================================================
   MINIMALIST BACKGROUND
   ============================================================================= */

.void-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 217, 255, 0.02) 0%, transparent 50%),
    #000000;
}

/* Subtle noise texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* =============================================================================
   NAVIGATION - MINIMAL GLASSMORPHISM
   ============================================================================= */

nav.glass-nav {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============================================================================
   HERO SECTION - EXACT MATCH TO IMAGE
   ============================================================================= */

.hero-minimal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* 3D Logo Container with subtle perspective */
.logo-3d-container {
  position: relative;
  width: 400px;
  height: 500px;
  margin-bottom: 4rem;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.logo-3d-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transform: rotateX(8deg) translateZ(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-3d-container:hover .logo-3d-frame {
  transform: rotateX(0deg) translateZ(20px);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Small label at top of frame */
.logo-3d-label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(212, 175, 55, 0.5);
  text-transform: uppercase;
  font-weight: 600;
}

/* Logo inside */
.logo-3d-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

/* Company name styling - minimal */
.company-name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
  margin-bottom: 1rem;
}

.company-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.6em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Tagline */
.hero-tagline {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* =============================================================================
   MINIMAL BUTTONS
   ============================================================================= */

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gold);
  color: #000000;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 48px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

/* Go to website link */
.website-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.website-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* =============================================================================
   SECTION STYLING - GLASSMORPHISM
   ============================================================================= */

.section-minimal {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.section-subtitle {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 4rem;
  text-transform: uppercase;
}

/* =============================================================================
   CARDS - TRUE GLASSMORPHISM
   ============================================================================= */

.card-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 4px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.15em;
}

.card-description {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* =============================================================================
   PORTFOLIO - MINIMALIST
   ============================================================================= */

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
  transition: all 0.6s ease;
}

.portfolio-item:hover .portfolio-image {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* =============================================================================
   CONTACT FORM - GLASSMORPHISM
   ============================================================================= */

.form-glass {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
}

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

/* =============================================================================
   FOOTER - MINIMAL
   ============================================================================= */

.footer-minimal {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.5);
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  opacity: 0.6;
}

.footer-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2em;
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger delays for sequential animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 768px) {
  .logo-3d-container {
    width: 300px;
    height: 380px;
  }
  
  .section-minimal {
    padding: 4rem 1.5rem;
  }
  
  .form-glass {
    padding: 2rem 1.5rem;
  }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.text-center { text-align: center; }
.text-dim { color: rgba(255, 255, 255, 0.5); }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.3em; }
.mb-4 { margin-bottom: 2rem; }
.mt-8 { margin-top: 4rem; }
