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

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary: #2563EB;
  --accent: #06B6D4;
  --dark: #0F1117;
  --gray-900: #1A1D26;
  --gray-800: #2D3139;
  --gray-700: #4B5563;
  --gray-600: #6B7280;
  --gray-500: #9CA3AF;
  --gray-400: #D1D5DB;
  --gray-300: #E5E7EB;
  --gray-200: #F3F4F6;
  --gray-100: #F9FAFB;
  --white: #FFFFFF;
  --skolkovo: #C8FF00;
  
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

/* Logo: "Master" black, "Mind" gradient orange→blue */
.nav-logo > span {
  color: var(--dark);
  -webkit-text-fill-color: var(--dark);
  background: none;
}

/* Override global .gradient-text inside logo to use orange→cyan */
.nav-logo > span .gradient-text,
.footer-logo span .gradient-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Language toggle button ── */
.lang-toggle {
  padding: 5px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.5px;
  transition: all 0.2s;
  line-height: 1;
  font-family: inherit;
}
.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,107,53,0.05);
}
.lang-toggle--active-en {
  border-color: var(--accent);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-dark {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* Gradient login button */
.btn-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
  border: none;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6,182,212,0.4);
  filter: brightness(1.08);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 50%, #fafafa 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: pulse 4s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.hero-badge img {
  height: 28px;
  width: auto;
}

