/* Base Styles and Reset */
:root {
  --primary-color: #7b4397;
  --secondary-color: #dc2430;
  --text-color: #333;
  --background-color: #f9f9f9;
  --card-background: #ffffff;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 2.5rem;
}

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

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1.5rem;
  color: #555;
}

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

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

.highlight {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: var(--secondary-color);
  opacity: 0.2;
  z-index: -1;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  transition: transform var(--transition-speed);
}

.logo:hover .logo-icon {
  transform: scale(1.1);
}

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

nav a {
  font-weight: 600;
  position: relative;
}

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

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

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-speed);
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(220, 36, 48, 0.4);
}

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

.cta-nav .cta-button {
  padding: 0.5rem 1.2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(123, 67, 151, 0.1), rgba(220, 36, 48, 0.1));
  padding: 6rem 0;
}

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

.hero-content {
  padding-right: 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
}

.chat-illustration {
  width: 100%;
  max-height: 350px;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 36, 48, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(220, 36, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 36, 48, 0);
  }
}

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

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

.feature-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  margin-bottom: 1.5rem;
  transition: transform var(--transition-speed);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* 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;
  text-align: center;
}

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

.experience-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed);
  text-align: center;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.cta-container {
  text-align: center;
  margin-top: 2rem;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 3rem 0;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

footer p {
  color: #aaa;
  margin-bottom: 0;
}

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

.footer-links a {
  color: #aaa;
}

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

/* Responsive Design */
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
  
  .features-grid,
  .experience-content {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .feature-card,
  .experience-card {
    padding: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
