@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

:root {
  /* AI-focused color palette */
  --primary-color: #00d9ff;
  --secondary-color: #7c3aed;
  --tertiary-color: #ec4899;
  --accent-ai: #10b981;
  --dark-bg: #0a0a0a;
  --text-light: #ffffff;
  --text-gray: #a1a1aa;
  --text-accent: #00d9ff;
  --card-bg: #111111;
  --border-color: #27272a;
  --gradient-primary: linear-gradient(
    135deg,
    #00d9ff 0%,
    #7c3aed 50%,
    #ec4899 100%
  );
  --gradient-ai: linear-gradient(
    135deg,
    #00d9ff 0%,
    #0ea5e9 25%,
    #7c3aed 50%,
    #a855f7 75%,
    #ec4899 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(124, 58, 237, 0.1) 50%,
    rgba(236, 72, 153, 0.1) 100%
  );

  --foreground-color: hsl(220, 10%, 100%);
  --background-color: hsl(240, 05%, 05%);
  --gradient-color-1: hsl(210, 80%, 25%);
  --gradient-color-2: hsl(240, 60%, 20%);
  --gradient-color-3: hsl(260, 50%, 22%);
}

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

body {
  font-family: "Roboto", ui-sans-serif, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  position: relative;
}

@keyframes moveGradient {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

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

@media (min-width: 1024px) {
  .container {
    padding: 0 80px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1600px;
    padding: 0 100px;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000000;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}

body.home .navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00d9ff 20%,
    #0ea5e9 30%,
    #7c3aed 50%,
    #a855f7 70%,
    #ec4899 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: -200% center;
  opacity: 0;
  animation: shimmerOnce 3s ease-in-out forwards;
}

body.no-shimmer .navbar::after {
  display: none;
}

@keyframes shimmerOnce {
  0% {
    opacity: 0.6;
    background-position: -200% center;
  }
  80% {
    opacity: 0.6;
    background-position: 200% center;
  }
  100% {
    opacity: 0;
    background-position: 200% center;
  }
}

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

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

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 80px;
  }
}

@media (min-width: 1440px) {
  .nav-container {
    max-width: 1600px;
    padding: 0 100px;
  }
}

.logo img {
  height: 150px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu-logo {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: blur(9rem);
  background:
    radial-gradient(
      circle at 15% 25%,
      var(--gradient-color-1),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 30%,
      var(--gradient-color-2),
      transparent 40%
    ),
    radial-gradient(circle at 50% 80%, var(--gradient-color-3), transparent 30%);
  background-size: 200% 200%;
  animation: moveGradient 20s infinite alternate ease-in-out;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 120%;
  opacity: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 10, 0.1) 50%,
    rgba(10, 10, 10, 0.5) 75%,
    rgba(10, 10, 10, 0.8) 90%,
    rgba(10, 10, 10, 0.9) 96%,
    var(--dark-bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  color: var(--text-light);
}

.hero-description {
  max-width: 600px;
  margin: 0 auto 1rem;
  color: var(--text-gray);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero-subtext {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.8;
}

/* Smooth transition after hero */
.hero + section::before,
.hero + main::before {
  content: "";
  display: block;
  height: 300px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 10, 0.05) 10%,
    rgba(10, 10, 10, 0.15) 40%,
    rgba(10, 10, 10, 0.3) 60%,
    rgba(10, 10, 10, 0.5) 75%,
    rgba(10, 10, 10, 0.7) 85%,
    rgba(10, 10, 10, 0.9) 95%,
    var(--dark-bg) 100%
  );
  margin-top: -300px;
  position: relative;
  z-index: 3;
}

/* Solutions Section */
.solutions {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.solutions h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
}

.section-description {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.solution-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

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

.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.solution-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Clients Section */
.clients {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

.clients h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
}

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

.client-category h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.client-list {
  list-style: none;
  padding: 0;
}

.client-list li {
  color: var(--text-gray);
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.client-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  opacity: 0.6;
}

/* Testimonial Section */
.testimonial-section {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial cite {
  color: var(--text-gray);
  font-size: 1rem;
  font-style: normal;
}

/* Client Stats */
.client-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 300;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-gray);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.contact-info {
  display: none;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Montserrat", "Arial", sans-serif;
}

.contact-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-form {
  width: 100%;
  max-width: 600px;
}

.contact-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.contact-card .title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-details p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.contact-details a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 139, 223, 0.3);
}

/* Footer */
footer {
  padding: 2rem 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 0 60px;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    padding: 0 80px;
  }
}

