/* Base Styles */
:root {
  --primary-color: #E94560; /* Pinkish red */
  --secondary-color: #16213E; /* Dark navy blue */
  --accent-color: #0F3460; /* Deep blue */
  --light-color: #FFFFFF;
  --dark-color: #121212;
  --text-color: #333333;
  --gray-light: #F0F0F0;
  --gray-medium: #DDDDDD;
  --body-bg: #F9F9F9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --gradient: linear-gradient(135deg, var(--primary-color), #FF6B81);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

h2 span {
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

h2 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--primary-color);
  opacity: 0.2;
  z-index: -1;
}

p {
  margin-bottom: 1.5rem;
}

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

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.button.primary {
  background: var(--gradient);
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.large {
  padding: 14px 36px;
  font-size: 1.1rem;
}

.button.primary:hover {
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.5);
  transform: translateY(-3px);
}

.button.secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

/* Header Styles */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 30px;
}

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0) 70%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 33, 62, 0.05) 0%, rgba(22, 33, 62, 0) 70%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

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

.cta {
  display: flex;
  gap: 15px;
}

/* Chat Preview */
.chat-preview {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.chat-window {
  width: 100%;
  max-width: 350px;
  height: 500px;
  background-color: var(--light-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid var(--gray-medium);
}

.chat-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--gray-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--light-color);
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFA8A8, #FFAAC9);
}

.name {
  font-weight: 600;
  font-size: 1.1rem;
}

.status {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.online::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4CAF50;
  border-radius: 50%;
  margin-right: 5px;
}

.chat-messages {
  padding: 20px;
  height: calc(100% - 70px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #F9F9F9;
}

.message {
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 18px;
  position: relative;
}

.message p {
  margin-bottom: 0;
}

.message .time {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 5px;
  text-align: right;
}

.received {
  background-color: var(--gray-light);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.sent {
  background-color: var(--primary-color);
  color: var(--light-color);
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.typing {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: var(--gray-light);
  padding: 15px;
  align-self: flex-start;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #999;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Experience Section */
.experience {
  background-color: var(--body-bg);
  position: relative;
  overflow: hidden;
}

.experience-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
}

.experience-steps {
  flex: 1;
}

.step {
  margin-bottom: 40px;
  position: relative;
  padding-left: 80px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.experience-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.faq {
  background-color: var(--light-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.faq-item {
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: white;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.arrow {
  width: 20px;
  height: 20px;
  position: relative;
  transition: var(--transition);
}

.arrow::before,
.arrow::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  width: 10px;
  height: 2px;
  top: 10px;
}

.arrow::before {
  left: 0;
  transform: rotate(45deg);
}

.arrow::after {
  right: 0;
  transform: rotate(-45deg);
}

.faq-item.active .arrow::before {
  transform: rotate(-45deg);
}

.faq-item.active .arrow::after {
  transform: rotate(45deg);
}

.answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--light-color);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.link-group h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group a {
  color: rgba(255, 255, 255, 0.8);
}

.link-group a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .experience-wrapper {
    flex-direction: column;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-content p {
    text-align: center;
  }
  
  .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 40px 0 60px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
