/* =============================================
   CUSTOM CSS - CG Marketplace Website
   Bootstrap 5 + Montserrat Font Family
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
/* Color Palette */

--brandSecondary: #2175ff;
--brandTertiary: #31b082;
--backgroundBackground: #000000;
--brandPrimary: #ffffff;
--brandSecondaryVarient: #5394ff;
--borderColorBorder: #12121228;
--borderColorBorderVeriant2:  rgba(255, 255, 255, 0.151);
--backgroundSurfaceHigh: #151515;
--disableOnDisable: #aeaeae;
--disableDisable: #dcdcdc;
--iconColorLow: #ffffff;
--brandPrimaryVariant: #b6b6b9;
--brandPrimaryVariant2: #282828;
--brandSecondaryVariant2: #b7d2ff;
--brandTertiaryVariant: #46d29f;
--brandTertiaryVariant2: #126c4b;
--statusWarningWarningContainer: #ffd596;
--statusWarningWarning: #ffbe5b;
--statusSuccessSuccess: #85db39;
--statusErrorErrorContainer: #ffc8c8;
--statusSuccessSuccessContainer: #b9ff7c;
--statusErrorError: #da3939;
--statusErrorOnError: #f14e4e;
--statusErrorOnErrorContainer: #151515;
--statusSuccessOnSuccess: #85db39;
--statusSuccessOnSuccessContainer: #b9ff7c;
--statusWarningOnWarning: #ffbe5b;
--statusWarningOnWarningContainer: #ffd596;
--backgroundSurfaceLow: #f5f5f5;
--textColorLow: #646468;
--textColorLowest: #131010;
--backgroundSurfaceLowest: #ffffff;
--textColorHigh: #b6b6b9;
--iconColorLowest: #121212;
--iconColorHighest: #31b082;
--backgroundSurfaceHighest: #000000;
--textColorHighest: #ffffff;
--brandPrimaryVariant3: #121212;
--borderColorBorderVeriant3: #ffffff7c;
--iconColorHigh: #2175ff;
--fixed: #121212;
    
/* Font Family */
--font-family-main: 'Montserrat', sans-serif !important;

/* Font Sizes */
--font-size-h1: 56px;
--font-size-h2: 40px;
--font-size-h3: 36px;
--font-size-h4: 24px;
--font-size-body-xl: 20px;
--font-size-body-l: 18px;
--font-size-body-m: 16px;
--font-size-body-s: 14px;

/* Font Weights */
--font-weight-bold: 700;
--font-weight-semi-bold: 600;
--font-weight-medium: 500;
--font-weight-regular: 400;

/* Line Heights */
--line-height-tight: 1;
--line-height-normal: 1.5;
--line-height-relaxed: 1.75;
--line-height-semi-tight: 1.25;

/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--spacing-2xl: 48px;
--spacing-3xl: 58px;
--spacing-4xl: 78px

/* Border Radius */
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 16px;
--border-radius-full: 400px;

/* Transitions */
--transition-fast: 200ms bounce-in-out;
--transition-smooth: 300ms ease-in-out;
}

/* =============================================
   GLOBAL STYLES
   ============================================= */

* {
    font-family: var(--font-family-main);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: var(--backgroundBackground);
    color: var(--backgroundSurfaceLowest);
    line-height: var(--line-height-normal);
}

/* =============================================
   TYPOGRAPHY STYLES
   ============================================= */

/* Headings */
h1, .h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.2px;
    margin-bottom: var(--spacing-lg);
}

h2, .h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.15px;
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h5, .h5 {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h6, .h6 {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

/* Body Text */
p {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-md);
}

p.lead {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-relaxed);
}

