/* NeuverraX Premium Stylesheet */

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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --dark: #0f172a;
  --dark-secondary: #1e293b;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 35px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

nav a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, var(--text-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero .subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.trust-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 15px;
}

/* Trust Bar */
.trust-bar {
  padding: 40px 20px;
  background: var(--dark-secondary);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.trust-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

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

.trust-item .number {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 5px;
}

.trust-item .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section Utilities */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Products Section */
.products {
  padding: 120px 20px;
  background: var(--dark-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.product-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.4);
  border-color: var(--accent);
}

.product-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.product-card .subtitle {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.product-card .problem {
  background: rgba(255, 102, 102, 0.1);
  border-left: 3px solid #ff6666;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.product-card .problem h4 {
  color: #ff6666;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-card .problem p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.product-card > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.product-details.expanded {
  max-height: 2000px;
  opacity: 1;
  margin-top: 20px;
}

.features-list {
  list-style: none;
  margin-bottom: 25px;
}

.features-list li {
  padding: 10px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 30px;
}

.features-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 1.2rem;
}

.product-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.expand-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 10px 24px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.expand-btn .arrow {
  transition: transform 0.3s ease;
}

.expand-btn.expanded .arrow {
  transform: rotate(180deg);
}

/* Pillars Section */
.pillars {
  padding: 120px 20px;
  background: var(--dark);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pillar-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.pillar-card .focus {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.pillar-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.pillar-card .benefit {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  display: inline-block;
  margin-top: 10px;
}

/* Services Section */
.services {
  padding: 120px 20px;
  background: var(--dark-secondary);
}

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

.service-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
  border-color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 15px;
}

/* About Section */
.about {
  padding: 120px 20px;
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.about-visual {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tech-stack h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(99, 102, 241, 0.25);
  transform: translateX(5px);
}

.tech-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tech-info h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.tech-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.value-item {
  padding: 25px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.value-item:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(5px);
}

.value-item h4 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 120px 20px;
  background: var(--dark-secondary);
}

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

.contact-content > p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  text-align: center;
}

.contact-form {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 50px;
}

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

.form-group label {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

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

.submit-btn {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 35px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.contact-card h4 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    order: -1;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  nav {
    gap: 20px;
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .products-grid,
  .pillars-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .product-card {
    padding: 30px;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}