/* Modern CSS with variables for easy theming */
:root {
  /* Primary gradient colors */
  --primary-color-1: #7b4397;
  --primary-color-2: #dc2430;
  --primary-color-3: #0083B0;
  
  /* Secondary colors */
  --secondary-color: #3a1c71;
  --accent-color: #ffb900;
  
  /* Text colors */
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #999999;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fafafa;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color-1), var(--primary-color-2));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--primary-color-2);
}

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

section {
  padding: 5rem 0;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 20px;
}

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

.logo-svg {
  margin-right: 12px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  background: linear-gradient(to right, var(--primary-color-1), var(--primary-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color-1), var(--primary-color-2));
  transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color-1), var(--primary-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-illustration {
  max-width: 100%;
  height: auto;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--primary-color-1), var(--primary-color-2));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 36, 48, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 36, 48, 0.3);
  color: white;
}

/* Features Section */
.features {
  background-color: white;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features h2:after {
  left: 50%;
  transform: translateX(-50%);
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--box-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background: linear-gradient(135deg, rgba(123, 67, 151, 0.05), rgba(220, 36, 48, 0.05));
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Technology Section */
.technology {
  background-color: white;
  text-align: center;
}

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

.tech-block {
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.tech-block:hover {
  transform: scale(1.03);
}

/* FAQ Section */
.faq {
  background: linear-gradient(135deg, rgba(123, 67, 151, 0.05), rgba(0, 131, 176, 0.05));
}

.faq h2 {
  text-align: center;
}

.faq h2:after {
  left: 50%;
  transform: translateX(-50%);
}

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

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color-1);
}

/* CTA Section */
.cta {
  background: linear-gradient(45deg, var(--primary-color-1), var(--primary-color-2));
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2, .cta p {
  color: white;
}

.cta h2:after {
  background: white;
  left: 50%;
  transform: translateX(-50%);
}

.cta .cta-button {
  background: white;
  color: var(--primary-color-1);
  border: 2px solid white;
}

.cta .cta-button:hover {
  background: transparent;
  color: white;
}

/* Footer */
footer {
  background: #222;
  color: #eee;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-logo p {
  margin-bottom: 0;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-links-column h4 {
  color: white;
  margin-bottom: 1.2rem;
}

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

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

.footer-links-column ul li a {
  color: #ddd;
  transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #999;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
  }
  
  nav ul li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

.fade-in-delay-3 {
  animation-delay: 0.6s;
}