small, .small {
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

/* Text Colors & Variants */
.text-gradient {
    background: linear-gradient(90deg, #31b082 26.923%, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

hr {background-color: transparent;}

.text-accent-green {
    color: var(--brandTertiaryVariant);
}

.text-accent-blue {
    color: var(--color-accent-blue);
}

.text-muted {
    color: var(--color-text-high);
}

.detail-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.684px;
    line-height: 1.26;
    color: var(--textColorHighest);
}


/* =============================================
   BUTTON STYLES
   ============================================= */

.btn {
    font-family: var(--font-family-main);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body-m);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-full);
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

/* Primary Button */
.btn-primary {
    padding: 22px 28px;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandPrimary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: absolute;
    transition: transform var(--transition-fast);
    z-index: 1;
}

/* Button Instance Behind Primary */
.btn-instance {
    padding: 22px 28px;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandTertiary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: relative;
    pointer-events: none;
}

.button-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

@keyframes Button_primaryText__PSGPD {
    0% {
        transform: translateY(0)
    }

    25% {
        transform: translateY(-17px)
    }

    40% {
        transform: translateY(-15px)
    }

    55% {
        transform: translateY(-17px)
    }

    to {
        transform: translateY(-12px)
    }
}

.btn-primary:hover {
    animation: Button_primaryText__PSGPD var(--transition-smooth) forwards;
}

.btn-primary:focus{
   background-color: var(--brandTertiary) !important;
  color: var(--textColorLowest) !important;
  outline: none  !important;
  box-shadow: var(--brandTertiary)  !important; 
}

.btn-primary:disabled {
    background-color: var(--color-text-high);
    border-color: var(--color-text-high);
    color: var(--color-dark-bg);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Secondary Button - Outline Dark */
.btn-outline-dark, .btn-outline-dark:hover {
    padding: 22px 28px;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandPrimary);
    color: var(--brandPrimaryVariant3);
    border: 1px solid var(--brandPrimaryVariant3);
}

/* --- Subsection: Button Styles for Purchases Page --- */
.btn-outline-secondary {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--brandPrimary);
    text-decoration: none;
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    padding: 9px 24px;
    border-radius: 60px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-secondary:hover {
    background-color: var(--backgroundSurfaceHigh);
    border-color: var(--brandTertiaryVariant);
    color: var(--brandTertiaryVariant);
}

.link-action {
    color: var(--brandTertiary);
    text-decoration: none;
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 24px;
}

.link-action:hover {
    color: var(--brandTertiaryVariant);
}

.link-action--danger {
  background: transparent;
  border: none;
  color: var(--statusErrorError); /* red */
}

.link-action--danger:hover {
  background: transparent;
  border: none;
  color: var(--statusErrorOnError) !important; /* light red */
}

.btn-release-notes {
    background-color: var(--brandPrimaryVariant2);
    border: 1px solid rgba(18, 18, 18, 0.16);
    color: var(--textColorHighest);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    line-height: 19px;
}

.btn-release-notes:hover {
    background-color: rgba(40, 40, 40, 0.8);
    border-color: rgba(18, 18, 18, 0.24);
    color: var(--textColorHighest);
}


/* --- Subsection: Button Styles for icon button --- */
 .btn-icon {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body-l);
    background:var(--brandPrimary);
  color: var(--textColorLowest);
  border-radius: 40px;
  font-weight: 500;
  gap: 12px;
}

.btn-icon .cart-icon {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

/* --- Subsection: Button Styles for popup --- */

.popup-btn{
  position: static;
  margin: 20px auto 0;
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body-l);
    background:var(--brandPrimary);
  color: var(--textColorLowest);
  border-radius: 40px;
  font-weight: 500;
}

.auth-popup-backdrop {
    position: fixed; 
    inset:0; background:
    rgba(0,0,0,.7); z-index: 2000; 
    display: flex; align-items: center; 
    justify-content: center; 
    padding: 1rem;
}

.auth-popup {
    background: var(--backgroundSurfaceHigh); 
    border-radius: var(--border-radius-lg); 
    width: min(510px,100%); 
    color: var(--brandPrimary)
    box-shadow 0 15px 45px rgba(0,0,0,.4);
    padding:var(--spacing-xl);
    position: relative;
}

.auth-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.popup-subtitle {
    color: var(--brandTertiary);
    margin: 8px 0 0; 
    font-size:1.1rem; 
    font-weight:var(--font-weight-medium);
    text-align: center;
}
.popup-desc {
    margin:.35rem 0 0; 
    color:#d3d3d3; 
    font-size:.9rem; 
    line-height:1.45;
    text-align: center;
}

.auth-input {
    width:100%; 
    border-radius:12px; 
    border:1px solid #333; 
    background:#111; 
    color:#fff; 
    padding:.75rem .85rem; 
    margin-top:.65rem; 
    font-size:1rem;
}
.auth-btn {
    width:fit-content; 
    display:block; 
    margin:1rem 0 0 auto; 
    border-radius:999px; 
    border:none; 
    background:#00e3aa; 
    color:#0a0a0a; 
    font-weight:700; 
    padding:.65rem 1.4rem; 
    min-width:120px; 
    font-size:1rem; 
    cursor:pointer; 
    align-self:flex-end;
}
.auth-mode-row {
    display:flex; 
    justify-content:flex-start; 
    margin-top:.35rem;
}

.auth-mode-pill {
    background:#1c1c1c; 
    border:1px solid #2a2a2a; 
    color:#fff; border-radius:999px; 
    padding:.35rem .9rem; font-size:.8rem; 
    cursor:pointer; 
    font-weight:600;
}

.auth-mode-pill.active {
    background:#00e3aa; 
    border-color:#00e3aa; 
    color:#101010;
}

.popup-close-btn {
   position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
}

.auth-input + .auth-input {
    margin-top:.8rem;
}
.auth-popup-inner {
    display:flex; 
    flex-direction:column; 
    align-items:stretch;
}
.auth-popup-check {
    font-size: var(--font-size-body-s);
    color: var(--textColorHigh);
    margin-top: .2rem;
}

.auth-popup-check span {
  display: inline;
}

.d-none {
    display:none!important;
}

/* --- Subsection:dropdown --- */
.profile-dropdown {
    position:absolute; 
    right:0; top:calc(100% + 6px); 
    background: var(--backgroundSurfaceHigh); 
    border:1px solid var(--borderColorBorderVeriant2); 
    border-radius:var(--border-radius-md); width:180px; 
    box-shadow:0 4px 14px rgba(0,0,0,.35); 
    z-index:2500;
}

