* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #0ea5e9;
  --primary-light: #38bdf8;
  --primary-dark: #0284c7;
  --secondary: #f0f9ff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
}
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
  overflow-x: hidden;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.header-container {
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--primary-dark);
}
.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}
.nav-menu a {
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  min-width: 70px;
  text-align: center;
}
.nav-menu a i {
  font-size: 1.1rem;
  color: var(--primary);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--secondary);
}
.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.menu-toggle {
  display: none;
}
.user-dropdown {
  position: relative;
}
.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Outfit', sans-serif;
}
.user-dropdown-btn:hover {
  border-color: var(--primary);
  background: white;
}
.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.user-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-money {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}
.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  display: none;
  z-index: 1000;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.user-dropdown-menu.show {
  display: block;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
  font-weight: 500;
}
.dropdown-item i {
  color: var(--text-muted);
  width: 16px;
  text-align: center;
}
.dropdown-item:hover {
  background: var(--bg-soft);
  color: var(--primary);
}
.dropdown-item:hover i {
  color: var(--primary);
}
.dropdown-divider {
  border: 0;
  border-top: 1px solid #f3f4f6;
  margin: 0.25rem 0;
}
.dropdown-item.logout {
  color: var(--danger);
}
.dropdown-item.logout:hover {
  background: #fef2f2;
}
.btn-login {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: 0.3s;
}
.btn-login:hover {
  color: var(--primary);
}
.btn-register {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: 0.3s;
  font-size: 0.9rem;
}
.btn-register:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 15px rgba(14, 165, 233, 0.2);
  transform: translateY(-2px);
}
footer {
  background: var(--bg-dark);
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-section p,
.footer-section li,
.footer-section a {
  color: #94a3b8;
}
.footer-section a:hover {
  color: white;
}
.social-links a {
  background: #1e293b;
  border: 1px solid #334155;
  color: var(--primary-light);
}
.social-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 2rem 0;
}
.footer-bottom p {
  color: #64748b;
}
.footer-links a {
  color: #94a3b8;
}
.footer-links a:hover {
  color: white;
}
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
.mc-btn {
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
  text-decoration: none !important;
}
.mc-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.4);
}
.mc-btn:active {
  transform: translateY(0);
}
.mc-btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
  text-decoration: none !important;
}
.mc-btn-outline:hover {
  background: var(--secondary);
  box-shadow: none;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.hero {
  text-align: center;
  padding: 4rem 0;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.hero-title span {
  color: var(--primary);
  position: relative;
}
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}
.mc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.mc-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.mc-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid #e5e7eb;
}
.mc-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mc-card-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.mc-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.mc-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}
.mc-feature {
  background: white;
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius);
  transition: 0.3s;
}
.mc-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.mc-feature i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review-card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.review-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.review-card.hidden-review {
  display: none;
}
.review-stars {
  color: var(--warning);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
}
.review-info {
  display: flex;
  flex-direction: column;
}
.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}
.review-product {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.view-more-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
.trust-banner {
  background: linear-gradient(135deg, var(--bg-dark), #1e293b);
  color: white;
  padding: 4rem 3rem;
  border-radius: 24px;
  margin: 6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.trust-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.05), transparent);
  transform: rotate(25deg);
  pointer-events: none;
}
.trust-content {
  flex: 1;
  min-width: 300px;
  z-index: 10;
}
.trust-content h2 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
}
.trust-content p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  z-index: 10;
}
.trust-stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-width: 160px;
  backdrop-filter: blur(8px);
}
.trust-stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}
.trust-stat-label {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}
.mc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px dashed #e5e7eb;
  padding-top: 1rem;
}
.mc-btn-buy {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.2s;
  width: 100%;
  text-decoration: none !important;
}
.mc-btn-buy:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.mc-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--danger);
  color: white;
  padding: 0.4rem 1rem;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50px;
  z-index: 5;
  text-transform: uppercase;
}
.mc-badge-diamond {
  background: var(--primary);
}
.mc-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.mc-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.mc-stat i {
  color: var(--primary);
}
@media (max-width:768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .trust-banner {
    flex-direction: column;
    text-align: center;
  }
  .trust-stats {
    justify-content: center;
  }
}
.account-container {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.account-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}
.profile-card {
  background: white;
  border: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  margin-bottom: 1rem;
}
.profile-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.user-role {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: #f3f4f6;
  color: #6b7280;
}
.badge-admin {
  background: #fee2e2;
  color: #ef4444;
}
.badge-users {
  background: #e0f2fe;
  color: #0284c7;
}
.divider {
  border: 0;
  border-top: 2px dashed #f3f4f6;
  margin: 1.5rem 0;
}
.profile-stats {
  margin-bottom: 1.5rem;
}
.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.stat-item .value {
  font-weight: 800;
  font-size: 1.1rem;
}
.stat-item .text-green {
  color: var(--primary-dark);
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: 0.3s;
  text-align: left;
}
.account-nav a i {
  color: var(--primary);
  width: 20px;
}
.account-nav a:hover {
  background: var(--bg-soft);
  color: var(--primary-dark);
}
.account-nav a.active {
  background: var(--primary);
  color: white;
}
.account-nav a.active i {
  color: white;
}
.card-glass {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.account-section {
  margin-bottom: 2rem;
}
.section-header {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-soft);
  padding-bottom: 1rem;
}
.section-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.info-item .value {
  font-size: 1rem;
  font-weight: 700;
}
.password-form {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid #f3f4f6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
  }
  .info-list {
    grid-template-columns: 1fr;
  }
}