/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: heroSlideIn 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  animation: badgePulse 2s infinite;
}

.hero-title {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gray-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-600);
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--secondary);
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-3d model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}

.hero-3d::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.placeholder-3d {
  font-size: 120px;
  color: var(--gray-200);
  animation: rotate 20s linear infinite;
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: #ff0000;
  z-index: -1;
  animation: glitch1 0.3s infinite;
}

.glitch::after {
  color: #00ffff;
  z-index: -2;
  animation: glitch2 0.3s infinite;
}

/* ===========================================
   SERVICES SECTION
   =========================================== */
.services {
  padding: 120px 80px;
  background: var(--gray-50);
}

.section-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  filter: blur(2px);
  animation-fill-mode: forwards;
}

.service-card.animate {
  animation: serviceReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card.animate:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card.animate:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card.animate:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #00cc75 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 148, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 32px rgba(0, 255, 148, 0.1);
  border-color: rgba(0, 255, 148, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 255, 148, 0.3);
}

.service-card:hover .service-icon::before {
  width: 120%;
  height: 120%;
  opacity: 0.2;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--accent);
}

.service-desc {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-card:hover .service-desc {
  color: var(--gray-900);
}

.service-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ===========================================
   MATERIALS SECTION
   =========================================== */
.materials {
  padding: 120px 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.materials::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 148, 0.1) 0%, transparent 70%);
  animation: materialFloat 20s ease-in-out infinite;
  pointer-events: none;
}

.materials .section-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 60px;
  max-width: 700px;
  line-height: 1.6;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.material-card {
  background: var(--secondary);
  border: 2px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-align: center;
  clip-path: polygon(0% 15%, 15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
  opacity: 0;
  transform: rotate(180deg) scale(0.8);
}

.material-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.material-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

.material-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent) 0%, transparent 50%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.material-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
}

.material-card:hover::before {
  opacity: 0.05;
}

.material-card:hover::after {
  width: 200px;
  height: 200px;
  opacity: 0.1;
}

.material-card:hover {
  transform: rotate(0deg) scale(1.05);
  border-color: var(--accent);
  box-shadow: 
    0 20px 60px rgba(0, 255, 148, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.1);
}

.material-card.animate {
  animation: materialReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.material-card.animate:nth-child(1) { animation-delay: 0.1s; }
.material-card.animate:nth-child(2) { animation-delay: 0.2s; }
.material-card.animate:nth-child(3) { animation-delay: 0.3s; }
.material-card.animate:nth-child(4) { animation-delay: 0.4s; }
.material-card.animate:nth-child(5) { animation-delay: 0.5s; }
.material-card.animate:nth-child(6) { animation-delay: 0.6s; }

/* ===========================================
   INDUSTRIES SECTION (USECASES)
   =========================================== */
.usecases {
  padding: 120px 80px;
  background: var(--primary);
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.usecases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 148, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 148, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.usecases .section-title {
  color: var(--secondary);
  margin-bottom: 80px;
}

.usecases .section-badge {
  color: var(--accent);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  text-align: center;
  opacity: 0;
  transform: rotateY(-90deg);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.industry-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  opacity: 0.9;
}

.industry-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.industry-card p {
  font-size: 16px;
  color: var(--gray-200);
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-examples {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
  opacity: 0.8;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}

.industry-card:hover::before {
  left: 100%;
}

.industry-card:hover {
  transform: rotateY(0deg) translateY(-8px);
  background: rgba(0, 255, 148, 0.1);
  border-color: var(--accent);
  box-shadow: 
    0 25px 80px rgba(0, 255, 148, 0.2),
    inset 0 0 0 1px rgba(0, 255, 148, 0.2);
}

.industry-card.animate {
  animation: industryFlip 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.industry-card.animate:nth-child(1) { animation-delay: 0.1s; }
.industry-card.animate:nth-child(2) { animation-delay: 0.3s; }
.industry-card.animate:nth-child(3) { animation-delay: 0.5s; }
.industry-card.animate:nth-child(4) { animation-delay: 0.7s; }

/* ===========================================
   ABOUT SECTION
   =========================================== */
.about {
  padding: 120px 80px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about .section-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.about-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin: 0 auto 60px;
  max-width: 700px;
  line-height: 1.6;
}

/* Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    padding: 80px 20px;
  }

  .about-title {
    font-size: 36px;
  }

  .about-desc {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   EARLY CUSTOMERS SECTION
   =========================================== */
.early-customers {
  padding: 120px 80px;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.early-customers::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 148, 0.05) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

.early-customers .section-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.early-customers .section-title {
  margin: 0 0 80px;
  max-width: 600px;
  text-align: left;
}

.early-customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.early-customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.early-customers-card {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.early-customers-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 148, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.early-customers-card:hover::before {
  opacity: 1;
}

.early-customers-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.early-customers-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 255, 148, 0.2);
}

.early-customers-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
  border-radius: 18px;
  z-index: -1;
  animation: icon-glow 3s ease-in-out infinite;
}

.early-customers-client {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.early-customers-desc {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.early-customers-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--gray-100);
}

.early-customers-metric-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.early-customers-metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.early-customers-card.placeholder-card {
  position: relative;
  border: 2px dashed var(--gray-200);
  background: rgba(255, 255, 255, 0.5);
}

.placeholder-card .early-customers-icon {
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-600) 100%);
  animation: none;
}