.profile-dropdown .dropdown-item {
    display:block; 
    width:100%; 
    text-align:left; 
    padding:var(--spacing-md); 
    background:transparent; 
    border:var(--border-radius-md);
    color: var(--textColorHighest);
    font-size: var(--font-size-body-m); 
    text-decoration:none; 
    cursor:pointer;
}

.profile-dropdown .dropdown-item:hover {
    background: var(--backgroundSurfaceHighest);
    color: var(--brandTertiaryVariant);
}

/* --- Subsection: popup classes used in order details --- */

.popup-section-title {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 10px;
  color: var(--brandSecondaryVarient);
  font-size: var(--font-size-body-l);
  text-align: left;
}

.popup-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.popup-field {
  display: flex;
  flex-direction: column;
}

.popup-label {
  color: var(--textColorHigh);
  font-size: var(--font-size-body-m);
}

.popup-value {
  color: var(--textColorHighest);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body-m);
}

/* --- Subsection: popup classes used in release notes --- */
.popup-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.popup-updated {
  margin-top: 6px;
  margin-bottom: 14px;
}

.text-blue {
  color: #4da3ff;
}

.popup-section-title {
  width: 100%;
  text-align: left;
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.popup-list {
  width: 100%;
  list-style: none;
  padding-left: 0;
}

.popup-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.popup-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #00e3aa;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* =============================================
    BREADCRUMBS STYLES
   ============================================= */

.Breadcrumb-container {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}


.breadcrumbs-wrapper {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    gap: 7px;
    align-items: center;
}

.breadcrumb-text1 {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    color: var(--disableDisable);
    white-space: nowrap;
    cursor:pointer;
    text-decoration: none;
}

.breadcrumb-text1:hover {
    color: var(--brandTertiary);
}

.breadcrumb-text2 {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    color: var(--brandPrimary);
    white-space: nowrap;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    color: var(--disableOnDisable);
    display: inline-flex;
    align-items: center;
    justify-content: center;

}


/* =============================================
   NAVIGATION STYLES
   ============================================= */

.navbar {
    background-color: var(--backgroundSurfaceHighest);
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    color: var(--color-primary-white) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-high) !important;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brandTertiary) !important;
}



.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Overview Section Helpers */

.overview-screenshots img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    width: 100%;
}

/* =============================================
   HERO SECTION STYLES
   ============================================= */

.hero-section {
    background-color: var(--color-dark-bg);
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/pattern-back.png), 
        radial-gradient(circle at 30% 50%, rgba(49, 176, 130, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(33, 117, 255, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-3xl);
    color: var(--textColorHighest);
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {

    max-width: 1281px;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    color: var(--backgroundSurfaceLow);
    max-width: 569px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.198px;
}

.hero-decor-left {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 600px;
    background: linear-gradient(90deg, var(--backgroundSurfaceHighest), transparent);
    height: 100%;
}

.hero-decor-right {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 600px;
    background: linear-gradient(90deg, transparent,  var(--backgroundSurfaceHighest));
    height: 100%;

}

/* =============================================
   SEARCH BAR STYLES
   ============================================= */

.search-bar {
    position: relative;
    width: 100%;
    max-width: 597px;
}

.search-input {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    padding-left: 5px;
    font-size: var(--font-size-body-xl);
    font-weight: var(--font-weight-medium);
    background-color: var(--backgroundSurfaceHighest) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.253) !important;
    color: var(--textColorHigh) !important;
    transition: background-color 9999s ease, color var(--transition-smooth);
    border: 0px;
    border-radius: 0 !important;
    outline: none;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: var(--textColorHigh);
}

.search-input:focus {
    outline: none;
    background-color: var(--backgroundSurfaceHighest) !important;
    box-shadow: none !important;
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--textColorHigh) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHighest) inset !important;
    box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHighest) inset !important;
    caret-color: var(--textColorHigh);
}

/* =============================================
   TEMPLATE CARD STYLES
   ============================================= */
img.search-icon {
    position: absolute;
    right: 0;
    top: 25px;
}

.template-title {
            font-weight: 500;
            margin-bottom: 58px;
            letter-spacing: -0.684px;
            line-height: 1.26;
        }

.templates-section  {
    background-color: var(--backgroundSurfaceHighest);
    padding: var(--spacing-2xl) 0px;
}

.darkgrey-background{
        background-color: var(--backgroundSurfaceHigh);
        padding: var(--spacing-3xl) 0;
}

 .template-card  {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}


/*.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-blue);
} */

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 416 / 308;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 3;
}

