/* Base Styles */
:root {
  --primary: #D81B60;
  --secondary: #FFC107;
  --accent: #FFECB3;
  --text-dark: #212121;
  --text-light: #757575;
  --background: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 4px 20px rgba(216, 27, 96, 0.2);
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.6;
}

.wrapper {
  overflow: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.content-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Button Styles */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(216, 27, 96, 0.3);
  color: white;
}

.btn-nav {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: var(--gradient);
  color: white;
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: 8rem 0 12rem;
  background: var(--gradient);
  color: white;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.diagonal-section-alt {
  position: relative;
  padding: 10rem 0 15rem;
  background: #FFF5E6;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  margin-top: -8rem;
}

/* Header & Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

.brand h1 {
  font-size: 1.5rem;
  color: white;
  letter-spacing: 0.5px;
}

.brand h1 span {
  color: var(--secondary);
  font-weight: 300;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-content {
  max-width: 600px;
  margin-top: 5rem;
}

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

.hero-content h2 span {
  display: block;
  color: var(--secondary);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Chat Animation */
.chat-animation {
  position: absolute;
  top: 12rem;
  right: 5%;
  width: 40%;
  max-width: 450px;
  z-index: 1;
}

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

.chat-bubble {
  background-color: white;
  border-radius: 18px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  max-width: 80%;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

.chat-bubble.bot {
  border-bottom-left-radius: 0;
  margin-right: auto;
  background-color: var(--accent);
  color: var(--text-dark);
}

.chat-bubble.bot:nth-child(1) {
  animation-delay: 0.5s;
}

.chat-bubble.user {
  border-bottom-right-radius: 0;
  margin-left: auto;
  background-color: var(--secondary);
  color: var(--text-dark);
  animation-delay: 1.5s;
}

.chat-bubble.bot:nth-child(3) {
  animation-delay: 2.5s;
}

/* Features Section */
#features {
  padding: 6rem 1rem;
  text-align: center;
  background-color: white;
  margin-top: -4rem;
}

#features h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background-color: white;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(216, 27, 96, 0.2);
}

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

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

.feature-card p {
  color: var(--text-light);
}

/* Chatbots Section */
#chatbots {
  text-align: center;
}

#chatbots h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.chatbot-cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.chatbot {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  width: 100%;
  max-width: 300px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.chatbot:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(216, 27, 96, 0.2);
}

.chatbot-avatar {
  margin: 0 auto 1.5rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.chatbot h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.chatbot p {
  color: var(--text-light);
}

/* CTA Section */
#start-now {
  padding: 8rem 1rem;
  text-align: center;
  background: var(--background);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

#start-now h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

#start-now p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.keywords {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.keywords p {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-text h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-text p {
  color: var(--secondary);
  opacity: 0.8;
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .chat-animation {
    width: 45%;
    top: 15rem;
  }
  
  .hero-content h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .diagonal-section {
    padding: 6rem 0 10rem;
  }
  
  .diagonal-section-alt {
    padding: 8rem 0 12rem;
    margin-top: -6rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-content {
    text-align: center;
    margin: 3rem auto 0;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .chat-animation {
    position: relative;
    top: auto;
    right: auto;
    width: 90%;
    max-width: 450px;
    margin: 3rem auto 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  #features {
    margin-top: -2rem;
  }
  
  #start-now h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .diagonal-section {
    padding: 5rem 0 8rem;
  }
  
  .diagonal-section-alt {
    padding: 6rem 0 10rem;
    margin-top: -4rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  #features h2, 
  #chatbots h2, 
  #start-now h2 {
    font-size: 2rem;
  }
}