.hero-badge span {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-description {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Animation Canvas */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-3d {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.building-block {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(37,99,235,0.15));
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius);
  animation: float 6s ease-in-out infinite;
}

.building-block:nth-child(1) {
  width: 180px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.building-block:nth-child(2) {
  width: 120px;
  height: 180px;
  top: 30%;
  left: 20%;
  animation-delay: 1s;
}

.building-block:nth-child(3) {
  width: 140px;
  height: 200px;
  top: 40%;
  right: 15%;
  animation-delay: 2s;
}

.building-block:nth-child(4) {
  width: 100px;
  height: 140px;
  bottom: 20%;
  left: 30%;
  animation-delay: 1.5s;
}

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

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatIcon 5s ease-in-out infinite;
}

.floating-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.floating-icon:nth-child(5) { top: 10%; right: 20%; animation-delay: 0s; }
.floating-icon:nth-child(6) { bottom: 25%; left: 10%; animation-delay: 1.5s; }
.floating-icon:nth-child(7) { top: 30%; left: 5%; animation-delay: 3s; }

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

/* Partners Marquee */
.partners {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.partners-title {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.marquee {
  display: flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(37,99,235,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-desc {
  font-size: 15px;
  color: var(--gray-600);
}

/* Platform/Plugins Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-reverse {
  direction: rtl;
}

.showcase-reverse > * {
  direction: ltr;
}

.showcase-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.showcase-content p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.7;
}

.showcase-list {
  list-style: none;
  margin-bottom: 32px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--gray-700);
}

.showcase-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310B981' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  filter: blur(40px);
  z-index: -1;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  fill: var(--primary);
}

.testimonial-text {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  font-size: 14px;
  color: var(--gray-500);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Platform Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-content {
  padding: 24px;
}

.gallery-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.gallery-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.tech-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(37,99,235,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.tech-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.tech-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.tech-card p {
  font-size: 15px;
  color: var(--gray-600);
}

/* Workflow */
.workflow {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 200px;
}

.workflow-number {
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 20px;
}

.workflow-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.workflow-step p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Plugins Grid */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.plugin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.plugin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.plugin-header {
  position: relative;
}

.plugin-header img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.plugin-badges {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.plugin-badge {
  padding: 6px 12px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
}

.plugin-content {
  padding: 28px;
}

.plugin-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.plugin-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plugin-icon svg {
  width: 22px;
  height: 22px;
}

.plugin-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.plugin-content > p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.plugin-features {
  list-style: none;
}

.plugin-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.plugin-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310B981' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* About Page */
.about-hero {
  padding: 140px 0 80px;
}

.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.mission-quote {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
  font-style: italic;
}

.mission-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.mission-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
}

.values-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(37,99,235,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.value-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.value-content p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--gray-200);
  transition: all 0.3s;
}

.team-card:hover .team-avatar {
  border-color: var(--primary);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.team-role {
  font-size: 14px;
  color: var(--gray-500);
}

/* Timeline */
.timeline-section {
  margin-top: 80px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.timeline-desc {
  font-size: 15px;
  color: var(--gray-600);
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.partner-tag {
  padding: 14px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}

.partner-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.news-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.news-header {
  display: flex;
  cursor: pointer;
  padding: 24px;
  gap: 24px;
}

.news-image {
  width: 200px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news-category {
  padding: 4px 12px;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
}

.news-date {
  font-size: 14px;
  color: var(--gray-500);
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

.news-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.news-content.expanded {
  max-height: 1000px;
}

.news-body {
  padding: 0 24px 24px 248px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
}

.news-body a {
  color: var(--primary);
  text-decoration: none;
}

.news-body a:hover {
  text-decoration: underline;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-size: 14px;
  color: var(--gray-600);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.info-card.highlight {
  background: var(--gradient);
  color: var(--white);
  border: none;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(37,99,235,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card.highlight .info-icon {
  background: rgba(255,255,255,0.2);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.info-card.highlight .info-icon svg {
  color: var(--white);
}

.info-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.info-card.highlight .info-label {
  color: rgba(255,255,255,0.8);
}

.info-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

.info-card.highlight .info-value {
  color: var(--white);
}

.info-card.highlight p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* footer .gradient-text handled jointly with nav-logo above */

.footer-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 14px;
  color: var(--gray-500);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Privacy Page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.privacy-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--dark);
}

.privacy-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--dark);
}

.privacy-content p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.privacy-content li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-subtitle,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid,
  .tech-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase {
    grid-template-columns: 1fr;
  }
  
  .showcase-reverse {
    direction: ltr;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .plugins-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-block {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow {
    flex-direction: column;
    gap: 32px;
  }
  
  .workflow::before {
    display: none;
  }
  
  .workflow-step {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid,
  .tech-grid,
  .testimonials-grid,
  .team-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .news-header {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
  }
  
  .news-body {
    padding-left: 24px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success message */
.success-message {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #10B981;
}

.success-message h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.success-message p {
  font-size: 16px;
  color: var(--gray-600);
}

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

/* Logo hover animation */
.nav-logo img {
  height: 40px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.2));
}

.nav-logo:hover img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 4px 16px rgba(255, 107, 53, 0.4));
}

/* Animated gradient border for logo */
.nav-logo::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 300%;
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  animation: gradientRotate 3s linear infinite;
}

.nav-logo:hover::before {
  opacity: 0.5;
}

@keyframes gradientRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   HERO 3D WIREFRAME BUILDINGS - V6 STYLE
   ============================================ */

.hero-visual {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
}

/* Main 3D Building Container */
.building-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: sceneRotate 25s ease-in-out infinite;
}

@keyframes sceneRotate {
  0%, 100% { transform: rotateY(-8deg) rotateX(8deg); }
  50% { transform: rotateY(8deg) rotateX(-4deg); }
}

/* 3D Wireframe Cube Building */
.wireframe-building {
  position: absolute;
  transform-style: preserve-3d;
}

.wireframe-building .cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.wireframe-building .face {
  position: absolute;
  border: 2px solid;
  background: rgba(255, 107, 53, 0.05);
  transform-style: preserve-3d;
}

/* Main central building */
.wireframe-building:nth-child(1) {
  width: 100px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(60px);
  animation: floatBuilding1 6s ease-in-out infinite;
}

.wireframe-building:nth-child(1) .cube {
  animation: rotateCube1 20s linear infinite;
}

.wireframe-building:nth-child(1) .face {
  width: 100px;
  height: 180px;
  border-color: rgba(255, 107, 53, 0.6);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.02) 100%);
}

.wireframe-building:nth-child(1) .face--front  { transform: rotateY(0deg) translateZ(50px); }
.wireframe-building:nth-child(1) .face--back   { transform: rotateY(180deg) translateZ(50px); }
.wireframe-building:nth-child(1) .face--right  { transform: rotateY(90deg) translateZ(50px); width: 100px; }
.wireframe-building:nth-child(1) .face--left   { transform: rotateY(-90deg) translateZ(50px); width: 100px; }
.wireframe-building:nth-child(1) .face--top    { transform: rotateX(90deg) translateZ(90px); height: 100px; background: rgba(255, 107, 53, 0.15); }
.wireframe-building:nth-child(1) .face--bottom { transform: rotateX(-90deg) translateZ(90px); height: 100px; }

/* Left building */
.wireframe-building:nth-child(2) {
  width: 70px;
  height: 120px;
  top: 40%;
  left: 18%;
  transform: translateZ(30px);
  animation: floatBuilding2 7s ease-in-out infinite 0.5s;
}

.wireframe-building:nth-child(2) .face {
  width: 70px;
  height: 120px;
  border-color: rgba(74, 144, 226, 0.6);
  background: linear-gradient(180deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.02) 100%);
}

.wireframe-building:nth-child(2) .face--front  { transform: rotateY(0deg) translateZ(35px); }
.wireframe-building:nth-child(2) .face--back   { transform: rotateY(180deg) translateZ(35px); }
.wireframe-building:nth-child(2) .face--right  { transform: rotateY(90deg) translateZ(35px); width: 70px; }
.wireframe-building:nth-child(2) .face--left   { transform: rotateY(-90deg) translateZ(35px); width: 70px; }
.wireframe-building:nth-child(2) .face--top    { transform: rotateX(90deg) translateZ(60px); height: 70px; background: rgba(74, 144, 226, 0.15); }
.wireframe-building:nth-child(2) .face--bottom { transform: rotateX(-90deg) translateZ(60px); height: 70px; }

/* Right building */
.wireframe-building:nth-child(3) {
  width: 80px;
  height: 140px;
  top: 45%;
  right: 15%;
  transform: translateZ(40px);
  animation: floatBuilding3 5.5s ease-in-out infinite 1s;
}

.wireframe-building:nth-child(3) .face {
  width: 80px;
  height: 140px;
  border-color: rgba(0, 212, 255, 0.6);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.02) 100%);
}

.wireframe-building:nth-child(3) .face--front  { transform: rotateY(0deg) translateZ(40px); }
.wireframe-building:nth-child(3) .face--back   { transform: rotateY(180deg) translateZ(40px); }
.wireframe-building:nth-child(3) .face--right  { transform: rotateY(90deg) translateZ(40px); width: 80px; }
.wireframe-building:nth-child(3) .face--left   { transform: rotateY(-90deg) translateZ(40px); width: 80px; }
.wireframe-building:nth-child(3) .face--top    { transform: rotateX(90deg) translateZ(70px); height: 80px; background: rgba(0, 212, 255, 0.15); }
.wireframe-building:nth-child(3) .face--bottom { transform: rotateX(-90deg) translateZ(70px); height: 80px; }

/* Small front building */
.wireframe-building:nth-child(4) {
  width: 50px;
  height: 80px;
  bottom: 22%;
  left: 32%;
  transform: translateZ(80px);
  animation: floatBuilding4 5s ease-in-out infinite 1.5s;
}

.wireframe-building:nth-child(4) .face {
  width: 50px;
  height: 80px;
  border-color: rgba(255, 107, 53, 0.5);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.02) 100%);
}

