/* ===== INDEX PAGE STYLES ===== */
/* Professional design matching Zynetic website aesthetic */

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

/* ===== HEADER NAVIGATION ===== */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 28px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

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

.user-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-off-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.user-name {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.logout-btn {
  background: var(--btn-dark-color);
  color: var(--btn-text-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16, 19, 25, 0.2);
}

/* ===== COLOR VARIABLES ===== */
:root {
  --transparent: #fff0;
  --text-blue: #a8b5ca;
  --text-dark: #313131;
  --bg-blue: #070a28;
  --white: #fff;
  --text-gray: #5f6c85;
  --text-dark: #1b1f27;
  --btn-dark-color: #23272f;
  --brand-green: #87c445;
  --body-bg: #f8f9fc;
  --bg-off-white: #f1f3f9;
  --bg-dark: #101319;
  --border-color: #cbd2e1;
  --btn-text-white: #f1f3f9;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--body-bg);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  height: 90vh;
  display: flex;
  position: relative;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.hero-highlight {
  color: #3b82f6;
}

.hero-content p {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #1e293b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 41, 59, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #1e293b;
  padding: 1rem 2rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60vw;
  height: 100%;
  background-image: url('/assets/67ee5af24fe626e7f7898c88_home hero image.avif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  z-index: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, var(--body-bg) 0%, rgba(248, 249, 252, 0.9) 20%, rgba(248, 249, 252, 0.6) 40%, rgba(248, 249, 252, 0.3) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-image img {
  display: none;
}

.hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 50vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  padding: 4rem 3rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-highlight {
  color: var(--text-blue);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-weight: 400;
}

.products-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

/* ===== APP NAVIGATION BUTTONS ===== */

.app-nav-btn {
  background: var(--white);
  color: var(--text-dark);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.app-nav-btn:hover {
  background: var(--bg-off-white);
  border-color: var(--text-blue);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--text-dark);
}

.app-nav-btn i:first-child {
  font-size: 1.125rem;
  color: var(--text-gray);
  width: 20px;
}

.app-nav-btn span {
  flex: 1;
  text-align: left;
  margin-left: 1rem;
}

.app-nav-btn i:last-child {
  font-size: 0.875rem;
  color: var(--text-gray);
  opacity: 0.6;
  transition: all 0.2s ease;
}

.app-nav-btn:hover i:last-child {
  opacity: 1;
  transform: translateX(2px);
}

/* ===== SIMPLE FOOTER ===== */
.simple-footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem 0;
}

.simple-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.simple-footer p {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-products {
    order: 1;
  }
  
  .hero-image {
    height: 50vh;
    order: 2;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .products-buttons {
    gap: 0.875rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem;
  }
  
  .hero-section {
    padding: 1rem 0;
    min-height: 100vh;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .hero-image {
    height: 40vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .products-buttons {
    gap: 0.75rem;
  }
  
  .product-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* Loading and Animation States */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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