.template-card:hover .card-overlay {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.template-card:hover .card-image {
    transform: scale(1.05);
}

.btn-view-card {
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    background-color: transparent;
    color: var(--brandSecondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-view-card:hover {
    color: var(--brandPrimary);
}

.badge-new {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--brandSecondary);
    color: var(--color-primary-white);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    z-index: 2;
}

.card-body {
    padding: var(--spacing-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-semi-bold);
    color: var(--color-primary-white);
    margin: 0;
    flex: 1;
    min-height: 60px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.price-current {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    color: var(--brandTertiaryVariant);
}

.price-original {
    font-size: var(--font-size-body-xl);
    color: var(--color-text-high);
    text-decoration: line-through;
}

.divider {
    border: none;
    border-top: 1px solid var(--borderColorBorderVeriant3) !important;
    margin: var(--spacing-sm) 0;
}

.card-category {
    font-size: var(--font-size-body-s);
    color: var(--textColorHigh);
    margin: 0;
    font-weight: var(--font-weight-medium);
}

/* =============================================
   SECTION STYLES
   ============================================= */

.support-link {
    color: var(--brandTertiary);
    text-align: none;
    text-decoration: none !important;
}

.support-link:hover{
    color:var(--brandTertiaryVariant2);
}

h1.section-title, h2.section-title, h3.section-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: -0.2px;
  margin-bottom: var(--spacing-2xl);
}

.section-title.text-light {
  color: var(--textColorHighest);
}

.section-title.text-dark {
  color: var(--textColorLowest);
}

.section-description {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorLowest);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.section-description2 {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorLow);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

/* Support Section */
.support-section {
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLowest);
    padding: 70px 0;
     padding-left: 10px;
}

.support-section h1.section-title,
.support-section h2.section-title,
.support-section h3.section-title {
  font-weight: var(--font-weight-semi-bold) !important;
}


/* FAQ Section */
.faq-section {
            background-color: var(--backgroundSurfaceHighest);
            padding: 70px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 650px;
        }

        .faq-inner-container {
            padding: 40px 113px;
            max-width: 1316px;
            width: 100%;
        }

        .faq-container {
            max-width: 1110px;
            margin: 0 auto;
            min-height: 450px;
        }



        .faq-wrapper {
            display: flex;
            gap: 73px;
            align-items: flex-start;
        }

        /* Vertical Tabs Navigation */
        .faq-tabs {
            display: flex;
            flex-direction: column;
            min-width: 210px;
            padding: 22px 0;
            border: none;
            background: transparent;
            gap: 24px;
        }

        .nav { 
            flex-direction: column;
            border-right: 1px solid rgba(255, 255, 255, 0.10);
            max-width: 250px;
            width: 250px;
        }

        .nav-pills .nav-link {
            color: var(--text-highest);
            padding: 20px 30px;
            border-radius: 4px;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 11px;
            font-size: 18px;
            font-weight: 600;
            min-height: 58px;
            border: none !important;
            position: relative;
            transition: all 0.3s ease;
            outline: none !important;
            box-shadow: none !important;
        }

        .nav-pills .nav-link:focus {
            outline: none !important;
            box-shadow: none !important;
            background-color: transparent !important;
        }

        .nav-pills .nav-link:not(.active) {
            background-color: transparent;
            color: var(--text-highest);
        }

        .nav-pills .nav-link.active {
            background-color: transparent;
            color: #31b082;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        /* Toggle icon visibility for active/inactive state with smooth opacity transition */
        .nav-pills .nav-link .icon-active {
            position: absolute;
            left: 30px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            width: 24px;
            height: 24px;
        }

        .nav-pills .nav-link .icon-default {
            position: relative;
            opacity: 1;
            pointer-events: auto;
            transition: opacity 0.3s ease;
            width: 24px;
            height: 24px;
        }

        .nav-pills .nav-link.active .icon-active {
            opacity: 1;
            pointer-events: auto;
        }

        .nav-pills .nav-link.active .icon-default {
            opacity: 0;
            pointer-events: none;
        }

        /* Vertical line indicator for active tab */
        .nav-pills .nav-link.active::after {
            content: "";
            position: absolute;
            right: -2px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 50px;
            background-color: var(--bs-primary);
            border-radius: 4px;
        }

        .nav-link-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Accordion Styling */
        .faq-questions {
            flex: 1;
            min-width: 0;
        }

        .accordion {
            border: none;
        
        }

        .accordion-item {
            background-color: transparent;
            border: none;
            margin-bottom: 12px;
            margin-top: 0px;
        }

        .accordion-button {
            background-color: transparent;
            color: var(--text-highest);
            border: none;
            padding: 32px 0px;
            padding-bottom: 16px;
            font-size: var(--font-size-body-xl);
            font-weight: 500;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: none;
            position: relative;
            margin-bottom: 0;
        
        }

        .accordion-button:not(.collapsed) {
            background-color: transparent;
            box-shadow: none;
            color: var(--text-highest);
        }

        .accordion-button:focus {
            border-color: transparent;
            outline: none;
            box-shadow: none;
        }

        .accordion-button::after {
            content: "";
            width: 24px;
            height: 24px;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-size: 24px 24px;
            background-position: center;
            width: 1.25rem;
            height: 1.25rem;
            margin-left: auto;
            flex-shrink: 0;
        }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e");
        }

        .accordion-body {
            padding: 0;
            color: var(--textColorHigh);
            font-size: var(--font-size-body-l);
            font-weight: 500;
            line-height: 30px;
            margin-bottom: 0px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .faq-wrapper {
                flex-direction: column;
                gap: 32px;
            }

            .faq-tabs {
                flex-direction: row;
                min-width: auto;
                gap: 12px;
                overflow-x: auto;
                padding-bottom: 12px;
            }

            .nav-pills .nav-link {
                padding: 12px 20px;
                min-height: auto;
                font-size: 14px;
            }

            .nav-pills .nav-link.active::after {
                display: none;
            }

            .nav-pills .nav-link.active {
                border-bottom: 3px solid var(--bs-primary);
            }

            .faq-inner-container {
                padding: 40px 20px;
            }

            .faq-title {
                font-size: 28px;
                margin-bottom: 32px;
            }
        }


/*---------------- CTA Section ----------------*/
.cta-section {
    background: var(--backgroundSurfaceLowest);
    min-height: 400px;
    padding: 70px 0;
}

/* =============================================
   FOOTER STYLES
   ============================================= */

.footer-section {
    background-color: var(--backgroundSurfaceHighest, #000);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 70px !important;
    padding-bottom: 69px !important;
    color: var(--color-primary-white);
}

.footer-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: var(--spacing-2xl);
    color: var(--color-primary-white);
}

.footer-subtitle {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-white);
    margin-bottom: var(--spacing-lg);
}

