/* 
   Qlevar Landing Page Styles
   Primary: #edcb35 (golden yellow)
   Secondary: #393d47 (dark slate)
*/

/* ===== Base Styles ===== */
:root {
  --primary-color: #edcb35;
  --secondary-color: #393d47;
  --light-color: #ffffff;
  --grey-color: #f5f5f5;
  --text-color: #333333;
  --text-light: #777777;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: #d4b42a;
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
  ;
}

.btn-secondary:hover {
  background-color: #2d3038;
  color: var(--light-color);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--light-color);
  transform: translateY(-3px);
}

/* ===== Header/Navigation ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 35px;
  margin-right: 5px;
}

.logo a span.logo-text {
  color: var(--secondary-color);
}

.logo a span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu li a {
  color: var(--secondary-color);
  font-weight: 500;
}

.nav-menu li a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--secondary-color);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(to right, var(--secondary-color), #2d3038);
  color: var(--light-color);
  padding: 8rem 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  height: 60px;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--shadow);
  border-radius: 10px;
}

.hero-logo-overlay {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  z-index: 2;
}

.hero-management-logo {
  height: 40px;
  margin: 0 auto;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ===== Problem-Solution Section ===== */
.problem-solution {
  background-color: var(--grey-color);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.solution-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.solution-card .icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.solution-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* ===== Feature Tabs Section ===== */
.feature-tabs {
  margin-top: 3rem;
}

.tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--secondary-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.feature-text {
  flex: 1;
}

.feature-image {
  flex: 1;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-list i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.feature-list strong {
  color: var(--secondary-color);
}

/* ===== How It Works ===== */
.how-it-works {
  background-color: var(--grey-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--light-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* ===== Platform Preview ===== */
.platform-preview {
  background-color: #fff;
}

.preview-tabs {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.preview-nav {
  display: flex;
  justify-content: space-evenly;
  background-color: var(--light-color);
  border-radius: 8px 8px 0 0;
  overflow-x: auto;
  flex-wrap: wrap;
}

.preview-btn {
  font-size: 1.5rem;
  padding: 15px 25px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.preview-btn:hover {
  color: var(--primary-color);
}

.preview-btn.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.05);
}

.preview-content {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.preview-pane {
  display: none;
  padding: 30px;
}

.preview-pane.active {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

@media (max-width: 992px) {
  .preview-pane.active {
    flex-direction: column-reverse;
  }
}

.preview-info {
  flex: 1;
}

.preview-image {
  flex: 1;
  text-align: center;
}

.preview-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-list {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.highlight-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.highlight-list li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.demo-credentials {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

/* ===== Pricing Section ===== */
.pricing {
  background: linear-gradient(to bottom, #f9f9f9, #fff);
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-plan {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.plan-tag {
  position: absolute;
  top: 15px;
  right: -35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.5rem 3rem;
  font-weight: 600;
  font-size: 0.8rem;
  transform: rotate(45deg);
}

.plan-header {
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.plan-header h3 {
  color: var(--secondary-color);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.plan-features {
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features i {
  color: var(--primary-color);
}

.plan-features .not-included i {
  color: #ccc;
}

.plan-features .not-included {
  color: var(--text-light);
  text-decoration: line-through;
  opacity: 0.7;
}

.plan-cta {
  text-align: center;
}

.recommended {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

/* ===== FAQ Section ===== */
.faq {
  background-color: var(--grey-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

/* ===== Contact Section ===== */
.contact {
  background-color: #fff;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-method .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.contact-method h4 {
  margin-bottom: 0.25rem;
  color: var(--light-color);
}


/* ===== Footer ===== */
.footer {
  background-color: #292b33;
  color: #9fa3af;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1.5;
}

.footer-logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 1rem;
  display: block;
}

.footer-logo a span {
  color: var(--primary-color);
}

.footer-logo p {
  color: #9fa3af;
  max-width: 300px;
}

.footer-logo-img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links {
  flex: 3;
  display: flex;
  justify-content: space-between;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }

  .feature-content,
  .preview-pane {
    flex-direction: column;
  }

  .preview-info,
  .feature-text,
  .preview-image,
  .feature-image {
    flex: none;
    width: 100%;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .pricing-plans .recommended {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: var(--light-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 2rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .tab-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .preview-nav {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}