.wireframe-building:nth-child(4) .face--front  { transform: rotateY(0deg) translateZ(25px); }
.wireframe-building:nth-child(4) .face--back   { transform: rotateY(180deg) translateZ(25px); }
.wireframe-building:nth-child(4) .face--right  { transform: rotateY(90deg) translateZ(25px); width: 50px; }
.wireframe-building:nth-child(4) .face--left   { transform: rotateY(-90deg) translateZ(25px); width: 50px; }
.wireframe-building:nth-child(4) .face--top    { transform: rotateX(90deg) translateZ(40px); height: 50px; background: rgba(255, 107, 53, 0.12); }
.wireframe-building:nth-child(4) .face--bottom { transform: rotateX(-90deg) translateZ(40px); height: 50px; }

/* Back small building */
.wireframe-building:nth-child(5) {
  width: 40px;
  height: 60px;
  top: 25%;
  right: 28%;
  transform: translateZ(20px);
  animation: floatBuilding5 8s ease-in-out infinite 0.3s;
  opacity: 0.8;
}

.wireframe-building:nth-child(5) .face {
  width: 40px;
  height: 60px;
  border-color: rgba(74, 144, 226, 0.4);
  background: rgba(74, 144, 226, 0.03);
}

.wireframe-building:nth-child(5) .face--front  { transform: rotateY(0deg) translateZ(20px); }
.wireframe-building:nth-child(5) .face--back   { transform: rotateY(180deg) translateZ(20px); }
.wireframe-building:nth-child(5) .face--right  { transform: rotateY(90deg) translateZ(20px); width: 40px; }
.wireframe-building:nth-child(5) .face--left   { transform: rotateY(-90deg) translateZ(20px); width: 40px; }
.wireframe-building:nth-child(5) .face--top    { transform: rotateX(90deg) translateZ(30px); height: 40px; background: rgba(74, 144, 226, 0.1); }
.wireframe-building:nth-child(5) .face--bottom { transform: rotateX(-90deg) translateZ(30px); height: 40px; }

/* Tiny floating building */
.wireframe-building:nth-child(6) {
  width: 30px;
  height: 45px;
  bottom: 35%;
  right: 25%;
  transform: translateZ(50px);
  animation: floatBuilding6 6.5s ease-in-out infinite 0.8s;
  opacity: 0.7;
}

.wireframe-building:nth-child(6) .face {
  width: 30px;
  height: 45px;
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.03);
}

