:root {
  --primary-color: #4e51c0;
  --secondary-color: #1fc187;
  --text-color: #333333;
  --background-color: #ffffff;
  --light-gray: #f4f6f8;
  --dark-gray: #2d3748;
  --font-family: 'Inter',sans-serif
}
body {
  font-family: var(--font-family);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem
}
h1 {
  font-size: 32px
}
h2 {
  font-size: 28px
}
h3 {
  font-size: 24px
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  cursor: pointer;
  border: none
}
.btn-primary {
  background-color: var(--primary-color);
  color: #fff
}
.btn-primary:hover {
  background-color: #3d40a0
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff
}
.btn-secondary:hover {
  background-color: #17a070
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color)
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 1000
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  gap: 10px
}
.logo span {
  color: var(--primary-color)
}
.nav-links {
  display: flex;
  gap: 30px
}
.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500
}
.nav-links a:hover {
  color: var(--primary-color)
}
.nav-auth {
  display: flex;
  gap: 15px
}
.dropdown {
  position: relative;
  display: inline-block
}
.dropdown-trigger {
  cursor: pointer;
  padding: 10px 0
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,.1);
  z-index: 1000;
  border-radius: 8px;
  padding: 10px 0;
  top: 100%;
  left: 0;
  border: 1px solid #eee
}
.dropdown:hover .dropdown-content {
  display: block
}
.dropdown-content a {
  color: var(--text-color);
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background .2s
}
.dropdown-content a:hover {
  background-color: var(--light-gray);
  color: var(--primary-color)
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  background-color: var(--light-gray);
  min-height: 80vh
}
.hero-content {
  flex: 1;
  max-width: 600px
}
.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px
}
.hero p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px
}
.hero-buttons {
  display: flex;
  gap: 15px
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.1)
}
.demo-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center
}
.demo-container {
  max-width: 1100px;
  margin: auto
}
.demo-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222
}
.demo-text .subtitle {
  color: #666;
  margin-bottom: 40px
}
.demo-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.1)
}
.demo-video-wrapper .demo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%
}
.features {
  padding: 4rem 5%;
  text-align: center
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
  margin-top: 40px
}
.feature-card {
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  transition: transform .3s
}
.feature-card:hover {
  transform: translateY(-5px)
}
.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px
}
.testimonials {
  padding: 80px 20px;
  background: #fafafa;
  text-align: center
}
.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222
}
.testimonials .subtitle {
  color: #666;
  margin-bottom: 40px
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto
}
.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  text-align: left
}
.testimonial-card .quote {
  font-style: italic;
  color: #333;
  margin-bottom: 20px
}
.testimonial-card .author {
  font-weight: 700;
  color: #111
}
.testimonial-card .role {
  color: #777;
  font-size: .9rem
}
footer {
  background-color: var(--dark-gray);
  color: #fff;
  padding: 3rem 5%;
  margin-top: auto
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 40px
}
.footer-section h4 {
  color: #fff;
  margin-bottom: 20px
}
.footer-section ul {
  list-style: none;
  padding: 0
}
.footer-section ul li {
  margin-bottom: 10px
}
.footer-section a {
  color: #ccc;
  text-decoration: none
}
.footer-section a:hover {
  color: #fff
}
.auth-container {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,.1)
}
.form-group {
  margin-bottom: 20px
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500
}
.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px
}
.form-control:focus {
  border-color: var(--primary-color);
  outline: 0
}
.alert {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px
}
.alert-danger {
  background-color: #fee2e2;
  color: #dc2626
}
.alert-success {
  background-color: #dcfce7;
  color: #16a34a
}
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 73px)
}
.sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  overflow-y: auto;
  flex-shrink: 0
}
.sidebar-nav {
  padding: 20px 0
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: .2s;
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid transparent
}
.sidebar-link:hover {
  background: var(--light-gray);
  color: var(--primary-color)
}
.sidebar-link.active {
  background: linear-gradient(90deg,rgba(78,81,192,.1) 0,rgba(78,81,192,.05) 100%);
  color: var(--primary-color);
  font-weight: 600;
  border-left-color: var(--primary-color)
}
.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0
}
.sidebar-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 15px 20px
}
.sidebar-section {
  margin-top: 20px
}
.sidebar-section-title {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: .5px
}
.sidebar-sublink {
  padding-left: 52px;
  font-size: 14px;
  font-weight: 500
}
.sidebar-sublink svg {
  width: 16px;
  height: 16px
}
.dashboard-content {
  flex: 1;
  padding: 2rem 3rem;
  background: var(--light-gray);
  min-height: calc(100vh - 73px)
}
.dashboard-content h1 {
  margin-bottom: .5rem
}
.dashboard-content > p {
  color: #666;
  margin-bottom: 2rem
}
.dashboard-content .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 25px;
  margin-top: 30px
}
@media (max-width:1024px) {
  .dashboard-content {
    padding: 1.5rem 2rem
  }
}
@media (max-width:768px) {
  .dashboard-layout {
    flex-direction: column
  }
  .sidebar {
    position: fixed;
    left: -260px;
    top: 73px;
    height: calc(100vh - 73px);
    transition: left .3s;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0,0,0,.1)
  }
  .sidebar.open {
    left: 0
  }
  .dashboard-content {
    padding: 1.5rem;
    width: 100%
  }
  .sidebar-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(78,81,192,.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s
  }
  .sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(78,81,192,.5)
  }
}
@media (min-width:769px) {
  .sidebar-toggle {
    display: none
  }
}
.sidebar::-webkit-scrollbar {
  width: 6px
}
.sidebar::-webkit-scrollbar-track {
  background: 0 0
}
.sidebar::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #9ca3af
}