:root {
  --primary: #4d61fc;
  --primary-light: #6d7bff;
  --primary-dark: #3a46c9;
  --secondary: #ff6b6b;
  --text-dark: #2d3748;
  --text-light: #718096;
  --text-white: #f7fafc;
  --bg-light: #f8f9fa;
  --bg-dark: #1a202c;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary);
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
}

.logo-image {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

/* Hamburger Menu */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger-bar {
  width: 28px;
  height: 4px;
  background-color: var(--primary);
  margin: 4px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 41, 59, 0.96);
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.mobile-nav a {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

#close-mobile-nav {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

#chair-canvas {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.highlight:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 107, 107, 0.2);
  z-index: -1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.cta-container {
  display: flex;
  gap: 1rem;
}

.cta-button, .demo-button, .price-cta {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.cta-button {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(77, 97, 252, 0.3);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 97, 252, 0.4);
}

.cta-button-small {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cta-button-small:hover {
  background-color: var(--primary-dark);
}

.demo-button {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.demo-button:hover {
  background-color: rgba(77, 97, 252, 0.05);
}

/* Benefit Bar */
#benefit-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2rem 5%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-icon {
  font-size: 1.5rem;
}

.benefit-text {
  font-weight: 600;
}

/* Features Section */
#features {
  padding: 5rem 5%;
  background-color: var(--bg-light);
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-image {
  height: 150px;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
}

.persona-img {
  background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80');
}

.integration-img {
  background-image: url('https://images.unsplash.com/photo-1586282391129-76a6df230234?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80');
}

.feedback-img {
  background-image: url('https://images.unsplash.com/photo-1556155092-490a1ba16284?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80');
}

/* Demo Section */
#demo {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

#demo h2 {
  color: white;
  text-align: left;
}

.demo-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.demo-text {
  flex: 1;
  min-width: 300px;
}

.demo-text p {
  color: rgba(255, 255, 255, 0.8);
}

.demo-quote {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.demo-quote:before {
  content: '"';
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

blockquote {
  margin-left: 1.5rem;
  font-style: italic;
}

.persona {
  margin-top: 1rem;
  text-align: right;
  font-weight: 600;
}

.demo-visual {
  flex: 1;
  min-width: 300px;
}

.jira-mockup {
  background-color: white;
  border-radius: 10px;
  height: 270px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #f4f5f7 50px, #ffffff 50px);
  padding: 15px;
}

.jira-mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background-color: #f4f5f7;
  border-bottom: 1px solid #dfe1e6;
}

.notification {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-light);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 2s infinite;
  z-index: 2;
}

/* Pricing Section */
#pricing {
  padding: 5rem 5%;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.price-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-light);
}

.price-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: -0.5rem;
}

.price-features {
  list-style-type: none;
  margin-bottom: 2rem;
}

.price-features li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.price-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.price-cta {
  display: block;
  text-align: center;
  background-color: var(--primary);
  color: white;
  padding: 0.8rem;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.price-cta:hover {
  background-color: var(--primary-dark);
}

/* CTA Section */
#cta-section {
  padding: 5rem 5%;
  text-align: center;
  background-color: var(--bg-light);
}

#cta-section h2 {
  margin-bottom: 1rem;
}

#cta-section p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--text-white);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 150px;
}

.footer-column h4 {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-white);
  opacity: 0.7;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(109, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 123, 255, 0);
  }
}

/* Enhanced Jira Mockup Styles */
.jira-header {
  padding: 10px 0 20px 0;
  border-bottom: 1px solid #dfe1e6;
}

.jira-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
}

.jira-status {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
  display: flex;
  align-items: center;
}

.jira-status::before {
  content: "•";
  color: #36b37e;
  margin-right: 5px;
  font-size: 20px;
}

.jira-content {
  padding-top: 20px;
}

.feedback-panel {
  background-color: #f4f9ff;
  border: 1px solid #deebff;
  border-radius: 8px;
  overflow: hidden;
}

.feedback-header {
  background-color: #deebff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feedback-new {
  background-color: var(--secondary);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.feedback-message {
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feedback-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.feedback-bubble {
  background-color: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
}

.feedback-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid white;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  header {
    padding: 1rem 5%;
  }
  
  nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  
  nav.desktop-nav {
    display: none;
  }
  
  #hamburger {
    display: flex;
  }
  
  .mobile-nav-overlay.active {
    display: flex;
  }
  
  #hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
    padding-top: 100px;
    padding-bottom: 3rem;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero-content p {
    max-width: 100%;
  }
  
  #chair-canvas {
    position: relative;
    width: 100%;
    height: 300px;
  }
  
  #benefit-bar {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .demo-container, .price-card.featured {
    transform: none;
  }
  
  .price-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .cta-container {
    flex-direction: column;
  }
}