.footer-contact {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: var(--brandPrimaryVariant);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.footer-link:hover {
    color: var(--brandTertiaryVariant);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-links li a {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    color: var(--brandPrimaryVariant);
    transition: color var(--transition-fast);
}

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

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin: var(--spacing-2xl) 0 var(--spacing-xl) 0;
}

.footer-copyright {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-regular);
    color: var(--brandPrimary);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--brandPrimary);
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    color: var(--brandTertiary);
    transform: translateY(-3px);
}


/* =============================================
   PAGE: TERMS OF USE
   ============================================= */

.terms-section {
    background-color: var(--backgroundSurfaceHighest);
    padding: 48px 0 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.terms-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.terms-title-accent {
  color: var(--brandSecondary);
}

.terms-heading{
    font-size: var(--font-size-h4);
    color: var(--textColorHighest);
}

.terms-description {
 font-size: var(--font-size-body-l);
 color:var(--textColorHigh);
 font-size: var(--font-weight-medium);
 margin-bottom: 12px;
}


/* =============================================
   PAGE: CONTACT PAGE
   ============================================= */

/* --- Section: Breadcrumb Navigation --- */
.breadcrumb-contact {
    background-color: var(--backgroundSurfaceHighest);
    padding-top: 48px;
    margin-top: 100px;
}

.breadcrumb-link {
    color: var(--textColorHigh);
    text-decoration: none;
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
}

.breadcrumb-link:hover {
    color: var(--brandTertiary);
}

.breadcrumb-separator {
    color: var(--textColorHigh);
    margin: 0 var(--spacing-sm);
    font-weight: var(--font-weight-medium);
}

.breadcrumb-current {
    color: var(--textColorHighest);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
}

/* --- Section: Contact Section --- */
.contact-section {
    background-color: var(--backgroundSurfaceHighest);
    padding: 58px 0 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.contact-left {
    padding-right: var(--spacing-3xl);
}

.contact-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Subsection: Contact Title & Description --- */
.contact-title{
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.contact-title-accent {
    color: var(--brandSecondary);
}

.contact-description {
    font-size: var(--font-size-body-l);
    color: var(--textColorHighest);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.contact-info-text {
    font-size: var(--font-size-body-l);
    color: var(--textColorHighest);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
}

.contact-email-link {
    color: var(--brandTertiary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
}

.contact-email-link:hover {
    color: var(--brandTertiaryVariant);
}

.contact-illustration {
    width: 100%;
    max-width: 500px;
    margin-top: var(--spacing-2xl);
}

.contact-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Subsection: Contact Form --- */
.contact-form-wrapper {
    background-color: var(--backgroundSurfaceLowest);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: 0;
}

.contact-form-label {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    color: var(--textColorLowest);
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
}

.input-icon img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.contact-form-input {
    padding-left: 45px;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 45px;
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLow);
    transition: all var(--transition-smooth);
    font-family: var(--font-family-main);
}

.contact-form-input::placeholder {
    color: var(--textColorLow);
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--brandTertiary);
    background-color: var(--backgroundSurfaceLowest);
    box-shadow: 0 0 0 3px rgba(33, 117, 255, 0.1);
}

.contact-form-input:disabled {
    background-color: var(--backgroundSurfaceHigh);
    color: var(--disableOnDisable);
    cursor: not-allowed;
}

.contact-form-textarea {
    resize: none;
    padding-left: var(--spacing-md) !important;
    padding-top: var(--spacing-md) !important;
    min-height: 140px;
}

.contact-form-textarea::placeholder {
    color: var(--textColorLow);
}

.contact-reply-notice {
    font-size: var(--font-size-body-m);
    color: var(--brandSecondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    margin-top: 0;
}

.contact-form-input-dark {
     background: var(--backgroundSurfaceHighest);
     border: 1px solid var(--backgroundSurfaceHighest);
     color: var(--brandPrimaryVariant);
}

/* --- Subsection: Contact Submit Button --- */
.btn-contact-submit {
    padding: 18px 36px;
    border-radius: 64px;
    font-weight: var(--font-weight-semi-bold);
    font-size: var(--font-size-body-m);
    border: 2px solid var(--textColorLowest);
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLowest);
    transition: all var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    align-self: center;
    margin-top: var(--spacing-md);
}

.btn-contact-submit:hover {
    background-color: var(--textColorLowest);
    color: var(--backgroundSurfaceLowest);
    border-color: var(--textColorLowest);
}

.btn-contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */


/* =============================================
   PRODUCT template PAGE STYLES
   ============================================= */
/* Sticky right column info */
.template-info {
    position: sticky;
    top: 100px; /* adjust if navbar height changes */
    z-index: 10;
    padding-left: 24px;
    background-color: var(--backgroundSurfaceHighest);
}

.template-details-page {
  padding-top: 70px;
}

.template-details-page .breadcrumb-item {
  margin-top: 40px;
  margin-bottom: 40px;
}

.template-details-page .button-wrapper {
  position: relative;
  display: inline-block;
}

.template-details-page .button-wrapper .btn-primary {
  position: absolute;
  top: 8px;
  left: -8px;
}

.template-details-page .button-wrapper .btn-instance {
  position: relative;
  top: 8px;
  left: -8px;
}

.template-info .section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.684px;
    line-height: var(--line-height-semi-tight);
    color: var(--textColorHighest);
}   


.template-details-page .overview p {
  color: var(--textColorHigh);
  font-size: 16px;
  line-height: 1.7;
}


.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--textColorHigh);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brandTertiary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.included-list {
  color: var(--textColorHigh);
  font-size: var(--font-size-body-m);
  line-height: 1.8;
  padding-left: 20px;
}

.included-list li {
  margin-bottom: 6px;
}
.template-details-page #left-column {
  max-width: 720px;
}