@media (min-width: 1440px) {
  .footer-content {
    max-width: 1600px;
    padding: 0 100px;
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.8;
}

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

/* Mobile Responsive Design */
@media (max-width: 768px) {
  body {
    background-color: var(--background-color);
    min-height: 100vh;
  }

  .solutions,
  .contact,
  .clients-showcase {
    background: transparent !important;
  }

  .expertise {
    display: none;
  }

  .stats {
    display: none;
  }

  .hero {
    min-height: 100vh;
    padding: 3rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: #000000;
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
      circle at 50% 30%,
      rgba(66, 133, 244, 0.1) 0%,
      transparent 60%
    );
    pointer-events: none;
  }

  .mobile-menu-logo {
    display: block;
    margin-bottom: 3rem;
    background: #000000;
    padding: 2rem;
    border-radius: 20px;
  }

  .mobile-menu-logo img {
    height: 120px;
    width: auto;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-menu.active li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-menu li a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
  }

  .nav-menu li a::before {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Mobile Solutions Page Fixes */
  .solution-item {
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
  }

  .solution-content ul {
    grid-template-columns: 1fr !important;
  }

  .solution-content li {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .solution-content li::before {
    width: 3px;
  }

  .solution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .solutions-detail {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .services h2,
  .about h2,
  .contact h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .solution-content ul {
    grid-template-columns: 1fr !important;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Offset for anchor links with fixed header */
.tech-card[id] {
  scroll-margin-top: 200px;
}

/* Expertise Section */
.expertise {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.expertise .container {
  max-width: 1400px;
  overflow: visible;
}

@media (min-width: 1440px) {
  .expertise .container {
    max-width: 1600px;
  }
}

.expertise-grid {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--card-bg);
  padding: 1rem 0 2rem 0;
}

.expertise-grid::-webkit-scrollbar {
  height: 8px;
}

.expertise-grid::-webkit-scrollbar-track {
  background: var(--card-bg);
  border-radius: 10px;
}

.expertise-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.expertise-grid::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.expertise-item h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.expertise-item p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.framework {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.framework h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 400;
}

/* Stats Section */
.stats {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(91, 139, 223, 0.05) 0%,
    rgba(155, 125, 184, 0.05) 100%
  );
}

.stats h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 300;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-gray);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tech Stack Badges */
.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.tech-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 50px;
  color: var(--text-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  animation: floatBadge 3s ease-in-out infinite;
  text-decoration: none;
  cursor: pointer;
}

.tech-badge:nth-child(1) { animation-delay: 0s; }
.tech-badge:nth-child(2) { animation-delay: 0.2s; }
.tech-badge:nth-child(3) { animation-delay: 0.4s; }
.tech-badge:nth-child(4) { animation-delay: 0.6s; }
.tech-badge:nth-child(5) { animation-delay: 0.8s; }

.tech-badge:hover {
  background: rgba(0, 217, 255, 0.2);
  border-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

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

/* Section Title */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Expertise Icons */
.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
  filter: grayscale(0);
  transform: scale(1.2) rotate(5deg);
}

.expertise-item {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 280px;
  flex-shrink: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
  display: block;
}

.expertise-link {
  cursor: pointer;
}

.expertise-link h3 {
  transition: color 0.3s ease;
}

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

@media (min-width: 768px) {
  .expertise-item {
    min-width: 300px;
    flex: 0 0 calc(25% - 1.5rem);
  }
}

@media (min-width: 1200px) {
  .expertise-item {
    flex: 0 0 calc(25% - 1.5rem);
  }
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-ai);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.expertise-item:hover::before {
  transform: scaleX(1);
}

.expertise-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

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

.hero-content,
.service-card,
.contact-card {
  animation: fadeIn 0.8s ease-out;
}

/* Page Hero for separate pages */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 60px;
  background: var(--dark-bg);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0.3;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-ai);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite, fadeIn 0.8s ease-out;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero-subtitle {
  text-align: center;
  color: var(--text-accent);
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* Solutions Page Styles */
.solutions-detail {
  padding: 0;
  background: var(--dark-bg);
}

.solution-item {
  margin-bottom: 4rem;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

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

.solution-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.solution-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(66, 133, 244, 0.15);
  border-color: var(--primary-color);
}

.solution-item:hover::after {
  opacity: 1;
}

.solution-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-weight: 400;
}

.solution-content h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.solution-content ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.solution-content li {
  color: var(--text-gray);
  padding: 1.2rem 1.8rem;
  background: rgba(66, 133, 244, 0.05);
  border-radius: 12px;
  line-height: 1.6;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.solution-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 12px 0 0 12px;
}

.solution-content li:hover {
  background: rgba(66, 133, 244, 0.1);
  transform: translateX(8px);
  color: var(--text-light);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.15);
}

/* Clients Page Styles */
.clients-showcase {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.client-logos {
  margin-bottom: 4rem;
}

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

.client-logo {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-placeholder {
  color: var(--text-gray);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

.client-list-section {
  margin-top: 4rem;
}

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

.client-list-grid .client-list {
  list-style: none;
  padding: 0;
}

.client-list-grid .client-list li {
  color: var(--text-gray);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.client-list-grid .client-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  opacity: 0.6;
}

/* CTA Section for separate pages */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    rgba(91, 139, 223, 0.1) 0%,
    rgba(155, 125, 184, 0.1) 100%
  );
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

.cta-section p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 139, 223, 0.3);
}

/* Active nav state */
.nav-menu a.active {
  color: var(--primary-color);
}

/* AI Capabilities Section */
.ai-capabilities {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 900px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.capability-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.capability-number {
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1;
}

.capability-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.capability-card p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.capability-tech {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Industry Solutions Section */
.industry-solutions {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(17, 17, 17, 0.5) 100%);
}

.industry-item {
  margin-bottom: 4rem;
}

.industry-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.use-case {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.use-case:hover {
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.use-case h4 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.use-case p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tech-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Technology Deep Dive Section */
.tech-deep-dive {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.tech-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.tech-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.15);
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tech-header h3 {
  font-size: 1.5rem;
  color: var(--text-light);
}

.tech-badge-large {
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-description {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tech-features {
  margin: 1.5rem 0;
}

.tech-feature {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-feature strong {
  color: var(--primary-color);
}

.tech-example {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 217, 255, 0.05);
  border-left: 3px solid var(--primary-color);
  border-radius: 8px;
  color: var(--text-gray);
  line-height: 1.6;
}

.tech-example strong {
  color: var(--text-light);
}

/* ROI Section */
.roi-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

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

.roi-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.roi-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.roi-metric {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1;
}

.roi-card h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.roi-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Implementation Process Section */
.implementation-process {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.process-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateX(10px);
  border-left-color: var(--secondary-color);
}

.step-number {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.process-step ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.process-step li {
  color: var(--text-gray);
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  line-height: 1.6;
}

.process-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.step-deliverable {
  padding: 1rem 1.5rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  color: var(--secondary-color);
  font-weight: 500;
}

/* CTA Button Large */
.cta-button-large {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  margin: 2rem 0 1rem;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.cta-note {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .capabilities-grid,
  .use-case-grid,
  .tech-stack-grid,
  .roi-grid {
    grid-template-columns: 1fr;
  }

  .capability-number,
  .roi-metric {
    font-size: 3rem;
  }

  .process-step {
    padding: 2rem 1.5rem;
  }

  .process-step:hover {
    transform: none;
  }
}

/* Responsive for new pages */
@media (max-width: 768px) {
  .solution-item {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .client-list-grid {
    grid-template-columns: 1fr;
  }
}

/* Notification Modal */
.notification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification-modal.show {
  opacity: 1;
}

.notification-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.notification-content {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.98) 0%,
    rgba(30, 30, 40, 0.98) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.notification-modal.show .notification-content {
  transform: scale(1);
}

.notification-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.notification-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

.notification-icon.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
  border: 2px solid var(--accent-ai);
}

.notification-icon.success::before {
  background: var(--accent-ai);
}

.notification-icon.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
  border: 2px solid #ef4444;
}

.notification-icon.error::before {
  background: #ef4444;
}

.notification-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.5;
  position: relative;
  z-index: 1;
}

.notification-icon.success svg {
  color: var(--accent-ai);
}

.notification-icon.error svg {
  color: #ef4444;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.notification-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.notification-message {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.notification-close {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--text-light);
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.notification-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 217, 255, 0.5);
}

.notification-close:active {
  transform: translateY(0);
}

/* Mobile responsiveness for notification */
@media (max-width: 768px) {
  .notification-content {
    padding: 2.5rem 2rem;
    width: 85%;
  }

  .notification-icon {
    width: 70px;
    height: 70px;
  }

  .notification-icon svg {
    width: 35px;
    height: 35px;
  }

  .notification-title {
    font-size: 1.5rem;
  }

  .notification-message {
    font-size: 0.95rem;
  }

  .notification-close {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
}
