/* Base Styles */
:root {
  --primary-color: #4361EE;
  --secondary-color: #3A0CA3;
  --light-color: #F8F9FA;
  --dark-color: #212529;
  --gray-color: #6C757D;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Navbar Styles */
.navbar {
  padding: 15px 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background-color: var(--light-color);
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.05;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
  z-index: 0;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-image {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Trusted By Section */
.trusted-by {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Features Section */
.features {
  background-color: white;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.feature-card {
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
}

.icon-wrapper i {
  font-size: 28px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Applications Section */
.applications {
  background-color: var(--light-color);
}

.app-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  height: 100%;
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-5px);
}

.app-card h3 {
  font-size: 1.5rem;
  margin: 15px 0;
}

.app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.app-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.app-features li i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  height: 100%;
}

.rating i {
  color: #FFD700;
}

.testimonial-text {
  font-style: italic;
  margin: 20px 0;
  position: relative;
}

.testimonial-text:before {
  content: '\201C';
  font-size: 60px;
  position: absolute;
  top: -30px;
  left: -10px;
  color: rgba(67, 97, 238, 0.1);
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

/* Demo Section */
.demo {
  position: relative;
  overflow: hidden;
}

.demo:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(255, 255, 255, 0.05);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.demo-features {
  list-style: none;
  padding: 0;
}

.demo-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.demo-features li i {
  margin-right: 10px;
}

.demo-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.demo-form h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .app-card, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .demo-form {
        margin-top: 30px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.5s ease forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}