.policy-card {
  background: #0D0D0D;
  border: 1px solid #1F1F1F;
  border-radius: 12px;
  padding: 24px;

}

.policy-card h3 {
  color: var(--textColorHighest);
  font-size: var(--font-size-h4);
  margin-bottom: var(--spacing-md);
}

.policy-card p {
  color: #B3B3B3;
  font-size: var(--font-size-body-m);
  margin-bottom: var(--spacing-md);
}

.compatibility-text {
  color: var(--textColorHigh);
}

/* product detail page thumbnail hover overlay */
.detail-thumb-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.detail-thumb-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.detail-thumb-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.detail-thumb-wrapper:hover .detail-thumb-overlay {
    opacity: 1;
}
.detail-thumb-wrapper:hover img {
    transform: scale(1.03);
}

/* tag badges in info panel */
.template-info .tags .badge {
    background-color: #000;
    color: #fff;
    border: 1px solid #333;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* price style in info panel */
.template-info .price-current {
    font-size: 2.5rem;
    line-height: 1;

}
.template-info .price-original {
    text-decoration: line-through;
    margin-left: var(--spacing-sm);
    color: var(--textColorHigh);
}

/* adjust preview image width inside left column */
#left-column .img-fluid {
    width: 100%;
    height: auto;
}


/* left column scroll container and row height for sticky effect */
.product-row {
    height: calc(100vh - 140px); /* viewport minus navbar/breadcrumb approximated */
    background-color: var(--backgroundSurfaceHighest); /* ensure dark backdrop under image */
    color: var(--textColorHighest);
}

#left-column {
    max-height: 100%;
    overflow-y: auto;
}
/* chip/tag design */
.template-info .tags .badge {
    background-color: #111;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-body-m);
    font-weight: 500;
    line-height: 1.35;
    border: 1px solid #333;
}

/* removed mobile override so sticky continues to function on all widths */

.product-hero {
    background-color: var(--backgroundSurfaceHighest);
    padding: 80px 0;
}
.product-hero .section-title {
    color: var(--textColorHighest);
}
.breadcrumb {
    background: transparent;
}

