* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Roboto', sans-serif;
      background: #F9F9F9;
      color: #333333;
      overflow-x: hidden;
      box-sizing: border-box;
    }

    .main-wrapper {
      width: 100%;
      min-height: 100%;
      position: relative;
    }

    /* Navigation */
    nav {
      background: white;
      padding: 20px 0;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .logo {
      font-family: 'Poppins', sans-serif;
      font-size: 32px;
      font-weight: 800;
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      cursor: pointer;
    }

    .nav-links {
      display: flex;
      gap: 35px;
      list-style: none;
      align-items: center;
      flex-wrap: wrap;
    }

    .nav-links a {
      color: #333333;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s;
      position: relative;
    }

    .nav-links a:hover {
      color: #1ABC9C;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: #1ABC9C;
      transition: width 0.3s;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .auth-section {
      display: flex;
      gap: 15px;
      align-items: center;
    }

    .cart-icon-wrapper {
      position: relative;
      cursor: pointer;
      padding: 10px;
      transition: all 0.3s;
    }

    .cart-icon-wrapper:hover {
      transform: scale(1.1);
    }

    .cart-icon {
      font-size: 28px;
      color: #333333;
    }

    .cart-badge {
      position: absolute;
      top: 2px;
      right: 2px;
      background: #F39C12;
      color: white;
      border-radius: 50%;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      animation: pop 0.3s ease;
    }

    @keyframes pop {
      0% { transform: scale(0); }
      50% { transform: scale(1.2); }
      100% { transform: scale(1); }
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 16px;
    }

    .btn {
      padding: 12px 28px;
      border: none;
      border-radius: 25px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
      text-align: center;
    }

    .btn-primary {
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      color: white;
      box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
    }

    .btn-secondary {
      background: white;
      color: #1ABC9C;
      border: 2px solid #1ABC9C;
    }

    .btn-secondary:hover {
      background: #1ABC9C;
      color: white;
    }

    /* Hero Section */
    .hero {
      position: relative;
      height: 600px;
      overflow: hidden;
      background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
      width: 100%;
    }

    .hero-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-slide.active {
      opacity: 1;
    }

    .hero-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 30px;
      text-align: center;
      color: white;
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-family: 'Poppins', sans-serif;
      font-size: 64px;
      font-weight: 800;
      margin-bottom: 20px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .hero p {
      font-size: 24px;
      margin-bottom: 40px;
      opacity: 0.95;
    }

    .hero-cta {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .floating-tag {
      position: absolute;
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }

    /* Sections */
    section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 80px 30px;
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-header h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #333333;
    }

    .section-header p {
      font-size: 18px;
      color: #666;
    }

    /* Product Cards */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 30px;
    }

    .product-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      transition: all 0.3s;
      cursor: pointer;
      position: relative;
    }

    .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

    .product-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
      background-size: cover;
      background-position: center;
    }

    .discount-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: #F39C12;
      color: white;
      padding: 8px 15px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 14px;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .product-info {
      padding: 20px;
    }

    .product-title {
      font-family: 'Poppins', sans-serif;
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
      color: #333333;
    }

    .product-description {
      font-size: 14px;
      color: #666;
      margin-bottom: 15px;
      line-height: 1.5;
    }

    .price-section {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }

    .old-price {
      text-decoration: line-through;
      color: #999;
      font-size: 16px;
    }

    .new-price {
      font-size: 28px;
      font-weight: 700;
      color: #1ABC9C;
    }

    .card-actions {
      display: flex;
      gap: 10px;
    }

    .btn-small {
      padding: 10px 20px;
      font-size: 14px;
      flex: 1;
    }

    /* Categories */
    .category-scroll {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding: 20px 0;
      scrollbar-width: thin;
      scrollbar-color: #1ABC9C #f0f0f0;
    }

    .category-card {
      min-width: 200px;
      height: 150px;
      border-radius: 15px;
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-family: 'Poppins', sans-serif;
      font-size: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
    }

    .category-card:hover {
      transform: scale(1.05) rotateY(5deg);
      box-shadow: 0 8px 25px rgba(26, 188, 156, 0.4);
    }

    /* How It Works */
    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      margin-top: 40px;
    }

    .step {
      text-align: center;
      padding: 40px 30px;
      background: white;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      transition: all 0.3s;
    }

    .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

    .step-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 20px;
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      color: white;
    }

    .step h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 24px;
      margin-bottom: 15px;
      color: #333333;
    }

    .step p {
      color: #666;
      line-height: 1.6;
    }

    /* Testimonials */
    .testimonial-carousel {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
    }

    .testimonial-card {
      background: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      text-align: center;
      display: none;
    }

    .testimonial-card.active {
      display: block;
      animation: fadeIn 0.5s;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .testimonial-avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      margin: 0 auto 20px;
      background: linear-gradient(135deg, #1ABC9C, #16A085);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 32px;
      font-weight: 700;
    }

    .testimonial-text {
      font-size: 18px;
      color: #666;
      line-height: 1.8;
      margin-bottom: 20px;
      font-style: italic;
    }

    .testimonial-author {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 20px;
      color: #333333;
    }

    .testimonial-rating {
      color: #F39C12;
      font-size: 20px;
      margin-top: 10px;
    }

    .carousel-controls {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
    }

    .carousel-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
      transition: all 0.3s;
    }

    .carousel-dot.active {
      background: #1ABC9C;
      width: 30px;
      border-radius: 6px;
    }

    /* Newsletter */
    .newsletter {
      background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
      padding: 80px 30px;
      text-align: center;
      color: white;
      width: 100%;
    }

    .newsletter h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 42px;
      margin-bottom: 15px;
    }

    .newsletter p {
      font-size: 18px;
      margin-bottom: 30px;
      opacity: 0.95;
    }

    .newsletter-form {
      max-width: 600px;
      margin: 0 auto;
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .newsletter-input {
      flex: 1;
      min-width: 250px;
      padding: 15px 25px;
      border: none;
      border-radius: 25px;
      font-size: 16px;
    }

    .newsletter-message {
      width: 100%;
      text-align: center;
      margin-top: 15px;
      padding: 10px;
      border-radius: 10px;
      display: none;
    }

    .newsletter-message.success {
      background: rgba(255, 255, 255, 0.2);
      color: white;
    }

    /* Footer */
    footer {
      background: #2C3E50;
      color: white;
      padding: 60px 30px 30px;
      width: 100%;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-section h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 20px;
      margin-bottom: 20px;
      color: #1ABC9C;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section li {
      margin-bottom: 12px;
    }

    .footer-section a {
      color: #ddd;
      text-decoration: none;
      transition: all 0.3s;
    }

    .footer-section a:hover {
      color: #1ABC9C;
      padding-left: 5px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }

    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s;
    }

    .social-icon:hover {
      background: #1ABC9C;
      transform: translateY(-3px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #bbb;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: white;
      border-radius: 20px;
      max-width: 500px;
      width: 100%;
      max-height: 90%;
      overflow-y: auto;
      position: relative;
      animation: slideIn 0.3s;
    }

    @keyframes slideIn {
      from { transform: translateY(-50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .modal-header {
      padding: 30px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h2 {
      font-family: 'Poppins', sans-serif;
      color: #333333;
    }

    .close-modal {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background: #f0f0f0;
      border: none;
      cursor: pointer;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    .close-modal:hover {
      background: #1ABC9C;
      color: white;
    }

    .modal-body {
      padding: 30px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: #333333;
    }

    .form-group input {
      width: 100%;
      padding: 12px 20px;
      border: 2px solid #eee;
      border-radius: 10px;
      font-size: 16px;
      transition: all 0.3s;
    }

    .form-group input:focus {
      outline: none;
      border-color: #1ABC9C;
    }

    .form-toggle {
      text-align: center;
      margin-top: 20px;
      color: #666;
    }

    .form-toggle a {
      color: #1ABC9C;
      text-decoration: none;
      font-weight: 600;
      cursor: pointer;
    }

    .form-toggle a:hover {
      text-decoration: underline;
    }

    /* Product Detail Modal */
    .product-detail {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: start;
    }

    .product-detail-image {
      width: 100%;
      border-radius: 15px;
      background: #f0f0f0;
    }

    .product-detail-info h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 32px;
      margin-bottom: 15px;
      color: #333333;
    }

    .product-detail-description {
      color: #666;
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .product-features {
      background: #f9f9f9;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
    }

    .product-features h4 {
      font-family: 'Poppins', sans-serif;
      margin-bottom: 15px;
      color: #333333;
    }

    .product-features ul {
      list-style: none;
      padding-left: 0;
    }

    .product-features li {
      padding: 8px 0;
      color: #666;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .product-features li:before {
      content: '✓';
      color: #1ABC9C;
      font-weight: bold;
      font-size: 18px;
    }

    /* Policy Pages */
    .policy-content {
      background: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      line-height: 1.8;
      max-width: 1000px;
      margin: 0 auto;
    }

    .policy-content h1 {
      font-family: 'Poppins', sans-serif;
      font-size: 42px;
      margin-bottom: 30px;
      color: #333333;
    }

    .policy-content h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 28px;
      margin: 30px 0 15px;
      color: #1ABC9C;
    }

    .policy-content h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 22px;
      margin: 25px 0 12px;
      color: #333333;
    }

    .policy-content p {
      margin-bottom: 15px;
      color: #666;
    }

    .policy-content ul, .policy-content ol {
      margin: 15px 0;
      padding-left: 30px;
      color: #666;
    }

    .policy-content li {
      margin-bottom: 10px;
    }

    .policy-highlight {
      background: #f0f9f7;
      border-left: 4px solid #1ABC9C;
      padding: 20px;
      margin: 20px 0;
      border-radius: 5px;
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #1ABC9C;
      text-decoration: none;
      font-weight: 600;
      margin-bottom: 30px;
      transition: all 0.3s;
    }

    .back-link:hover {
      gap: 12px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 36px;
      }

      .hero p {
        font-size: 18px;
      }

      .section-header h2 {
        font-size: 32px;
      }

      .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      }

      .product-detail {
        grid-template-columns: 1fr;
      }

      .nav-links {
        display: none;
      }

      .policy-content {
        padding: 25px;
      }

      .policy-content h1 {
        font-size: 32px;
      }
    }

    /* Loading Animation */
    .loading {
      text-align: center;
      padding: 40px;
      color: #1ABC9C;
      font-size: 18px;
    }

    /* Cart Modal */
    .cart-modal-content {
      max-height: 80%;
      overflow-y: auto;
    }

    .cart-items-list {
      max-height: 400px;
      overflow-y: auto;
      margin-bottom: 20px;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 80px 1fr auto;
      gap: 15px;
      padding: 20px;
      background: #f9f9f9;
      border-radius: 10px;
      margin-bottom: 15px;
      align-items: center;
      transition: all 0.3s;
    }

    .cart-item:hover {
      background: #f0f0f0;
    }

    .cart-item-image {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
      border-radius: 8px;
    }

    .cart-item-details h4 {
      font-family: 'Poppins', sans-serif;
      font-size: 16px;
      margin-bottom: 5px;
      color: #333333;
    }

    .cart-item-details p {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
    }

    .cart-item-price {
      font-size: 18px;
      font-weight: 700;
      color: #1ABC9C;
    }

    .cart-item-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-end;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 10px;
      background: white;
      padding: 5px 10px;
      border-radius: 20px;
      border: 2px solid #eee;
    }

    .quantity-btn {
      width: 28px;
      height: 28px;
      border: none;
      background: #1ABC9C;
      color: white;
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    .quantity-btn:hover {
      background: #16A085;
      transform: scale(1.1);
    }

    .quantity-display {
      min-width: 30px;
      text-align: center;
      font-weight: 600;
      color: #333333;
    }

    .remove-item-btn {
      background: #e74c3c;
      color: white;
      border: none;
      padding: 6px 12px;
      border-radius: 15px;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .remove-item-btn:hover {
      background: #c0392b;
    }

    .cart-summary {
      background: #f9f9f9;
      padding: 20px;
      border-radius: 10px;
      margin-top: 20px;
    }

    .cart-summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-size: 16px;
    }

    .cart-summary-row.total {
      font-size: 20px;
      font-weight: 700;
      color: #1ABC9C;
      padding-top: 12px;
      border-top: 2px solid #ddd;
    }

    .empty-cart {
      text-align: center;
      padding: 60px 20px;
      color: #999;
    }

    .empty-cart-icon {
      font-size: 80px;
      margin-bottom: 20px;
    }

    .empty-cart h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 24px;
      margin-bottom: 10px;
      color: #666;
    }

    .empty-cart p {
      font-size: 16px;
      margin-bottom: 25px;
    }

    .cart-actions {
      display: flex;
      gap: 15px;
      margin-top: 25px;
    }

    .added-to-cart-notification {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: white;
      padding: 20px 25px;
      border-radius: 15px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      gap: 15px;
      z-index: 3000;
      animation: slideInRight 0.4s ease, slideOutRight 0.4s ease 2.6s;
      pointer-events: none;
    }

    @keyframes slideInRight {
      from {
        transform: translateX(400px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideOutRight {
      from {
        transform: translateX(0);
        opacity: 1;
      }
      to {
        transform: translateX(400px);
        opacity: 0;
      }
    }

    .notification-icon {
      font-size: 32px;
    }

    .notification-text h4 {
      font-family: 'Poppins', sans-serif;
      font-size: 16px;
      margin-bottom: 3px;
      color: #333333;
    }

    .notification-text p {
      font-size: 14px;
      color: #666;
    }

    /* Page Container */
    .page-container {
      display: none;
    }

    .page-container.active {
      display: block;
    }
