/* CSS Custom Properties */
:root {
  --primary-color: #4169E1;  /* Royal Blue - more vibrant primary */
  --primary-dark: #1E3A8A;   /* Darker blue for depth */
  --secondary-color: #10B981; /* Emerald green - more professional than neon green */
  --accent-color: #F43F5E;   /* Rose - softer than pure red */
  --background-color: #0F172A; /* Dark blue-gray background */
  --surface-color: #1E293B;  /* Lighter surface for contrast */
  --surface-light: #334155;  /* Even lighter surface */
  --text-primary: #F8FAFC;   /* Off-white for main text */
  --text-secondary: #CBD5E1; /* Light gray for secondary text */
  --text-muted: #94A3B8;     /* Medium gray for muted text */
  --border-color: #475569;   /* Medium-dark border */
  --gradient-primary: linear-gradient(135deg, #4169E1 0%, #10B981 100%); /* Gradient from blue to green */
  --gradient-accent: linear-gradient(135deg, #4169E1 0%, #F43F5E 100%);  /* Gradient from blue to rose */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.3);
  --border-radius: 10px;
  --transition: all 0.3s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(65, 105, 225, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 30%);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-primary) 1;
  border-image-slice: 1;
  box-shadow: 0 6px 24px 0 rgba(65, 105, 225, 0.10), 0 1.5px 6px 0 rgba(16, 185, 129, 0.08);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

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

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

.nav-logo {
  width: 60px;
  height: 60px;
  border-radius: 6px;
}

.nav-title {
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(65, 105, 225, 0.10);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
    background: rgba(65, 105, 225, 0.10);
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.08);
    border-radius: 6px;
  }
  .nav-link:hover {
    color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.10);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
    border-radius: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.nav-link:hover::after,
  .nav-link.active::after {
    width: 60%;
    opacity: 1;
    left: 20%;
  }
  .nav-link:hover::after {
    width: 60%;
    opacity: 1;
    left: 20%;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 1rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: var(--border-radius);
  filter: brightness(1.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-secondary:hover::before {
  transform: translateX(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* 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;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(65, 105, 225, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 80% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 40% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 30%);
  opacity: 0.9;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(65, 105, 225, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(65, 105, 225, 0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

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

/* Stylish Cards Grid */
.hero-visual {
  position: relative;
  height: 400px;
  z-index: 2;
}

.floating-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  justify-content: center;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.8;
}

.card-1, .card-2, .card-3 {
  margin-bottom: 1rem;
}

.card-1::before {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.card-2::before {
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.card-3::before {
  background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-weight: 600;
  color: var(--text-primary);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(65, 105, 225, 0.10);
  transform: translateX(-50%);
  border-radius: 4px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--surface-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.feature-card:nth-child(1)::before {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.feature-card:nth-child(3)::before {
  background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.feature-icon {
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(65, 105, 225, 0.1);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(65, 105, 225, 0.1);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-color);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 6rem 0;
  background: var(--background-color);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 50%, rgba(65, 105, 225, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.stat-item {
  text-align: center;
  padding: 1.2rem 0.7rem;
  border-radius: var(--border-radius);
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(71, 85, 105, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .stat-item {
    padding: 1.1rem 0.5rem;
    font-size: 1rem;
  }
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-item:nth-child(1) .stat-number {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item:nth-child(4) .stat-number {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--surface-color);
}

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

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3.5rem;
  }
}

.page-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Reports Page */
.reports {
  padding: 5rem 0;
}

.reports-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.report-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0;
}

.report-badge {
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.report-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.report-content {
  padding: 1.5rem;
}

.report-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.report-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.report-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
}

.report-stats {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.coming-soon {
  background: rgba(26, 26, 26, 0.5);
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Newsletter */
.newsletter {
  padding: 5rem 0;
  background: var(--surface-color);
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Newsletter Form Layout Fix */
.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  align-items: flex-start;
  position: relative;
}

@media (min-width: 768px) {
  .newsletter-form {
    margin: 0;
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Newsletter Success & Error Message Styling */
.newsletter-success, .newsletter-error {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  position: relative;
}
.newsletter-success {
  background: #10B981;
  color: #fff;
  border: 1px solid #10B981;
}
.newsletter-error {
  background: #F43F5E;
  color: #fff;
  border: 1px solid #F43F5E;
}

/* Prevent overlap of error and success */
.newsletter-form + .newsletter-success,
.newsletter-form + .newsletter-error {
  margin-top: 1.5rem;
}
}

/* Terminal Contact Form */
.contact-terminal {
  padding: 5rem 0;
}

.terminal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.terminal-header {
  background: #2a2a2a;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27ca3f; }

.terminal-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
}

.terminal-body {
  background: #0a0a0a;
  padding: 2rem;
  font-family: 'Courier New', monospace;
  min-height: 400px;
}

.terminal-line {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.terminal-prompt {
  color: var(--secondary-color);
  font-weight: bold;
}

.terminal-text {
  color: var(--text-primary);
}

.terminal-output {
  color: var(--text-secondary);
  white-space: pre-line;
}

.typing {
  border-right: 2px solid var(--secondary-color);
  animation: typing 2s steps(20, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--secondary-color); }
}

.hidden {
  display: none;
}

.terminal-form {
  margin-top: 2rem;
}

.form-step {
  display: none;
  margin-bottom: 1rem;
}

.form-step.active {
  display: block;
}

.form-question {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.question-label {
  color: var(--text-secondary);
}

.terminal-input,
.terminal-select,
.terminal-textarea {
  background: var(--surface-light);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  outline: none;
  width: 100%;
  border-radius: 6px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.terminal-select:focus {
  border-color: var(--secondary-color);
}

/* Style dropdown options for dark mode */
select.terminal-select option {
  background: var(--surface-light);
  color: var(--text-primary);
}
}

.terminal-input:focus,
.terminal-select:focus,
.terminal-textarea:focus {
  border-bottom-color: var(--secondary-color);
}

.terminal-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-controls {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terminal-button-submit {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.terminal-button-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-info {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.success {
  color: var(--secondary-color);
}

.success-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Contact Info */
.contact-info {
  padding: 5rem 0;
  background: var(--surface-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--text-primary);
}

.contact-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--secondary-color);
}

/* FAQ */
.faq {
  padding: 5rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 1rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Page Specific */
.mission {
  padding: 5rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.mission-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.value-icon {
  font-size: 2rem;
  width: 60px;
  text-align: center;
}

.value-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Visual Card */
.visual-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.card-header {
  background: var(--primary-color);
  color: var(--text-primary);
  padding: 1rem;
  font-weight: 600;
  text-align: center;
}

.card-body {
  padding: 2rem;
}

.chart-placeholder {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 100px;
  margin-bottom: 2rem;
}

.chart-bar {
  background: var(--gradient-primary);
  flex: 1;
  border-radius: 4px 4px 0 0;
  animation: chart-grow 1s ease-out;
}

@keyframes chart-grow {
  from { height: 0; }
  to { height: inherit; }
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.insight-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Expertise */
.expertise {
  padding: 5rem 0;
  background: var(--surface-color);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.expertise-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.expertise-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--text-primary);
}

.expertise-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.expertise-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.expertise-features li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.expertise-features li:last-child {
  border-bottom: none;
}

.expertise-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Team */
.team {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-avatar:hover .team-member-img {
  transform: scale(1.1);
}

.avatar-placeholder {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, rgba(30, 58, 138, 0.7) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(65, 105, 225, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, var(--surface-color) 0%, var(--background-color) 100%);
  border-top: 1px solid rgba(71, 85, 105, 0.3);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .terminal-wrapper {
    margin: 0 1rem;
  }
  
  .terminal-body {
    padding: 1rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