.features-list li {
    color: var(--textColorLow);
    margin-bottom: var(--spacing-sm);
}
.tags .badge {
    background-color: var(--brandPrimaryVariant3);
    border: 1px solid var(--borderColorBorderVeriant2);
    color: var(--textColorHighest);
}
.included-section {
    background-color: var(--backgroundSurfaceHigh);
    padding: 80px 0;
}
.compatibility-section .badge {
    background-color: var(--backgroundSurfaceHighest);
    color: var(--textColorHighest);
}
.curated-section {
    padding: 70px 0;
    background-color: var(--backgroundSurfaceHigh);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    h1, .h1 {
        font-size: 40px;
    }

    h2, .h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    h1, .h1 {
        font-size: 32px;
    }

    h2, .h2 {
        font-size: 28px;
    }

    .card-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .price-section {
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: none;
    }

    .footer-title {
        font-size: 28px;
    }

    .hero-decor-left, .hero-decor-right {
        display: none;
    }
    .hero-image img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-h1: 32px;
        --font-size-h2: 24px;
        --font-size-h3: 20px;
        --font-size-body-l: 16px;
        --font-size-body-m: 14px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    .navbar {
        padding: var(--spacing-sm) 0;
    }

    .navbar-brand {
        font-size: var(--font-size-body-l);
    }

    .nav-link {
        font-size: var(--font-size-body-s);
    }

    .template-card {
        margin-bottom: var(--spacing-lg);
    }

    .card-body {
        padding: var(--spacing-sm);
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-subtitle {
        font-size: 16px;
    }

    .btn-lg {
        font-size: var(--font-size-body-m);
        padding: var(--spacing-md) var(--spacing-lg);
        height: 48px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-semibold {
    font-weight: var(--font-weight-semi-bold);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.gap-4 {
    gap: var(--spacing-xl);
}

.gap-3 {
    gap: var(--spacing-lg);
}

.gap-2 {
    gap: var(--spacing-md);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-high);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-green);
}

/* =============================================
   RESPONSIVE: CONTACT PAGE
   ============================================= */

@media (max-width: 992px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-left {
        padding-right: 0;
        margin-bottom: var(--spacing-2xl);
    }

    .contact-title {
        font-size: var(--font-size-h2);
    }

    .contact-description {
        font-size: var(--font-size-body-m);
    }

    .contact-form-wrapper {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .breadcrumb-contact {
        padding: var(--spacing-lg) 0;
    }

    .contact-section {
        padding: var(--spacing-2xl) 0;
        min-height: auto;
    }

    .contact-left {
        margin-bottom: var(--spacing-2xl);
        text-align: center;
    }

    .contact-title {
        font-size: var(--font-size-h3);
    }

    .contact-description {
        font-size: var(--font-size-body-s);
    }

    .contact-info-text {
        font-size: var(--font-size-body-s);
    }

    .contact-right {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: var(--spacing-lg);
        max-width: 100%;
    }

    .contact-form-input {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 40px;
    }

    .input-icon {
          width:8px;
          height:8px;
    }

    .btn-contact-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: var(--spacing-xl) 0;
    }

    .contact-title {
        font-size: var(--font-size-h4);
        margin-bottom: var(--spacing-md);
    }

    .contact-description {
        font-size: var(--font-size-body-s);
        margin-bottom: var(--spacing-md);
    }

    .contact-illustration {
        margin-top: var(--spacing-lg);
    }

    .contact-form-wrapper {
        padding: var(--spacing-lg);
        border-radius: var(--border-radius-md);
    }

    .contact-form-group {
        gap: var(--spacing-xs);
    }

    .contact-form-textarea {
        min-height: 100px;
    }

    .contact-reply-notice {
        font-size: var(--font-size-body-s);
    }
}

/* =============================================
   PAGE: PURCHASES PAGE
   ============================================= */

/* --- Section: Purchases Container --- */
.purchases-container {
    background-color: var(--backgroundSurfaceHighest);
    padding: 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 80px;
}

.purchases-page-container {
    display: flex;
    flex-direction: column;
    gap: 58px;
    width: 100%;
    max-width: 1302px;
    padding: 58px var(--spacing-lg);
}


/* --- Subsection: Main Content --- */
.purchases-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    width: 100%;
}

/* --- Subsection: Tabs Container --- */
.purchases-tabs-container {
    width: 100%;
}

.purchases-tabs {
    display: flex;
    gap: 4px;
    align-items: center;
    background-color: var(--backgroundSurfaceHigh);
    padding: 0;
    border-radius: 24px;
    width: fit-content;
}

.purchase-tab {
    padding: 4px 16px;
    border-radius: 16px;
    background-color: var(--backgroundSurfaceHigh);
    border: none;
    color: var(--textColorHigh);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    line-height: 30px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.purchase-tab:hover {
    text-decoration: none;
}

.purchase-tab.active {
    background-color: var(--brandSecondary);
    color: var(--brandPrimary);
}

.purchase-tab:hover:not(.active) {
    color: var(--textColorHighest);
}

/* --- Tab Content Helpers --- */
.settings-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.account-card {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.account-label {
    margin: 0;
    color: var(--textColorHigh);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.account-name {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
}

.account-email, .account-meta {
    margin: 0;
    font-size: 14px;
    color: var(--textColorHigh);
}

.account-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
}

.account-note {
    background-color: #1c1c1f;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 14px 16px;
    color: var(--textColorHigh);
    font-size: 14px;
}

.account-note a {
    color: var(--brandSecondary);
    text-decoration: underline;
}

.account-form-card {
    background: linear-gradient(180deg, #0e0e10 0%, #111114 100%);
    border: 1px solid #292931;
    border-radius: 16px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-lg) ;
}

.account-form-section {
    margin: 0;
    color: var(--textColorHigh);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.2px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-field.full-width {
    grid-column: span 2;
}

.form-label, .form-label-light {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    letter-spacing: auto;
    color:var(--textColorLowest);
    margin: 0;
}

.form-label-light{
    color:var(--textColorHighest)
}

.form-input-wrapper {
    background-color: transparent;
    border: 1px solid var(--borderColorBorderVeriant2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
}

.form-icon img {
     color:var(--iconColorLow);
     width: 24px;
     height: 24px;
     object-fit: contain;
}

.form-input {
    border: none;
    background: transparent !important;
    color: var(--textColorHigh) !important;
    outline: none;
    width: 100%;
    font-size: var(--font-size-body-m);
    font-weight: 500;
    transition: background-color 9999s ease, color var(--transition-smooth);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--textColorHigh) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHigh) inset !important;
    box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHigh) inset !important;
    caret-color: var(--textColorHigh);
}

.btn-row{
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}


/*.delete-account-btn {
    border: 1px solid var(--statusErrorError);
    color: #ff4d4f;
}

.delete-account-btn:hover{
    color: var(--statusErrorOnError);
    border: 1px solid var(--statusErrorOnError);
} */

/* --- Subsection: Purchases Header --- */
.purchases-header-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.purchases-title {
    font-family: var(--font-family-main);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHighest);
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}

.purchases-subtitle {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHigh);
    line-height: 1;
    margin-bottom: var(--spacing-2xl);
}

