/* Thanus AI - Futuristic Landing Page Styles */

/* Base Styles and Reset */
:root {
  --primary-color: #6e00ff;
  --secondary-color: #00d9ff;
  --accent-color: #ff00e5;
  --dark-bg: #050118;
  --darker-bg: #020010;
  --light-text: #ffffff;
  --glow-effect: 0 0 10px rgba(110, 0, 255, 0.7), 0 0 20px rgba(0, 217, 255, 0.5);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  --font-primary: 'Orbitron', sans-serif;
  --font-secondary: 'Rajdhani', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  background-color: var(--dark-bg);
  color: var(--light-text);
  font-family: var(--font-secondary);
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at center, var(--darker-bg) 0%, var(--dark-bg) 100%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Futuristic UI Elements */
.glow-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--glow-effect);
  text-transform: uppercase;
}

.glow-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(110, 0, 255, 0.8), 0 0 30px rgba(0, 217, 255, 0.6);
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.glow-button:hover::before {
  left: 100%;
}

.card {
  background: rgba(5, 1, 24, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 0, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 0, 255, 0.1), transparent);
  z-index: -1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(110, 0, 255, 0.5);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  background: rgba(2, 0, 16, 0.8);
  backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(2, 0, 16, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

.logo img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with 3D Element */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  width: 50%;
  z-index: 10;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--secondary-color);
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.hero-description {
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.secondary-btn {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--secondary-color);
  padding: 0.95rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.secondary-btn:hover {
  background: rgba(0, 217, 255, 0.1);
  transform: translateY(-3px);
}

.hero-3d-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
}

/* Floating particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Features Section */
.features {
  position: relative;
}

.section-title-container {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--secondary-color);
  font-family: var(--font-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.feature-card {
  padding: 2.5rem;
  border-radius: 15px;
  background: rgba(5, 1, 24, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 0, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(110, 0, 255, 0.5);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(110, 0, 255, 0.1);
  color: var(--secondary-color);
  font-size: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.feature-link {
  margin-top: auto;
  color: var(--secondary-color);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.feature-link:hover {
  gap: 0.8rem;
  color: var(--accent-color);
}

/* AI Demo Section */
.ai-demo {
  position: relative;
  background: var(--darker-bg);
}

.ai-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(110, 0, 255, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.ai-demo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-demo-content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 3rem;
}

.ai-demo-interface {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: rgba(5, 1, 24, 0.8);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(110, 0, 255, 0.3);
  box-shadow: 0 0 30px rgba(110, 0, 255, 0.2);
}

/* Testimonials Section */
.testimonials {
  position: relative;
}

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

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

.testimonial-card {
  padding: 2.5rem;
  border-radius: 15px;
  background: rgba(5, 1, 24, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 0, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(110, 0, 255, 0.5);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(110, 0, 255, 0.2);
  position: absolute;
  top: -20px;
  left: -15px;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  background: var(--darker-bg);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(110, 0, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.cta-description {
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Footer */
footer {
  background: var(--darker-bg);
  padding: 5rem 0 2rem;
  position: relative;
}

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

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

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(110, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(110, 0, 255, 0.2);
  padding: 0.8rem 1rem;
  border-radius: 50px;
  color: var(--light-text);
  font-family: var(--font-secondary);
}

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

.newsletter-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content {
    width: 60%;
  }
}

@media (max-width: 992px) {
  .hero-content {
    width: 100%;
    text-align: center;
  }
  
  .hero-subtitle {
    justify-content: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-3d-container {
    opacity: 0.3;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(2, 0, 16, 0.95);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
  }
  
  nav ul.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .glow-button, .secondary-btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
}

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

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

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

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

/* Floating animation for 3D elements */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Glowing effect animation */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(110, 0, 255, 0.5), 0 0 10px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(110, 0, 255, 0.8), 0 0 30px rgba(0, 217, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(110, 0, 255, 0.5), 0 0 10px rgba(0, 217, 255, 0.3);
  }
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}