.wireframe-building:nth-child(6) .face--front  { transform: rotateY(0deg) translateZ(15px); }
.wireframe-building:nth-child(6) .face--back   { transform: rotateY(180deg) translateZ(15px); }
.wireframe-building:nth-child(6) .face--right  { transform: rotateY(90deg) translateZ(15px); width: 30px; }
.wireframe-building:nth-child(6) .face--left   { transform: rotateY(-90deg) translateZ(15px); width: 30px; }
.wireframe-building:nth-child(6) .face--top    { transform: rotateX(90deg) translateZ(22px); height: 30px; background: rgba(0, 212, 255, 0.1); }
.wireframe-building:nth-child(6) .face--bottom { transform: rotateX(-90deg) translateZ(22px); height: 30px; }

/* Float animations for buildings */
@keyframes floatBuilding1 {
  0%, 100% { transform: translate(-50%, -50%) translateZ(60px) translateY(0); }
  50% { transform: translate(-50%, -50%) translateZ(60px) translateY(-12px); }
}

@keyframes floatBuilding2 {
  0%, 100% { transform: translateZ(30px) translateY(0) rotateY(-3deg); }
  50% { transform: translateZ(30px) translateY(-18px) rotateY(3deg); }
}

@keyframes floatBuilding3 {
  0%, 100% { transform: translateZ(40px) translateY(0) rotateY(3deg); }
  50% { transform: translateZ(40px) translateY(-15px) rotateY(-3deg); }
}

@keyframes floatBuilding4 {
  0%, 100% { transform: translateZ(80px) translateY(0) scale(1); }
  50% { transform: translateZ(80px) translateY(-10px) scale(1.03); }
}

@keyframes floatBuilding5 {
  0%, 100% { transform: translateZ(20px) translateY(0); opacity: 0.7; }
  50% { transform: translateZ(20px) translateY(-20px); opacity: 0.9; }
}

@keyframes floatBuilding6 {
  0%, 100% { transform: translateZ(50px) translateY(0); opacity: 0.6; }
  50% { transform: translateZ(50px) translateY(-14px); opacity: 0.8; }
}

@keyframes rotateCube1 {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Floating Icons with enhanced animation */
.floating-icon {
  position: absolute;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  border-radius: var(--radius);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(255, 107, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.floating-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.floating-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
}

/* Position and animate floating icons */
.floating-icon:nth-child(7) { 
  top: 8%; 
  right: 18%; 
  animation: iconFloat1 4s ease-in-out infinite;
}

.floating-icon:nth-child(8) { 
  bottom: 22%; 
  left: 8%; 
  animation: iconFloat2 5s ease-in-out infinite 0.5s;
}

.floating-icon:nth-child(9) { 
  top: 25%; 
  left: 3%; 
  animation: iconFloat3 4.5s ease-in-out infinite 1s;
}

.floating-icon:nth-child(10) { 
  bottom: 35%; 
  right: 8%; 
  animation: iconFloat4 6s ease-in-out infinite 1.5s;
}

.floating-icon:nth-child(11) { 
  top: 45%; 
  right: 3%; 
  animation: iconFloat1 5.5s ease-in-out infinite 0.8s;
}

@keyframes iconFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-10px) rotate(3deg) scale(1.05); }
  50% { transform: translateY(-5px) rotate(-2deg) scale(1); }
  75% { transform: translateY(-15px) rotate(5deg) scale(1.08); }
}

@keyframes iconFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(-5deg); }
  66% { transform: translateY(-8px) rotate(3deg); }
}

@keyframes iconFloat3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.1); }
}

@keyframes iconFloat4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(8deg); }
  50% { transform: translateY(-20px) rotate(-5deg); }
  75% { transform: translateY(-10px) rotate(3deg); }
}

/* Connection lines between elements */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(255, 107, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Particle dots */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, var(--primary) 1px, transparent 1px),
    radial-gradient(circle, var(--secondary) 1px, transparent 1px),
    radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  background-position: 0 0, 50px 50px, 25px 25px;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0% { background-position: 0 0, 50px 50px, 25px 25px; }
  100% { background-position: 100px 100px, 200px 100px, 105px 105px; }
}

/* Glowing orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: 3s;
}

@keyframes glowPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.4; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.6; 
  }
}

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

@media (max-width: 1024px) {
  .hero-visual {
    height: 400px;
  }
  
  .building-block:nth-child(1) {
    width: 120px;
    height: 200px;
  }
  
  .building-block:nth-child(2),
  .building-block:nth-child(3) {
    width: 70px;
    height: 130px;
  }
  
  .floating-icon {
    width: 48px;
    height: 48px;
  }
  
  .floating-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }
}