.purchases-subtitle .text-white {
    color: var(--textColorHighest);
}

/* --- Subsection: Purchases List Container --- */
.purchases-list-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.order-item {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(45, 45, 47, 1);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition-smooth);
}

/*.order-item:hover {
    border-color: var(--brandSecondary);
}*/

.order-image-wrapper {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
}

.order-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-details-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding-top: 10px;

}

.order-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.order-title {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-xl);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHighest);
    line-height: 1;
    margin-bottom: 4px;
    white-space: normal;
}

.order-date {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHigh);
    line-height: 19px;
    margin-bottom: 4px;
}

.order-price {
    font-family: var(--font-family-main);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
    color: var(--brandPrimary);
    line-height: 1;
    white-space: nowrap;
    text-align: right;
}

.order-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.action-group {
    display: flex;
    gap: 16px;
    align-items: center;
}


.icon-small {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* Add color variable for text in order title */
:root {
    --textColorDefault: #e0e0e1;
}

/* =============================================
   RESPONSIVE: PURCHASES PAGE
   ============================================= */

@media (max-width: 992px) {
    .purchases-page-container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }

    .order-item {
        flex-direction: column;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-price {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .purchases-container {
        padding: 0;
        margin-top: 70px;
    }

    .purchases-page-container {
        gap: 40px;
        padding: 0 var(--spacing-md);
    }

    .purchases-title {
        font-size: var(--font-size-h4);
    }

    .purchases-subtitle {
        font-size: var(--font-size-body-l);
    }

    .order-item {
        padding: 16px;
        gap: 12px;
    }

    .order-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .order-title {
        font-size: var(--font-size-body-l);
    }

    .order-date {
        font-size: var(--font-size-body-s);
    }

    .order-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline-secondary,
    .link-action,
    .btn-release-notes {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .purchases-container {
        padding: 0;
        margin-top: 70px;
    }

    .purchases-page-container {
        gap: 30px;
        padding: 0 var(--spacing-md);
    }

    .breadcrumbs-wrapper {
        gap: 4px;
    }

    .breadcrumb-text {
        font-size: var(--font-size-body-l);
    }

    .breadcrumb-icon {
        width: 20px;
        height: 20px;
    }
}

/* =============================================
   VIEW ALL POPUP MODALS
   ============================================= */


.popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.popup-card {
    width: min(560px, 100%);
    background-color: var(--backgroundSurfaceHigh);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    padding: var(--spacing-xl);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
}

.popup-tag {
    margin: 0;
    font-size: 0.7rem;
    color: #8f8f92;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.popup-title {
   font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: -0.2px;
  text-align: center;
}

.popup-text {
    margin: 0.4rem 0 1rem;
    color: #d3d3d6;
    font-size: 0.95rem;
    line-height: 1.5;
}

.popup-close {
    border: none;
    border-radius: 10px;
    width: 30px;
    height: 30px;
    background: #1f1f22;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.popup-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.25rem 0 0.9rem;
}

.popup-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.popup-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.popup-actions .btn {
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 10px 14px;
    
}

.popup-button-wrapper {
  position: relative;
  display: inline-block;
  margin: 0px auto 0;
}

.popup-back-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    margin-right: auto;
    margin-top: 5px;
    cursor: pointer;
}

.popup-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

/* white button (front) */
.auth-popup .popup-button-wrapper .btn-primary {
  position: relative;
  z-index: 2;
}

/* green button (back) */
.auth-popup .popup-button-wrapper .btn-instance {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
}


.popup-actions .btn-outline-secondary {
    border-color: rgba(255,255,255,0.15);
    color: #f5f5f5;
}

.otp-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.otp-input {
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 18px;
  padding: 0;
}

@media (max-width: 768px) {
    .popup-card {
        width: 100%;
        max-width: 560px;
    }
}

    .purchase-tab {
        font-size: var(--font-size-body-l);
        padding: 4px 12px;
    }

    .purchases-title {
        font-size: var(--font-size-h4);
    }

    .purchases-subtitle {
        font-size: var(--font-size-body-l);
    }

    .order-item {
        padding: 24px;
        gap: 24px;
    
    }

    .order-image-wrapper {
        width: 100px;
        height: 110px;
    }

    .order-title {
        font-size: var(--font-size-body-l);
    }

    .order-date {
        font-size: var(--font-size-body-s);
    }

    .order-price {
        font-size: var(--font-size-body-l);
    }

    .action-group {
        gap: 8px;
    }

    .btn-outline-secondary {
        padding: 8px 16px;
        font-size: var(--font-size-body-m);
    }

    .link-action {
        font-size: var(--font-size-body-m);
    }

    .btn-release-notes {
        padding: 12px;
        font-size: var(--font-size-body-s);
    }

    .icon-small {
        width: 16px;
        height: 16px;
    }