/* Base Styles */
:root {
  --primary-color: #8323ff;
  --secondary-color: #e637ff;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f7;
  --accent-color: #4facfe;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1em;
  text-align: center;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1.5em;
}

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

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

section {
  padding: 5rem 0;
}

.highlight {
  color: var(--secondary-color);
}

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

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.logo-icon {
  margin-right: 10px;
}

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

nav a {
  font-weight: 600;
  color: var(--dark-color);
  padding: 0.5rem 0;
  position: relative;
}

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

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

.cta-small {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius);
}

.cta-small:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: var(--shadow);
}

.cta-small:after {
  display: none;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #f5f7fa, #e8ecf1);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: white;
}

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

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

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

.feature {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background-color: var(--dark-color);
  color: white;
}

.about h2 {
  text-align: left;
  color: white;
}

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

/* Experience Section */
.experience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  padding: 2.5rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Join Section */
.join {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.join h2,
.join p {
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.join .cta-button {
  background: white;
  color: var(--primary-color);
  margin-top: 1rem;
}

.join .cta-button:hover {
  background: var(--light-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo p {
  margin-top: 1rem;
  font-weight: 600;
}

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

.link-group h4 {
  color: white;
  margin-bottom: 1.2rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.8rem;
}

.link-group a {
  color: #aaa;
  transition: var(--transition);
}

.link-group a:hover {
  color: white;
}

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

.copyright p {
  color: #777;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .hero-visual {
    grid-row: 1;
    margin-bottom: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
  
  nav ul {
    position: absolute;
    flex-direction: column;
    background-color: white;
    width: 100%;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
  }
  
  nav ul.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }
  
  .features-grid,
  .experience-cards {
    grid-template-columns: 1fr;
  }
}