.placeholder-card .early-customers-icon::after {
  display: none;
}

.placeholder-card .early-customers-metric-number {
  background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.placeholder-card:hover {
  border-color: var(--gray-600);
  transform: translateY(-4px) scale(1.01);
}

/* ===========================================
   TRUSTED BY SECTION
   =========================================== */
.trusted-by {
  padding: 120px 80px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

.trusted-by::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 255, 148, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.trusted-card {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.trusted-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 148, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.trusted-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.trusted-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 255, 148, 0.2);
}

.trusted-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
  border-radius: 18px;
  z-index: -1;
  animation: icon-glow 3s ease-in-out infinite;
}

.trusted-client {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.trusted-desc {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.trusted-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--gray-100);
}

.metric-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, #00cc75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================================
   GALLERY SECTION
   =========================================== */
.gallery {
  padding: 120px 80px;
  background: var(--primary);
  color: var(--secondary);
}

.gallery .section-title {
  color: var(--secondary);
}

.gallery .section-badge {
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--gray-900);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 32px 24px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-desc {
  font-size: 14px;
  color: var(--gray-200);
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.contact {
  padding: 120px 80px;
  background: var(--gray-50);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-600);
}

.form-input,
.form-textarea {
  padding: 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 16px;
  background: var(--secondary);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-submit {
  background: var(--primary);
  color: var(--secondary);
  padding: 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-self: start;
  min-width: 200px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   FORM ENHANCEMENTS
   =========================================== */
.form-input.valid,
.form-textarea.valid {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 148, 0.1);
}

.form-input.invalid,
.form-textarea.invalid {
  border-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.form-group.focused .form-label {
  color: var(--accent);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.keyboard-navigation *:focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

.gallery-item.animate img {
  animation: subtle-pulse 3s ease-in-out infinite;
}

.loading {
  position: relative;
  overflow: hidden;
}

.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 768px) {
  .nav {
    padding: 8px 16px;
    gap: 16px;
  }

  .nav-items {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
    height: 400px;
  }

  .services,
  .gallery,
  .contact {
    padding: 80px 20px;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .services {
    padding: 80px 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-card {
    padding: 32px;
  }
  
  .section-title {
    font-size: 36px;
    margin-bottom: 60px;
  }
  
  .materials,
  .usecases,
  .about {
    padding: 80px 20px;
  }
  
  .materials-grid,
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .material-card,
  .industry-card {
    padding: 24px 20px;
  }
  
  .about .section-title {
    font-size: 48px;
  }
  
  .about .section-desc {
    font-size: 18px;
  }
  
  .early-customers {
    padding: 80px 20px;
  }
  
  .early-customers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .early-customers .section-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .nav {
    padding: 8px 12px;
    gap: 12px;
  }

  .services,
  .gallery,
  .contact {
    padding: 60px 15px;
  }
  
  .services {
    padding: 60px 15px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .service-title {
    font-size: 22px;
  }
  
  .service-desc {
    font-size: 15px;
  }
  
  .materials,
  .usecases,
  .about {
    padding: 60px 15px;
  }
  
  .material-card,
  .industry-card {
    padding: 20px 16px;
  }
  
  .about .section-title {
    font-size: 36px;
  }
  
  .about .section-desc {
    font-size: 16px;
  }
  
  .early-customers {
    padding: 60px 15px;
  }
  
  .early-customers-card {
    padding: 24px;
  }
  
  .early-customers-client {
    font-size: 20px;
  }
  
  .early-customers-desc {
    font-size: 15px;
  }
}

/* ===========================================
   ACCESSIBILITY & REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  .materials::before,
  .usecases::before,
  .about::before {
    animation: none;
  }
  
  .material-card,
  .industry-card,
  .about .section-title,
  .about .section-desc {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .material-card:hover,
  .industry-card:hover {
    transform: none;
  }
  
  .service-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .service-icon {
    transition: none;
  }
  
  .service-card:hover .service-icon {
    transform: none;
  }
  
  *,
  .dark-mode-toggle,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-3d::before {
    animation: none;
  }

  model-viewer {
    --progress-bar-color: var(--accent);
  }
}

.material-card:focus,
.industry-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
  .nav,
  .hero-cta,
  .form-submit,
  .notification {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
  
  .materials::before,
  .usecases::before,
  .about::before {
    display: none;
  }
  
  .materials,
  .usecases,
  .about {
    background: white !important;
    color: black !important;
  }
}

/* ===========================================
   HIGH CONTRAST MODE SUPPORT
   =========================================== */
@media (prefers-contrast: high) {
  .service-card,
  .gallery-item,
  .contact-container {
    border: 2px solid var(--primary);
  }

  .hero-cta,
  .form-submit {
    border: 2px solid var(--secondary);
  }
}


@keyframes serviceReveal {
  from {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes materialReveal {
  from {
    opacity: 0;
    transform: rotate(180deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes industryFlip {
  from {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  to {
    opacity: 1;
    transform: rotateY(0deg);
  }
}
