/* CSS Variables */
:root {
  /* Colors - Light Theme */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 3.9%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 3.9%);
  --primary: hsl(240, 5.9%, 10%);
  --primary-foreground: hsl(0, 0%, 98%);
  --secondary: hsl(240, 4.8%, 95.9%);
  --secondary-foreground: hsl(240, 5.9%, 10%);
  --muted: hsl(240, 4.8%, 95.9%);
  --muted-foreground: hsl(240, 3.8%, 46.1%);
  --accent: hsl(240, 4.8%, 95.9%);
  --accent-foreground: hsl(240, 5.9%, 10%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(0, 0%, 98%);
  --border: hsl(240, 5.9%, 90%);
  --input: hsl(240, 5.9%, 90%);
  --ring: hsl(240, 5.9%, 10%);
  --success: hsl(142, 76%, 36%);
  --success-foreground: hsl(0, 0%, 98%);
  
  /* Fonts */
  --font-inter: 'Inter', sans-serif;
  --font-space-grotesk: 'Space Grotesk', sans-serif;
  --font-playfair: 'Playfair Display', serif;
  --font-jetbrains: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 5rem 0;
}

.dark {
  /* Colors - Dark Theme */
  --background: hsl(240, 10%, 3.9%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(240, 10%, 3.9%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(47, 96%, 89%);
  --primary-foreground: hsl(240, 5.9%, 10%);
  --secondary: hsl(240, 3.7%, 15.9%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 3.7%, 15.9%);
  --muted-foreground: hsl(240, 5%, 64.9%);
  --accent: hsl(12, 6.5%, 15.1%);
  --accent-foreground: hsl(0, 0%, 98%);
  --border: hsl(240, 3.7%, 15.9%);
  --input: hsl(240, 3.7%, 15.9%);
  --ring: hsl(240, 4.9%, 83.9%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 25% 25%, hsl(47 96% 89% / 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, hsl(12 6.5% 15.1% / 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 49%, hsl(47 96% 89% / 0.03) 49%, hsl(47 96% 89% / 0.03) 51%, transparent 51%);
  background-size: 200px 200px, 300px 300px, 40px 40px;
  animation: background-shift 30s ease infinite;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body:not(.dark) {
  background-image: 
    radial-gradient(circle at 25% 25%, hsl(240 5.9% 10% / 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, hsl(47 96% 89% / 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 49%, hsl(240 5.9% 10% / 0.02) 49%, hsl(240 5.9% 10% / 0.02) 51%, transparent 51%);
  background-size: 200px 200px, 300px 300px, 40px 40px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-space-grotesk);
  letter-spacing: -0.025em;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
  background: hsla(var(--background), 0.85);
  border-bottom: 1px solid hsla(var(--border), 0.3);
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-line1 {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-space-grotesk);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.logo-line2 {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-space-grotesk);
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-top: -0.25rem;
}

/* Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  color: var(--foreground);
  opacity: 0.8;
  font-weight: 500;
  font-family: var(--font-space-grotesk);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary);
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  border: 2px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--muted);
}

.theme-emoji {
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--muted);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1rem;
  height: 0.75rem;
}

.hamburger .line {
  width: 100%;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 20rem;
  height: 100vh;
  background: var(--card);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  transition: right 0.3s ease;
  z-index: 60;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
}

.mobile-logo {
  margin-bottom: 1rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  text-align: left;
  color: var(--foreground);
  font-weight: 500;
  font-family: var(--font-space-grotesk);
  padding: 0.75rem 0;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* Company Icon */
.company-icon {
  color: var(--primary);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, 
    hsl(47, 96%, 89%) 0%, 
    hsl(0, 0%, 98%) 50%,
    hsl(47, 96%, 89%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

body:not(.dark) .text-gradient {
  background: linear-gradient(135deg, 
    hsl(240, 5.9%, 10%) 0%, 
    hsl(47, 96%, 60%) 30%,
    hsl(12, 86%, 50%) 70%,
    hsl(240, 5.9%, 10%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
}

.company-name-gradient {
  background: linear-gradient(135deg, 
    hsl(47, 96%, 89%) 0%,
    hsl(47, 96%, 70%) 15%,
    hsl(12, 86%, 60%) 30%,
    hsl(261, 86%, 55%) 45%,
    hsl(12, 86%, 60%) 60%,
    hsl(47, 96%, 70%) 75%,
    hsl(47, 96%, 89%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400% 400%;
  animation: rainbow-shift 8s ease infinite;
}

body:not(.dark) .company-name-gradient {
  background: linear-gradient(135deg, 
    hsl(240, 5.9%, 10%) 0%,
    hsl(47, 86%, 45%) 15%,
    hsl(12, 86%, 50%) 30%,
    hsl(261, 86%, 55%) 45%,
    hsl(284, 100%, 60%) 60%,
    hsl(47, 86%, 45%) 75%,
    hsl(240, 5.9%, 10%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% 500%;
  animation: rainbow-shift 10s ease infinite;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    var(--background) 0%, 
    hsl(240, 10%, 8%) 30%,
    hsl(240, 15%, 5%) 50%, 
    hsl(240, 10%, 8%) 70%,
    var(--background) 100%);
}

body:not(.dark) .hero-gradient {
  background: linear-gradient(135deg, 
    var(--background) 0%, 
    hsl(240, 4.8%, 95.9%) 30%,
    hsl(240, 6%, 92%) 50%,
    hsl(240, 4.8%, 95.9%) 70%,
    var(--background) 100%);
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, hsl(47, 96%, 89%, 0.15) 0%, transparent 25%),
    linear-gradient(-45deg, hsl(12, 6.5%, 15.1%, 0.15) 75%, transparent 100%),
    radial-gradient(ellipse at center, hsl(261, 86%, 55%, 0.1) 0%, transparent 60%);
  animation: aurora-shift 15s ease-in-out infinite;
}

body:not(.dark) .hero-gradient::before {
  background: 
    linear-gradient(45deg, hsl(240, 5.9%, 10%, 0.1) 0%, transparent 25%),
    linear-gradient(-45deg, hsl(47, 96%, 89%, 0.2) 75%, transparent 100%),
    radial-gradient(ellipse at center, hsl(261, 86%, 55%, 0.08) 0%, transparent 60%);
}

.architectural-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  animation: grid-flow 20s linear infinite;
}

/* Binary Rain */
.binary-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Circuit Pattern */
.circuit-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  color: hsl(47, 96%, 89%);
}

/* Geometric Elements */
.geometric-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.geometric-triangle {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: hsl(var(--primary), 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--primary), 0.3);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.geometric-triangle i {
  animation: spin 3s linear infinite;
}

.geometric-square {
  position: absolute;
  bottom: 5rem;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  background: hsl(var(--foreground), 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--foreground), 0.2);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.geometric-square i {
  transform: rotate(-45deg);
}

.geometric-chip {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary), 0.2);
  border: 2px solid hsl(var(--primary), 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  animation-delay: 3s;
}

.geometric-chip::before {
  content: '';
  position: absolute;
  inset: 0.25rem;
  background: hsl(var(--primary), 0.1);
}

.geometric-chip i {
  z-index: 10;
}

/* Data Visualization */
.data-visualization {
  position: absolute;
  bottom: 8rem;
  right: 8rem;
  display: flex;
  align-items: end;
  gap: 0.5rem;
  animation-delay: 2s;
}

.data-bar {
  width: 0.5rem;
  background: hsl(var(--primary), 0.5);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.data-bar i {
  position: absolute;
  bottom: -1.5rem;
  font-size: 0.5rem;
  color: hsl(var(--primary), 0.6);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 6xl;
  margin: 0 auto;
}

.hero-icon {
  margin-bottom: 3rem;
}

.hero-title h1 {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-space-grotesk);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
}

.hero-title span:nth-child(2) {
  margin-top: 0.5rem;
}

.hero-slogan .slogan {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-description p {
  font-size: 1.25rem;
  color: hsl(var(--foreground), 0.7);
  margin-bottom: 4rem;
  max-width: 4xl;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-family: var(--font-inter);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: neural-pulse 3s ease-in-out infinite;
}

.scroll-indicator i {
  color: var(--primary);
  animation: pulse-geometric 4s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 25px hsla(0, 0%, 0%, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: hsl(var(--primary), 0.9);
  transform: scale(1.05);
  box-shadow: 0 15px 35px hsla(0, 0%, 0%, 0.2);
}

.btn-secondary {
  border: 2px solid hsl(var(--foreground), 0.2);
  color: var(--foreground);
  background: transparent;
  font-weight: 700;
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.1);
}

.btn-secondary:hover {
  background: hsl(var(--foreground), 0.1);
  transform: scale(1.05);
  box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.15);
}

/* Cards */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-content {
  padding: 2rem;
}

.card-architectural {
  box-shadow: 
    0 8px 32px hsla(0, 0%, 0%, 0.12),
    0 2px 8px hsla(0, 0%, 0%, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-architectural:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px hsla(0, 0%, 0%, 0.15),
    0 8px 16px hsla(0, 0%, 0%, 0.1);
}

body:not(.dark) .card-architectural {
  box-shadow: 
    0 8px 32px hsla(0, 0%, 0%, 0.06),
    0 2px 8px hsla(0, 0%, 0%, 0.04);
}

body:not(.dark) .card-architectural:hover {
  box-shadow: 
    0 20px 40px hsla(0, 0%, 0%, 0.1),
    0 8px 16px hsla(0, 0%, 0%, 0.06);
}

.card-architectural::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(47, 96%, 89%, 0.6), hsl(261, 86%, 55%, 0.4), hsl(47, 96%, 89%, 0.6), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

body:not(.dark) .card-architectural::before {
  background: linear-gradient(90deg, transparent, hsl(240, 5.9%, 10%, 0.3), hsl(261, 86%, 55%, 0.2), hsl(240, 5.9%, 10%, 0.3), transparent);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-playfair);
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 3xl;
  margin: 0 auto;
  line-height: 1.6;
}

.section-subheader {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subheader h3 {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-playfair);
  color: var(--foreground);
  margin-bottom: 2rem;
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background: var(--background);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-cards .card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-playfair);
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-cards .card-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.value-card {
  text-align: center;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: hsl(var(--primary), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.value-icon i {
  width: 2rem;
  height: 2rem;
}

.value-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-playfair);
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
}

.services-section .section-header {
  margin-bottom: 5rem;
}

.services-section .section-header h2 {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-space-grotesk);
  letter-spacing: -0.05em;
}

.section-accent {
  width: 3rem;
  height: 0.25rem;
  background: var(--primary);
  margin: 0 auto 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  transition: all 0.5s ease;
  transform: translateY(0);
  group: hover;
}

.service-card:hover {
  transform: translateY(-0.75rem);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.15);
}

.service-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  background: hsl(var(--primary), 0.1);
  transform: rotate(45deg) translate(1rem, -1rem);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: hsl(var(--primary), 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--primary), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover .service-icon {
  background: hsl(var(--primary), 0.2);
}

.service-icon i {
  width: 2rem;
  height: 2rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-space-grotesk);
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.service-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  font-family: var(--font-inter);
}

.service-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, hsl(var(--primary), 0.5), transparent);
}

.services-cta {
  text-align: center;
  margin-top: 5rem;
}

.cta-accent {
  width: 6rem;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 0 auto 2rem;
}

.services-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-family: var(--font-inter);
  font-size: 1.125rem;
}

.cta-link {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-space-grotesk);
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
}

.cta-link:hover {
  color: hsl(var(--primary), 0.8);
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background: var(--background);
}

.contact-form-container {
  max-width: 2xl;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(var(--primary), 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--destructive);
}

.error-message {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.character-count {
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.success-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: hsl(var(--success), 0.1);
  border: 1px solid hsl(var(--success), 0.2);
  border-radius: 0.375rem;
  color: var(--success);
  font-weight: 500;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  position: relative;
}

.form-submit .loading-spinner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.contact-direct {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-direct p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: hsl(var(--primary), 0.8);
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-company {
  grid-column: span 1;
}

.footer-company .logo {
  margin-bottom: 1rem;
}

.footer-company p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  max-width: 28rem;
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact i {
  margin-right: 0.5rem;
}

.footer-links h4,
.footer-social h4 {
  font-weight: 600;
  font-family: var(--font-playfair);
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav button {
  text-align: left;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.footer-nav button:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.12);
  pointer-events: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 20rem;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.error {
  border-left: 4px solid var(--destructive);
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast-title {
  font-weight: 600;
  color: var(--foreground);
}

.toast-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Geometric Accent */
.geometric-accent {
  position: relative;
}

.geometric-accent::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background: linear-gradient(45deg, hsl(47, 96%, 89%), hsl(261, 86%, 55%));
  transform: rotate(45deg);
  animation: spin-glow 4s linear infinite;
}

body:not(.dark) .geometric-accent::after {
  background: linear-gradient(45deg, hsl(240, 5.9%, 10%), hsl(261, 86%, 55%));
}

/* Magnetic Button Effect */
.magnetic-button {
  position: relative;
  overflow: hidden;
}

.magnetic-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, hsl(47, 96%, 89%, 0.3) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
}

.magnetic-button:hover::before {
  width: 300px;
  height: 300px;
}

.magnetic-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px hsl(47, 96%, 89%, 0.3);
}

/* Interactive Hover */
.interactive-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-hover:hover {
  transform: translateY(-0.5rem) scale(1.02);
  box-shadow: 0 10px 25px hsl(47, 96%, 89%, 0.2);
}

/* Animations */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rainbow-shift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 25%; }
  50% { background-position: 50% 100%; }
  75% { background-position: 25% 0%; }
}

@keyframes background-shift {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50% { background-position: 100% 100%, 0% 0%, 20px 20px; }
}

@keyframes aurora-shift {
  0%, 100% { background-position: 0% 0%, 100% 100%, center; }
  33% { background-position: 50% 25%, 50% 75%, center top; }
  66% { background-position: 100% 50%, 0% 50%, center bottom; }
}

@keyframes grid-flow {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
}

@keyframes spin-glow {
  0% { transform: rotate(0deg); box-shadow: 0 0 5px hsl(47, 96%, 89%, 0.5); }
  50% { box-shadow: 0 0 15px hsl(261, 86%, 55%, 0.8); }
  100% { transform: rotate(360deg); box-shadow: 0 0 5px hsl(47, 96%, 89%, 0.5); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pulse-geometric {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  25% { opacity: 0.7; transform: scale(1.1) rotate(45deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
  75% { opacity: 0.8; transform: scale(1.15) rotate(135deg); }
}

@keyframes neural-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes float-architectural {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  33% { transform: translateY(-12px) rotate(2deg) scale(1.05); }
  66% { transform: translateY(-6px) rotate(-1deg) scale(0.98); }
}

/* Animation Classes */
.animate-fade-in-scale {
  animation: fade-in-scale 1s ease-out;
}

.animate-slide-in-bottom {
  animation: slide-in-bottom 0.8s ease-out;
}

.animate-float-architectural {
  animation: float-architectural 10s ease-in-out infinite;
}

.animate-pulse-geometric {
  animation: pulse-geometric 8s ease-in-out infinite;
}

.animate-neural-pulse {
  animation: neural-pulse 6s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-binary-rain {
  animation: binary-rain 12s linear infinite;
}

.animate-circuit-flow {
  animation: circuit-flow 4s ease-in-out infinite;
}

.animate-data-stream {
  animation: data-stream 8s linear infinite;
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-bottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-links {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-title h1 {
    font-size: 4.5rem;
  }
  
  .hero-slogan .slogan {
    font-size: 1.5rem;
  }
  
  .hero-description p {
    font-size: 1.25rem;
  }
  
  .section-header h2 {
    font-size: 4rem;
  }
  
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-company {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .hero-title h1 {
    font-size: 5rem;
  }
  
  .hero-slogan .slogan {
    font-size: 2rem;
  }
  
  .hero-description p {
    font-size: 1.5rem;
  }
  
  .services-section .section-header h2 {
    font-size: 5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-title h1 {
    font-size: 6rem;
  }
  
  .hero-slogan .slogan {
    font-size: 2.5rem;
  }
  
  .hero-description p {
    font-size: 1.75rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(47, 96%, 89%, 0.6), hsl(261, 86%, 55%, 0.6));
  border-radius: 4px;
  transition: all 0.3s ease;
}

body:not(.dark) ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(240, 5.9%, 10%, 0.4), hsl(261, 86%, 55%, 0.4));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(47, 96%, 89%, 0.9), hsl(261, 86%, 55%, 0.9));
  box-shadow: 0 0 8px hsl(47, 96%, 89%, 0.5);
}

body:not(.dark) ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(240, 5.9%, 10%, 0.7), hsl(261, 86%, 55%, 0.7));
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print Styles */
@media print {
  .header,
  .mobile-menu,
  .scroll-indicator,
  .toast-container {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    background: white;
    color: black;
  }
}