/* 12 Peak Technology - Modern Website Styles */

/* Base Variables */
:root {
  /* Color Scheme - Updated with deeper blues and purples for futuristic feel */
  --color-dark-blue: #0a0a1a;
  --color-navy: #1a1a2e;
  --color-purple: #4a0072;
  --color-deep-purple: #2d1b4e;
  --color-teal: #00e6b8;
  --color-electric-blue: #3a86ff;
  --color-bright-purple: #9d4edd;
  --color-off-white: #f8f9fa;
  --color-light-gray: #e0e0e0;
  --color-medium-gray: #cccccc;
  --color-dark-gray: #121212;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', var(--font-primary);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Glows */
  --glow-teal: 0 0 15px rgba(0, 230, 184, 0.5);
  --glow-blue: 0 0 15px rgba(58, 134, 255, 0.5);
  --glow-purple: 0 0 15px rgba(157, 78, 221, 0.5);
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-off-white);
  background-color: var(--color-dark-blue);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

/* Background Gradients */
.bg-gradient-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-purple) 100%);
  position: relative;
}

/* Add wave pattern to hero background */
.bg-gradient-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='wave' width='100' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 25C 20 10, 30 40, 50 25C 70 10, 80 40, 100 25L 100 50 L0 50Z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wave)'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.bg-gradient-tech {
  background: linear-gradient(135deg, var(--color-deep-purple) 0%, var(--color-navy) 100%);
  position: relative;
}

/* Add subtle geometric pattern to tech background */
.bg-gradient-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 20L40 30L30 40L20 30z' stroke='%23ffffff' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

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

/* Add dot pattern to dark gray background */
.bg-dark-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

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

/* Add subtle grid pattern to navy background */
.bg-navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M0 0h40v1H0zM0 0v40h1V0z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md) 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(0, 230, 184, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-off-white);
  text-shadow: 0 0 10px rgba(0, 230, 184, 0.3);
}

.navbar-logo img {
  height: 40px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.navbar-menu-item a {
  color: var(--color-off-white);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-menu-item a:hover {
  color: var(--color-teal);
}

.navbar-menu-item a:hover::after {
  width: 100%;
}

.navbar-cta {
  margin-left: var(--spacing-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-off-white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-off-white);
  text-shadow: 0 0 10px rgba(0, 230, 184, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: var(--color-light-gray);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-3d-element {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  animation: fadeIn 1.5s ease-out;
}

/* Buttons */
.button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.button-primary {
  background-color: var(--color-teal);
  color: var(--color-dark-blue);
  box-shadow: 0 0 15px rgba(0, 230, 184, 0.5);
}

.button-primary:hover {
  background-color: var(--color-electric-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 230, 184, 0.7);
}

.button-secondary {
  background-color: transparent;
  color: var(--color-off-white);
  border: 2px solid var(--color-teal);
}

.button-secondary:hover {
  background-color: rgba(0, 230, 184, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 230, 184, 0.3);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 184, 0.1);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), 0 0 20px rgba(0, 230, 184, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-electric-blue));
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-teal);
  filter: drop-shadow(0 0 8px rgba(0, 230, 184, 0.5));
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-off-white);
}

.service-description {
  color: var(--color-light-gray);
  margin-bottom: var(--spacing-lg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-teal);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: var(--color-electric-blue);
  transform: translateX(5px);
}

.service-link span {
  margin-left: var(--spacing-xs);
}

/* About Section */
.glass-card {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 230, 184, 0.1);
  position: relative;
  z-index: 1;
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

/* Compliance Section */
.compliance-badge {
  background: rgba(26, 26, 46, 0.8);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  min-width: 250px;
  text-align: center;
  transition: transform var(--transition-normal);
  position: relative;
  z-index: 1;
}

.compliance-badge:hover {
  transform: translateY(-5px);
}

.glow-border {
  position: relative;
  box-shadow: 0 0 15px rgba(0, 230, 184, 0.3);
}

.glow-border::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 1px solid rgba(0, 230, 184, 0.3);
  pointer-events: none;
}

.glow-text {
  text-shadow: 0 0 10px rgba(0, 230, 184, 0.3);
}

/* Footer */
.footer {
  background-color: var(--color-dark-blue);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
}

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

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-logo h3 {
  color: var(--color-off-white);
  font-size: 1.5rem;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 230, 184, 0.1);
  color: var(--color-off-white);
  transition: all var(--transition-normal);
}

.footer-social-link:hover {
  background-color: var(--color-teal);
  color: var(--color-dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 230, 184, 0.5);
}

.footer-heading {
  font-size: 1.2rem;
  color: var(--color-off-white);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
}

.footer-link {
  color: var(--color-light-gray);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-teal);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-medium-gray);
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 230, 184, 0.5);
  transition: all var(--transition-normal);
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 230, 184, 0.7);
}

.chatbot-button i {
  font-size: 1.5rem;
  color: var(--color-dark-blue);
}

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

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

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-teal {
  color: var(--color-teal);
}

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

.text-off-white {
  color: var(--color-off-white);
}

.text-3xl {
  font-size: 2.5rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.p-8 {
  padding: 2rem;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-6 {
  gap: 1.5rem;
}

.justify-center {
  justify-content: center;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.mr-2 {
  margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1, .hero-title {
    font-size: 3rem;
  }
  
  h2, .text-3xl {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-blue);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-3d-element {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.3;
  }
  
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2, .text-3xl {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1, .hero-title {
    font-size: 2rem;
  }
  
  h2, .text-3xl {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .button {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
