/* Base Styles and Variables */
:root {
  --primary: #6D5BEC;
  --secondary: #FC7E60;
  --dark: #222831;
  --darker: #1A1E25;
  --light: #EEEEEE;
  --gray: #393E46;
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2 span {
  color: var(--secondary);
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: var(--darker);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.logo h1 {
  font-size: 1.4rem;
  margin-bottom: 0;
  white-space: nowrap;
}

.logo-icon {
  height: 40px;
  width: 40px;
}

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

nav a {
  position: relative;
  font-weight: 500;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--primary);
  color: var(--light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(109, 91, 236, 0.3);
}

.nav-cta:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 126, 96, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(109, 91, 236, 0.2), transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(252, 126, 96, 0.1), transparent 60%);
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--light);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--light);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(109, 91, 236, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(109, 91, 236, 0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--light);
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

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

/* Gallery Section */
.gallery {
  background-color: var(--gray);
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--dark), transparent);
}

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

.gallery-item {
  background: var(--darker);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item svg {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item h3 {
  padding: 1.2rem;
  font-size: 1.1rem;
  text-align: center;
  border-top: 3px solid var(--primary);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-cta {
  margin-top: 3rem;
  text-align: center;
}

/* Features Section */
.features {
  background-color: var(--dark);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.feature {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-icon {
  width: 100px;
  height: 100px;
  padding: 10px;
  background-color: var(--darker);
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.feature-content p {
  color: var(--light);
  opacity: 0.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta h2 {
  color: var(--light);
  margin-bottom: 1rem;
}

.cta h2 span {
  color: var(--dark);
}

.cta p {
  color: var(--light);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background: var(--dark);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.cta .btn-primary:hover {
  background: var(--darker);
}

/* Footer */
footer {
  background-color: var(--darker);
  padding: 4rem 0 1.5rem;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

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

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

.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-links ul {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .feature {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-icon {
    margin: 0 auto;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .footer-logo {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-primary, .btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
}

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

.slide-up {
  animation: slideUp 0.8s ease-out;
}

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

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