/* Premium CSS Stylesheet for Tripa Showcase */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #06090c;
  --bg-card: #0d1216;
  --bg-navbar: rgba(6, 9, 12, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #F8FAFC;
  --text-secondary: #8E9BAE;
  
  --primary: #0F3D3E;
  --primary-light: #175C5D;
  --primary-glow: rgba(15, 61, 62, 0.2);
  --sage: #8FBD90;
  
  /* Status/Badge Colors */
  --gold: #E5B25D;
  --gold-glow: rgba(229, 178, 93, 0.1);
  --blue: #4EA8DE;
  --blue-glow: rgba(78, 168, 222, 0.1);
  --green: #2EC4B6;
  --green-glow: rgba(46, 196, 182, 0.1);
  --purple: #9D4EDD;
  --purple-glow: rgba(157, 78, 221, 0.1);
  --gray: #6C757D;
  --gray-glow: rgba(108, 117, 125, 0.1);

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-main: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 10% 20%, rgba(15, 61, 62, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(143, 189, 144, 0.1) 0%, transparent 50%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: var(--transition);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-circle {
  background: linear-gradient(135deg, var(--primary), var(--sage));
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 61, 62, 0.3);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary-light);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--border-radius-md);
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(15, 61, 62, 0.2);
}

.nav-btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 15px rgba(23, 92, 93, 0.3);
}

.nav-btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  padding: 8px 18px;
  border-radius: var(--border-radius-md);
  font-weight: 600 !important;
}

.nav-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1100;
  transition: var(--transition);
}

.nav-toggle:hover {
  color: var(--sage);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--sage), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 600px;
}

@media (max-width: 992px) {
  .hero-tagline {
    margin: 0 auto 35px auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

@media (max-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary-light);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 15px rgba(23, 92, 93, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Spotlight Card */
.spotlight-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(229, 178, 93, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  position: relative;
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(229, 178, 93, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(229, 178, 93, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.spotlight-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.spotlight-pricing {
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.spotlight-pricing span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spotlight-pricing strong {
  font-size: 1.8rem;
  font-family: var(--font-display);
  color: var(--gold);
}

.spotlight-actions {
  display: flex;
  gap: 12px;
}

/* Products Section */
.products-section {
  padding: 100px 0;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--sage);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  min-height: 300px;
}

.loading-state {
  grid-column: span 3;
  text-align: center;
  padding: 80px 0;
  color: var(--text-secondary);
}

.loading-state i {
  font-size: 2.5rem;
  display: inline-block;
  animation: spin 2s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Product Card */
.product-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--sage);
  background: rgba(255,255,255,0.04);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.gold { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(229,178,93,0.3); }
.card-badge.blue { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(78,168,222,0.3); }
.card-badge.green { background: var(--green-glow); color: var(--green); border: 1px solid rgba(46,196,182,0.3); }
.card-badge.purple { background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(157,78,221,0.3); }
.card-badge.gray { background: var(--gray-glow); color: var(--gray); border: 1px solid rgba(108,117,125,0.3); }

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 8px;
}

.card-tagline {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 15px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.8rem;
}

.card-price {
  font-weight: 700;
  color: var(--text-primary);
}

.card-action-btn {
  background: transparent;
  border: none;
  color: var(--sage);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  text-align: center;
}

.about-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-card p {
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 35px auto;
}

/* Footer */
.footer {
  background: rgba(0,0,0,0.2);
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 576px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Modal Overlay Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-main);
  animation: modalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.modal-badge.gold { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(229,178,93,0.3); }
.modal-badge.blue { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(78,168,222,0.3); }
.modal-badge.green { background: var(--green-glow); color: var(--green); border: 1px solid rgba(46,196,182,0.3); }
.modal-badge.purple { background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(157,78,221,0.3); }
.modal-badge.gray { background: var(--gray-glow); color: var(--gray); border: 1px solid rgba(108,117,125,0.3); }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-tagline {
  color: var(--sage);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 25px;
}

.modal-info-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal-features-list {
  list-style: none;
  margin-bottom: 30px;
}

.modal-features-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features-list li i {
  color: var(--success);
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Responsive adjustments for smaller viewports */
@media (max-width: 768px) {
  .nav-container, .hero-container, .section-container, .about-container, .footer-container {
    padding: 0 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 30px;
    gap: 20px;
    transition: var(--transition);
    z-index: 1050;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-main);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    font-size: 1.1rem;
    padding: 8px 0;
  }

  .nav-btn-secondary, .nav-btn-primary {
    text-align: center;
    width: 100%;
    display: block;
    margin: 0;
  }

  .hero-section {
    padding: 120px 0 60px 0;
  }

  .hero-buttons, .spotlight-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn, .spotlight-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .spotlight-card {
    padding: 25px;
  }

  .about-card {
    padding: 30px 20px;
  }

  .modal-card {
    padding: 30px 20px;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
  }

  .modal-footer {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    text-align: center;
  }

  .modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .modal-actions .btn {
    width: 100%;
    margin-right: 0 !important;
    justify-content: center;
  }
}
