/* Srevitek Software Labs - Flashy modern theme */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --accent-cyan: #06b6d4;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #1e293b 100%);
  --gradient-glow: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
  --shadow-glow: 0 0 60px rgba(6, 182, 212, 0.25), 0 0 100px rgba(139, 92, 246, 0.15);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#root {
  min-height: 100vh;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-head);
  font-weight: 700;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle .bar.open:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle .bar.open:nth-child(2) { opacity: 0; }
.nav-toggle .bar.open:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--gradient-glow);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    gap: 1rem;
    display: none;
  }
  .nav.nav-open { display: flex; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(236, 72, 153, 0.15), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  padding: 1rem 2rem;
  background: var(--gradient-glow);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hero-cta .btn-secondary {
  padding: 1rem 2rem;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.hero-cta .btn-secondary:hover {
  background: rgba(6, 182, 212, 0.15);
  color: #fff;
}

/* ========== SMART SOLUTIONS STRIP ========== */
.smart-solutions-strip {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.12) 50%, rgba(236, 72, 153, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.smart-solutions-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.smart-solutions-text strong {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* Unified solution block */
.unified-block {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.unified-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.unified-block h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.unified-block h2 span {
  color: var(--accent-cyan);
}

.unified-block p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
}

.unified-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  display: block;
  position: relative;
}

/* Image section */
.hero-image-wrap {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

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

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  padding: 4rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-contact .footer-address,
.footer-contact .footer-phone {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact .footer-phone a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact .footer-phone a:hover {
  color: #22d3ee;
}

.footer-links ul,
.footer-products ul {
  list-style: none;
}

.footer-links li,
.footer-products li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-products li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== PAGE LAYOUTS ========== */
.page {
  padding: 3rem 1.5rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-intro {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 720px;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
}

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

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

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-glow);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.35);
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details strong {
  color: var(--text-light);
}

.contact-details a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Back link */
.back-link {
  display: inline-block;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.85;
}

/* Services/Products page cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.service-card h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.service-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}
