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

:root {
  --mc-green: #22c55e;
  --mc-green-light: #4ade80;
  --mc-green-dark: #16a34a;

  --mc-diamond: #14b8a6;
  --mc-gold: #f59e0b;
  --mc-red: #ef4444;
  --mc-stone: #d1d5db;

  --bg-main: #ffffff;
  --bg-soft: #f8fafc;

  --text-main: #1f2937;
  --text-muted: #6b7280;
}

body {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;

  background-image:
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(74, 222, 128, 0.12) 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: white;
  border-bottom: 2px solid var(--mc-green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--mc-green-dark);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu a i {
  font-size: 1rem;
  color: var(--mc-green);
}

.nav-menu a:hover {
  color: var(--mc-green);
}

.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(--mc-green);
  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(--mc-green-dark);
  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(--mc-green);
}

.dropdown-item:hover i {
  color: var(--mc-green);
}

.dropdown-divider {
  border: 0;
  border-top: 1px solid #f3f4f6;
  margin: 0.25rem 0;
}

.dropdown-item.logout {
  color: var(--mc-red);
}

.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(--mc-green);
}

.btn-register {
  background: var(--mc-green);
  color: white;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: 0.3s;
  font-size: 0.9rem;
}

.btn-register:hover {
  background: var(--mc-green-dark);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}


footer {
  background: white;
  border-top: 4px solid var(--mc-green);
  margin-top: 6rem;
  padding-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mc-green), var(--mc-green-light), var(--mc-green));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--mc-green-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
}

.footer-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--mc-green);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-soft);
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--mc-green-dark);
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--mc-green);
  color: white;
  border-color: var(--mc-green);
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-bottom {
  border-top: 2px solid #f3f4f6;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--mc-green);
}

@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(--mc-green);
  color: white;
  border: 3px solid #14532d;
  border-top-color: #86efac;
  border-left-color: #86efac;
  padding: 1rem 2rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 0 #14532d;
  transition: 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mc-btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 #14532d;
}


main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: float 4s infinite ease-in-out;
}

.hero-title span {
  color: var(--mc-green);
}

.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: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mc-card:hover {
  transform: translateY(-8px);
  border-color: var(--mc-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.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(--mc-green-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(--mc-green);
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.mc-feature {
  text-align: center;
  background: white;
  border: 2px solid #e5e7eb;
  padding: 2rem;
  border-radius: 10px;
  transition: 0.3s;
}

.mc-feature:hover {
  border-color: var(--mc-green);
  transform: scale(1.05);
}

.mc-feature i {
  font-size: 3rem;
  color: var(--mc-green);
  margin-bottom: 1rem;
}

.mc-feature p {
  color: var(--text-muted);
}


.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  border: 2px solid #e5e7eb;
  padding: 2rem;
  border-radius: 10px;
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--mc-green);
}

.review-stars {
  color: var(--mc-gold);
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--mc-green);
}

.trust-banner {
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  border: 3px solid var(--mc-green);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.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.5rem;
  color: var(--mc-green-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 900;
}

.trust-content p {
  font-size: 1.1rem;
  color: var(--text-main);
  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: white;
  padding: 1.5rem;
  border: 2px solid var(--mc-green);
  border-radius: 8px;
  min-width: 140px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trust-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--mc-green-dark);
  margin-bottom: 0.5rem;
}

.trust-stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--mc-green-dark);
  margin-bottom: 3rem;
}

.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(--mc-gold);
  color: white;
  border: 2px solid #b45309;
  padding: 0.5rem 1rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #b45309;
  border-radius: 4px;
}

.mc-btn-buy:active {
  transform: translateY(3px);
  box-shadow: 0 0px 0;
}

.mc-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--mc-red);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 900;
  border: 2.5px solid #991b1b;
  transform: rotate(-10deg);
  animation: pulse 2s infinite;
  z-index: 5;
  border-radius: 4px;
}

.mc-badge-diamond {
  background: var(--mc-diamond);
  border-color: #0d9488;
}

.mc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--bg-soft);
  padding: 0.8rem;
  border: 2px solid #e5e7eb;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.mc-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.mc-stat i {
  color: var(--mc-green);
}

.mc-stat-val {
  font-weight: bold;
}


@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(--mc-green);
  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(--mc-green-light);
  margin-bottom: 1rem;
}

.profile-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mc-green-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: #dcfce7;
  color: #16a34a;
}

.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(--mc-green-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(--mc-green);
  width: 20px;
}

.account-nav a:hover {
  background: var(--bg-soft);
  color: var(--mc-green-dark);
}

.account-nav a.active {
  background: var(--mc-green);
  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(--mc-green-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(--mc-green-light);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 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;
  }
}