/* Storylane-inspired Custom Styles */
:root {
  --primary-pink: #E940A5;
  --primary-purple: #A855F7;
  --primary-yellow: #FCD34D;
  --dark-bg: #0F1117;
  --light-bg: #FFFFFF;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border-radius: 16px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Navbar Styles */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.navbar-brand img {
  max-width: 80px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-custom .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.8rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: var(--primary-pink);
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-pink);
  transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FEFCFB 0%, #F8F5FF 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(circle, rgba(233, 64, 165, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Demo Form Card */
.demo-form-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.demo-form-card:hover {
  transform: rotate(0deg);
  box-shadow: 0 25px 70px rgba(233, 64, 165, 0.15);
}

.demo-form-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-control {
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #1F2937 !important;
  background-color: #FFFFFF !important;
}

.form-control option {
  color: #1F2937 !important;
  background-color: #FFFFFF !important;
  padding: 0.5rem;
}

.form-control:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(233, 64, 165, 0.1);
  outline: none;
}

.form-control.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2 !important;
}

.form-control.is-valid {
  border-color: #10B981;
}

.invalid-feedback {
  display: none;
  color: #EF4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-message.success {
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.form-message.error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #EF4444;
}

.form-control::placeholder {
  color: #9CA3AF;
}

select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231F2937' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
  padding: 0.85rem 1rem !important;
  padding-right: 2.5rem !important;
  height: auto !important;
  min-height: 48px !important;
  line-height: 1.5 !important;
  color: #6B7280 !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  opacity: 1 !important;
  display: block !important;
  width: 100% !important;
}

select.form-control option {
  font-weight: 400 !important;
  color: #1F2937 !important;
  background: white !important;
  opacity: 1 !important;
}

select.form-control option:checked {
  background: var(--primary-pink) !important;
  color: white !important;
}

select.form-control.has-value {
  color: #1F2937 !important;
}

.btn-demo {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(233, 64, 165, 0.3);
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(233, 64, 165, 0.4);
  color: white;
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(233, 64, 165, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  color: var(--primary-pink);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Problem Section */
.problem-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.problem-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid #F3F4F6;
  transition: all 0.3s ease;
  height: 100%;
}

.problem-card:hover {
  border-color: var(--primary-pink);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(233, 64, 165, 0.15);
}

.problem-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transform: rotate(-3deg);
}

.problem-icon i {
  color: white;
  font-size: 1.8rem;
}

.problem-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

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

.feature-card {
  background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  background: white;
  border-color: var(--primary-purple);
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transform: rotate(3deg);
}

.feature-icon i {
  color: white;
  font-size: 2rem;
}

.feature-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1d2e 100%);
  color: white;
}

.services-section .section-badge {
  background: rgba(233, 64, 165, 0.2);
  color: var(--primary-yellow);
}

.services-section .section-title {
  color: white;
}

.services-section .section-description {
  color: rgba(255,255,255,0.8);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-yellow);
  transform: translateY(-10px);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #FCD34D 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transform: rotate(-5deg);
}

.service-icon i {
  color: var(--dark-bg);
  font-size: 2.5rem;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: white;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 2px solid #F3F4F6;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.faq-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: white;
  padding: 80px 0 30px;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-pink);
}

.footer-contact-form .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #1F2937 !important;
  margin-bottom: 1rem;
}

.footer-contact-form .form-control::placeholder {
  color: #6B7280 !important;
}

.footer-contact-form .form-control:focus {
  background: #FFFFFF;
  border-color: var(--primary-pink);
  color: #1F2937 !important;
}

.footer-contact-form .invalid-feedback {
  color: #FCA5A5;
}

.btn-footer {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(233, 64, 165, 0.3);
  color: white;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-pink);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .demo-form-card {
    margin-top: 3rem;
    transform: rotate(0deg);
  }

  .navbar-custom .nav-link {
    margin: 0.5rem 0;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
