/* ===========================
   TECH THINKERZ - ENTERPRISE WEBSITE
   HTML/CSS/JS Version
   =========================== */

:root {
  /* Color Palette - Dallas Skyline Inspired */
  --deep-navy: #003366;
  --dark-bg: #0a0e27;
  --silver-steel: #c0c0c0;
  --light-gray: #e8e8e8;
  --electric-blue: #007bff;
  --bright-blue: #0099ff;
  --dark-slate: #1a2847;
  --card-bg: #1f2d4d;
  --border-color: #2a3f5f;
  --input-bg: #152038;
  --muted-text: #a8b5c5;
  --accent-glow: rgba(0, 123, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-gray);
  line-height: 1.6;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  color: var(--muted-text);
}

a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--bright-blue);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.6);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes dataFlow {
  0% {
    opacity: 0;
    transform: translate(-100px, -100px);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(100px, 100px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #007bff, #0099ff);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  transition: box-shadow 0.3s ease;
}

.logo:hover .logo-icon {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.2;
}

.logo-text small {
  font-size: 0.7rem;
  color: var(--muted-text);
  letter-spacing: 0.05em;
}

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

.nav-items a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver-steel);
  transition: color 0.3s ease;
}

.nav-items a:hover,
.nav-items a.active {
  color: var(--electric-blue);
}

@media (min-width: 768px) {
  .nav-items {
    display: flex;
  }
}

.cta-button {
  display: none;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(90deg, #007bff, #0099ff);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .cta-button {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--silver-steel);
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--electric-blue);
}

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

.mobile-nav {
  display: none;
  background-color: var(--dark-slate);
  border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  color: var(--silver-steel);
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background-color: rgba(0, 51, 102, 0.5);
  color: var(--electric-blue);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--dark-bg);
  color: var(--light-gray);
  padding: 4rem 1rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

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

.footer-section h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-gray);
}

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

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--muted-text);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--electric-blue);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  color: var(--muted-text);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

/* ===========================
   BUTTONS & FORMS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #007bff, #0099ff);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  border: 2px solid var(--electric-blue);
  color: var(--bright-blue);
  background: transparent;
}

.btn-secondary:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--light-gray);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--dark-slate);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.form-group textarea {
  resize: none;
}

/* ===========================
   CARDS & CONTAINERS
   =========================== */

.card {
  padding: 2rem;
  border-radius: 0.75rem;
  background-color: rgba(31, 45, 77, 0.5);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
}

.card:hover {
  border-color: rgba(0, 123, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.2);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 153, 255, 0.1));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.4);
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--electric-blue);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

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

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-bg);
  padding-top: 5rem;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.8) 50%, rgba(0, 51, 102, 0.5) 100%);
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark-bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

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

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

.hero-left {
  animation: fadeInUp 0.8s ease-out;
  space-y: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: 9999px;
  width: fit-content;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bright-blue);
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--electric-blue);
  border-radius: 50%;
  animation: fadeIn 1s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--electric-blue);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-top: 0.5rem;
}

.hero-right {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideInRight 0.8s ease-out;
}

@media (min-width: 768px) {
  .hero-right {
    display: flex;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(31, 45, 77, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(0, 123, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.1);
}

.feature-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--electric-blue);
  flex-shrink: 0;
}

.feature-item span {
  color: var(--light-gray);
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--muted-text);
  font-weight: 600;
}

.scroll-indicator-wheel {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--electric-blue);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.25rem;
  height: 0.5rem;
  background-color: var(--electric-blue);
  border-radius: 50%;
  animation: fadeIn 1.5s infinite;
}

/* ===========================
   SECTIONS
   =========================== */

section {
  padding: 3rem 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===========================
   BACKGROUND UTILITIES
   =========================== */

.bg-dark {
  background-color: var(--dark-bg);
}

.bg-navy {
  background-color: var(--deep-navy);
}

.bg-slate {
  background-color: var(--dark-slate);
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

/* ===========================
   UTILITY CLASSES
   =========================== */

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: 4rem;
    min-height: auto;
  }
}
