/* ===== TrexServers Theme (eBusiness-inspired) ===== */

/* --- Variables --- */
:root {
  --default-font: "Roboto", system-ui, -apple-system, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #ffffff;
  --default-color: #555555;
  --heading-color: #0d3035;
  --accent-color: #0A52C8;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: rgba(255,255,255,0.8);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #555555;
  --nav-dropdown-hover-color: var(--accent-color);

  --bs-primary: #0A52C8;
  --bs-primary-rgb: 3,109,218;
  --bs-secondary: #747474;
  --bs-secondary-rgb: 116,116,116;
  --bs-link-color: #0A52C8;
  --bs-link-color-rgb: 3,109,218;
  --bs-link-hover-color: #025bb5;
  --bs-link-hover-color-rgb: 2,91,181;
  --bs-navbar-active-color: #0A52C8;

  --brand-blue: #0A52C8;
  --brand-gray: #747474;
}

.btn-primary {
  --bs-btn-bg: #0A52C8;
  --bs-btn-border-color: #0A52C8;
  --bs-btn-hover-bg: #025bb5;
  --bs-btn-hover-border-color: #025bb5;
  --bs-btn-active-bg: #024ea0;
  --bs-btn-active-border-color: #024ea0;
}
.btn-outline-primary {
  --bs-btn-color: #0A52C8;
  --bs-btn-border-color: #0A52C8;
  --bs-btn-hover-bg: #0A52C8;
  --bs-btn-hover-border-color: #0A52C8;
  --bs-btn-active-bg: #0A52C8;
  --bs-btn-active-border-color: #0A52C8;
}
.btn-primary:hover { color: #fff; }
.btn-outline-primary:hover { color: #fff; }
.text-primary { color: #0A52C8 !important; }
.bg-primary { background-color: #0A52C8 !important; }
.border-primary { border-color: #0A52C8 !important; }
.text-secondary { color: #747474 !important; }
.brand-blue { color: var(--brand-blue); }
.brand-gray { color: var(--brand-gray); }
.brand-inne { color: var(--brand-blue); }
.brand-trex { color: var(--brand-gray); }

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}
a { color: var(--accent-color); text-decoration: none; transition: 0.3s; }
a:hover { color: color-mix(in srgb, var(--accent-color), transparent 25%); }
h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-family: var(--heading-font); }
section, .section { color: var(--default-color); background-color: var(--background-color); padding: 60px 0; scroll-margin-top: 90px; overflow: clip; }

/* --- Section Title --- */
.section-title { text-align: center; padding-bottom: 60px; position: relative; }
.section-title h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; padding-bottom: 20px; position: relative; }
.section-title h2:after { content: ""; position: absolute; display: block; width: 40px; height: 3px; background: var(--accent-color); bottom: 0; left: calc(50% - 20px); }
.section-title p { margin-bottom: 0; }

/* --- Header / Navbar (eBusiness) --- */
.header {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}
.header .logo { line-height: 1; }
.header .logo h1 { font-size: 30px; margin: 0; font-weight: 700; color: var(--heading-color); padding-bottom: 5px; }
.header .logo h1 span { color: color-mix(in srgb, var(--accent-color) 90%, white 15%); font-style: italic; }
.header .logo img { max-height: 40px; width: auto; }
.header .btn-getstarted, .header .btn-getstarted:focus {
  color: var(--contrast-color); background: var(--accent-color); font-size: 17px; font-weight: 500;
  padding: 8px 25px; margin: 0 0 0 30px; border-radius: 4px; transition: 0.3s;
}
.header .btn-getstarted:hover { background: color-mix(in srgb, var(--accent-color), transparent 15%); }
.header .btn-getstarted-outline { background: transparent; color: var(--accent-color) !important; border: 2px solid var(--accent-color); padding: 6px 23px; }
.header .btn-getstarted-outline:hover { background: var(--accent-color); color: var(--contrast-color) !important; }

@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
  .navmenu li { position: relative; }
  .navmenu > ul > li { white-space: nowrap; padding: 15px 14px; }
  .navmenu > ul > li:last-child { padding-right: 0; }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color); padding: 0 2px; font-size: 17px; font-family: var(--nav-font);
    font-weight: 500; display: flex; align-items: center; white-space: nowrap; transition: 0.3s; position: relative;
  }
  .navmenu a i, .navmenu a:focus i { font-size: 12px; line-height: 0; margin-left: 5px; transition: 0.3s; }
  .navmenu > ul > li > a:before {
    content: ""; position: absolute; height: 2px; bottom: -15px; left: 0;
    background-color: var(--nav-dropdown-hover-color); visibility: hidden; width: 0px; transition: all 0.3s ease-in-out 0s;
  }
  .navmenu a:hover:before, .navmenu li:hover > a:before, .navmenu .active:before { visibility: visible; width: 100%; }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus { color: var(--nav-hover-color); }
  .navmenu .dropdown ul {
    margin: 0; padding: 10px 0; background: var(--nav-dropdown-background-color); display: block;
    position: absolute; visibility: hidden; left: 14px; top: 130%; opacity: 0; transition: 0.3s;
    border-radius: 0; z-index: 99; box-shadow: 0px 0px 30px rgba(0,0,0,0.1);
  }
  .navmenu .dropdown ul li { min-width: 200px; }
  .navmenu .dropdown ul a { padding: 10px 20px; font-size: 15px; text-transform: none; color: var(--nav-dropdown-color); }
  .navmenu .dropdown ul a:hover, .navmenu .dropdown ul li:hover > a { color: var(--nav-dropdown-hover-color); }
  .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }
  .navmenu .dropdown .dropdown ul { top: 0; left: -90%; visibility: hidden; }
  .navmenu .dropdown .dropdown:hover > ul { opacity: 1; top: 0; left: -100%; visibility: visible; }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle { color: var(--nav-color); font-size: 28px; line-height: 0; margin-right: 10px; cursor: pointer; transition: color 0.3s; }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul { display: none; list-style: none; position: absolute; inset: 60px 20px 20px 20px; padding: 10px 0; margin: 0; border-radius: 6px; background-color: var(--nav-mobile-background-color); overflow-y: auto; transition: 0.3s; z-index: 9998; box-shadow: 0px 0px 30px rgba(0,0,0,0.1); }
  .navmenu a, .navmenu a:focus { color: var(--nav-dropdown-color); padding: 10px 20px; font-family: var(--nav-font); font-size: 17px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; white-space: nowrap; transition: 0.3s; }
  .navmenu a i, .navmenu a:focus i { font-size: 12px; line-height: 0; margin-left: 5px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; background-color: color-mix(in srgb, var(--accent-color), transparent 90%); }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus { color: var(--nav-dropdown-hover-color); }
  .navmenu .dropdown ul { position: static; display: none; z-index: 99; padding: 10px 0; margin: 10px 20px; background-color: var(--nav-dropdown-background-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); box-shadow: none; }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle { color: #fff; position: absolute; font-size: 32px; top: 15px; right: 15px; margin-right: 0; z-index: 9999; }
  .mobile-nav-active .navmenu { position: fixed; overflow: hidden; inset: 0; background: rgba(33,37,41,0.8); transition: 0.3s; }
  .mobile-nav-active .navmenu > ul { display: block; }
}

/* --- Hero --- */
.hero-bg { background: linear-gradient(135deg, #0A52C8 0%, #025bb5 100%); }
.hero-bg h1, .hero-bg h2, .hero-bg h3, .hero-bg h4, .hero-bg h5, .hero-bg h6 { color: #fff !important; }
.hero { padding: 100px 0; position: relative; }
.hero h2 { font-size: 48px; font-weight: 700; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 30px; color: color-mix(in srgb, var(--default-color), transparent 20%); }
.hero .btn { font-size: 17px; font-weight: 500; padding: 12px 30px; border-radius: 4px; }
.hero .btn-primary { background: var(--accent-color); border: none; color: var(--contrast-color); }
.hero .btn-outline { background: transparent; border: 2px solid var(--accent-color); color: var(--accent-color); }
.hero .hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero .hero-stats h3 { font-size: 40px; font-weight: 700; color: var(--accent-color); margin-bottom: 4px; }
.hero .hero-stats p { font-size: 14px; margin-bottom: 0; }

/* --- Buttons --- */
.btn-primary { background: var(--accent-color); border: none; color: var(--contrast-color); font-family: var(--nav-font); font-weight: 500; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-color), transparent 15%); color: var(--contrast-color); }
.btn-outline-primary { border-color: var(--accent-color); color: var(--accent-color); }
.btn-outline-primary:hover { background: var(--accent-color); color: var(--contrast-color); }

/* --- Service Items (hover lift cards) --- */
.services .service-item {
  position: relative; padding: 60px 30px 80px; background-color: var(--surface-color);
  border-radius: 12px; box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}
.services .service-item::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background-color: var(--accent-color); border-top-left-radius: 12px; border-top-right-radius: 12px; }
.services .service-item .service-icon { width: 72px; height: 72px; background-color: color-mix(in srgb, var(--accent-color), transparent 92%); color: var(--accent-color); font-size: 34px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; border-radius: 50%; }
.services .service-item h3 { font-size: 26px; font-weight: 700; margin-bottom: 15px; }
.services .service-item h3 a { color: var(--heading-color); }
.services .service-item h3 a span { color: var(--accent-color); }
.services .service-item p { margin-bottom: 0; }
.services .service-item .card-action { position: absolute; right: 24px; bottom: 24px; width: 56px; height: 56px; background-color: var(--accent-color); color: var(--contrast-color); font-size: 22px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.services .service-item:hover { transform: translateY(-10px); box-shadow: 0 14px 30px color-mix(in srgb, var(--default-color), transparent 85%); }
.services .service-item:hover .service-icon { transform: scale(1.1); }
.services .service-item:hover .card-action { opacity: 1; visibility: visible; transform: translateY(0); }

/* --- Alt Service Cards --- */
.alt-services .service-card {
  background-color: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 15px; overflow: hidden; height: 100%; transition: all 0.4s ease; position: relative;
}
.alt-services .service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0); transition: transform 0.4s ease;
}
.alt-services .service-card:hover::before { transform: scaleX(1); }
.alt-services .service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%); border-color: var(--accent-color); }
.alt-services .service-card.featured { border-color: var(--accent-color); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 85%); }
.alt-services .service-card.featured::before { transform: scaleX(1); }
.alt-services .service-card .card-header { padding: 25px 25px 15px; text-align: center; }
.alt-services .service-card .card-header .icon-box { width: 70px; height: 70px; margin: 0 auto 20px; background: color-mix(in srgb, var(--accent-color), transparent 90%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent-color); }
.alt-services .service-card.featured .icon-box { background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%)); color: var(--contrast-color); }
.alt-services .service-card .card-header h4 { font-size: 18px; font-weight: 600; }
.alt-services .service-card .card-body { padding: 0 25px 20px; }
.alt-services .service-card .card-body p { font-size: 14px; color: var(--default-color); }
.alt-services .service-card .card-footer { padding: 0 25px 25px; }
.alt-services .service-card .btn-explore { color: var(--accent-color); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* --- Feature Boxes --- */
.feature-box { background-color: var(--surface-color); padding: 30px 20px; border-radius: 12px; box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%); transition: 0.3s; height: 100%; }
.feature-box:hover { transform: translateY(-5px); box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%); }
.feature-box .feature-icon-wrapper { width: 60px; height: 60px; margin: 0 auto 20px; background: color-mix(in srgb, var(--accent-color), transparent 92%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--accent-color); }
.feature-box h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.feature-box p { font-size: 14px; color: var(--default-color); margin-bottom: 15px; }
.feature-box .progress-indicator { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.feature-box .progress-indicator .progress-bar { height: 100%; background: var(--accent-color); border-radius: 3px; }
.feature-box .progress-label { font-size: 12px; color: color-mix(in srgb, var(--default-color), transparent 30%); }

/* --- Pricing Cards --- */
.pricing .pricing-card { height: 100%; padding: 2rem; background: var(--surface-color); border-radius: 1rem; transition: all 0.3s ease; position: relative; border: 1px solid #eee; }
.pricing .pricing-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.pricing .pricing-card.popular { background: var(--accent-color); color: var(--contrast-color); }
.pricing .pricing-card.popular h3, .pricing .pricing-card.popular h4 { color: var(--contrast-color); }
.pricing .pricing-card.popular .price .currency, .pricing .pricing-card.popular .price .amount, .pricing .pricing-card.popular .price .period { color: var(--contrast-color); }
.pricing .pricing-card.popular .features-list li { color: var(--contrast-color); }
.pricing .pricing-card.popular .features-list li i { color: var(--contrast-color); }
.pricing .pricing-card.popular .btn-light { background: var(--contrast-color); color: var(--accent-color); }
.pricing .pricing-card .popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--contrast-color); color: var(--accent-color); padding: 0.5rem 1rem;
  border-radius: 2rem; font-size: 0.875rem; font-weight: 600; box-shadow: 0px -2px 10px rgba(0,0,0,0.08);
}
.pricing .pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pricing .pricing-card .price { margin-bottom: 1.5rem; }
.pricing .pricing-card .price .currency { font-size: 1.5rem; font-weight: 600; vertical-align: top; line-height: 1; }
.pricing .pricing-card .price .amount { font-size: 3.5rem; font-weight: 700; line-height: 1; }
.pricing .pricing-card .price .period { font-size: 1rem; color: color-mix(in srgb, var(--default-color), transparent 40%); }
.pricing .pricing-card .description { margin-bottom: 2rem; font-size: 0.975rem; }
.pricing .pricing-card h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.pricing .pricing-card .features-list { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.pricing .pricing-card .features-list li { display: flex; align-items: center; margin-bottom: 1rem; }
.pricing .pricing-card .features-list li i { color: var(--accent-color); margin-right: 0.75rem; font-size: 1.25rem; }
.pricing .pricing-card .btn { width: 100%; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 500; }

/* --- FAQ --- */
.faq .faq-container .faq-item { background-color: var(--surface-color); position: relative; padding: 20px; margin-bottom: 20px; box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.1); overflow: hidden; }
.faq .faq-container .faq-item:last-child { margin-bottom: 0; }
.faq .faq-container .faq-item h3 { font-weight: 600; font-size: 18px; line-height: 24px; margin: 0 30px 0 0; transition: 0.3s; cursor: pointer; display: flex; align-items: flex-start; }
.faq .faq-container .faq-item h3 .num { color: var(--accent-color); padding-right: 5px; }
.faq .faq-container .faq-item h3:hover { color: var(--accent-color); }
.faq .faq-container .faq-item .faq-content { display: grid; grid-template-rows: 0fr; transition: 0.3s ease-in-out; visibility: hidden; opacity: 0; }
.faq .faq-container .faq-item .faq-content p { margin: 0; overflow: hidden; }
.faq .faq-container .faq-item.faq-active .faq-content { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
.faq .faq-container .faq-item .faq-toggle { position: absolute; top: 20px; right: 20px; font-size: 16px; line-height: 0; transition: 0.3s; cursor: pointer; }
.faq .faq-container .faq-item .faq-toggle:hover { color: var(--accent-color); }
.faq .faq-container .faq-item.faq-active .faq-toggle { transform: rotate(180deg); color: var(--accent-color); }

/* --- Team Cards --- */
.team .member { text-align: center; position: relative; overflow: hidden; border-radius: 12px; }
.team .member .member-img { position: relative; overflow: hidden; border-radius: 12px; }
.team .member img { transition: 0.3s; }
.team .member:hover img { transform: scale(1.1); }
.team .member .social { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); opacity: 0; transition: 0.3s; }
.team .member:hover .social { opacity: 1; }
.team .member .social a { color: var(--contrast-color); margin: 0 8px; font-size: 18px; transition: 0.3s; }
.team .member .member-info { padding-top: 15px; }
.team .member .member-info h4 { font-weight: 700; margin-bottom: 5px; font-size: 20px; }
.team .member .member-info span { display: block; font-size: 14px; font-weight: 400; color: color-mix(in srgb, var(--default-color), transparent 30%); }

/* --- Contact --- */
.contact .info-box { background: var(--accent-color); color: var(--contrast-color); padding: 30px; border-radius: 12px; height: 100%; }
.contact .info-box h3 { color: var(--contrast-color); font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.contact .info-box p { margin-bottom: 20px; }
.contact .info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact .info-item i { font-size: 24px; }
.contact .info-item h4 { font-size: 16px; font-weight: 600; color: var(--contrast-color); margin-bottom: 2px; }
.contact .info-item p { margin-bottom: 0; font-size: 14px; }
.contact .php-email-form input, .contact .php-email-form textarea { border-radius: 4px; border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%); padding: 10px 15px; width: 100%; }
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus { border-color: var(--accent-color); outline: none; }
.contact .php-email-form button[type=submit] { background: var(--accent-color); color: var(--contrast-color); border: none; padding: 12px 40px; border-radius: 4px; font-weight: 500; }

/* --- Why Us / Numbered Cards --- */
.card-item { padding: 30px; background: var(--surface-color); border-radius: 12px; box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%); transition: 0.3s; height: 100%; }
.card-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%); }
.card-item .card-number { font-size: 32px; font-weight: 700; color: var(--accent-color); margin-bottom: 10px; }
.card-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card-item p { font-size: 14px; margin-bottom: 0; }

/* --- CTA Section --- */
.cta-wrapper { background: var(--accent-color); border-radius: 20px; padding: 60px; position: relative; overflow: hidden; color: var(--contrast-color); }
.cta-wrapper h2 { color: var(--contrast-color); font-size: 32px; font-weight: 700; }
.cta-wrapper p { color: rgba(255,255,255,0.85); }
.btn-cta-primary { background: var(--contrast-color); color: var(--accent-color); border: none; padding: 14px 36px; border-radius: 4px; font-weight: 600; }
.btn-cta-primary:hover { background: color-mix(in srgb, var(--contrast-color), transparent 10%); color: var(--accent-color); }
.btn-cta-secondary { background: transparent; color: var(--contrast-color); border: 2px solid rgba(255,255,255,0.5); padding: 12px 30px; border-radius: 4px; font-weight: 500; }
.btn-cta-secondary:hover { border-color: var(--contrast-color); color: var(--contrast-color); }

/* --- Footer (eBusiness dark) --- */
.footer { color: var(--default-color); background-color: #000000; font-size: 14px; position: relative; }
.footer h4 { color: #fff; font-size: 16px; font-weight: bold; padding-bottom: 12px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul i { margin-right: 3px; font-size: 12px; line-height: 0; color: var(--accent-color); }
.footer .footer-links ul li { padding: 10px 0; display: flex; align-items: center; }
.footer .footer-links ul li:first-child { padding-top: 0; }
.footer .footer-links ul a { display: inline-block; color: rgba(255,255,255,0.6); line-height: 1; }
.footer .footer-links ul a:hover { color: var(--accent-color); }
.footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); font-size: 16px; color: rgba(255,255,255,0.6); margin-right: 10px; transition: 0.3s; }
.footer .social-links a:hover { color: var(--accent-color); border-color: var(--accent-color); }
.footer .copyright { padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.footer .footer-brand { color: #fff; font-size: 24px; font-weight: 600; font-family: var(--heading-font); }
.footer .footer-brand span { color: var(--accent-color); }
.footer .footer-desc { color: rgba(255,255,255,0.6); margin-top: 8px; }

/* --- Advanced Feature Cards --- */
.advanced-feature-card { position: relative; display: flex; flex-direction: column; gap: 1rem; background: var(--surface-color); border: 1px solid #eee; border-radius: 1rem; padding: 2rem; transition: all 0.3s; }
.advanced-feature-card:hover { border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.advanced-feature-card .feature-header { display: flex; align-items: center; gap: 1rem; }
.advanced-feature-card .feature-number { font-size: 2.5rem; font-weight: 800; color: color-mix(in srgb, var(--default-color), transparent 85%); line-height: 1; }
.advanced-feature-card .feature-status-badge { padding: 0.25rem 0.75rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.advanced-feature-card .feature-status-badge.enterprise { background: #e8f5e9; color: #2e7d32; }
.advanced-feature-card .feature-status-badge.premium { background: #e3f2fd; color: #1565c0; }
.advanced-feature-card .feature-status-badge.standard { background: #fff3e0; color: #e65100; }
.advanced-feature-card .feature-status-badge.coming-soon { background: #f3e5f5; color: #7b1fa2; }
.advanced-feature-card .feature-content h5 { font-size: 1.1rem; font-weight: 600; }
.advanced-feature-card .feature-content p { font-size: 0.9rem; color: var(--default-color); }
.advanced-feature-card .feature-benefits { list-style: none; padding: 0; margin: 0; }
.advanced-feature-card .feature-benefits li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.5rem; }
.advanced-feature-card .feature-benefits li i { color: var(--accent-color); }
.advanced-feature-card .feature-icon-bg { position: absolute; right: 1.5rem; bottom: 1.5rem; font-size: 4rem; color: color-mix(in srgb, var(--default-color), transparent 92%); line-height: 1; }

/* --- Misc --- */
.feature-list { list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feature-list li i { color: var(--accent-color); font-size: 18px; }
.scroll-top { position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: 15px; z-index: 99999; background-color: var(--accent-color); width: 40px; height: 40px; border-radius: 4px; transition: all 0.4s; display: flex; align-items: center; justify-content: center; }
.scroll-top i { font-size: 24px; color: var(--contrast-color); line-height: 0; }
.scroll-top.active { visibility: visible; opacity: 1; }

/* --- Toast Notifications (from admin.css) --- */
.toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { min-width: 300px; max-width: 400px; padding: 1rem 1.5rem; border-radius: 8px; color: white; font-weight: 500; box-shadow: 0 10px 25px rgba(0,0,0,0.15); animation: slideIn 0.3s ease; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }
.toast.info { background: #2563eb; }
.toast.warning { background: #ca8a04; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
.toast.hiding { animation: slideOut 0.3s ease; }

/* --- Loading Spinner --- */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top: 2px solid white; border-radius: 50%; animation: spin 0.6s linear infinite; }
.spinner-dark { border-color: rgba(0,0,0,0.1); border-top-color: var(--brand-blue); }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.8); z-index: 9998; display: flex; align-items: center; justify-content: center; }
.loading-overlay.hidden { display: none; }

/* --- Dark Mode (admin) --- */
.dark body { background: #111827; color: #e5e7eb; }
.dark .bg-white { background: #1f2937; }
.dark .shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.dark input, .dark select, .dark textarea { background: #374151; color: #e5e7eb; border-color: #4b5563; }
.dark input:focus, .dark select:focus, .dark textarea:focus { border-color: var(--brand-blue); }

/* --- Print Styles --- */
@media print {
    header, footer, nav, .sidebar, button, .no-print { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    .print-only { display: block !important; }
    a { color: black; text-decoration: none; }
    .bg-white { background: white; box-shadow: none; }
    .shadow-sm, .shadow-lg, .shadow { box-shadow: none; }
    table { width: 100%; border-collapse: collapse; }
    th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
    th { background: #f5f5f5; }
}
.print-only { display: none; }

/* --- Sortable Tables --- */
.sortable th { cursor: pointer; user-select: none; }
.sortable th:hover { background: #e5e7eb; }
.sortable th::after { content: ' ↕'; font-size: 0.7em; color: #9ca3af; }
.sortable th.asc::after { content: ' ↑'; color: var(--brand-blue); }
.sortable th.desc::after { content: ' ↓'; color: var(--brand-blue); }

/* --- Mobile Responsive Tables --- */
@media (max-width: 768px) {
    .responsive-table { display: block; }
    .responsive-table thead { display: none; }
    .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; }
    .responsive-table tr { margin-bottom: 1rem; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
    .responsive-table td { text-align: right; padding: 0.5rem 1rem; position: relative; border-bottom: 1px solid #f3f4f6; }
    .responsive-table td:last-child { border-bottom: none; }
    .responsive-table td::before { content: attr(data-label); float: left; font-weight: 600; color: #6b7280; }
    .dark .responsive-table td { border-color: #374151; }
}

/* --- Admin Area --- */
.admin-sidebar { background-color: #000000 !important; }
.admin-header { border-bottom: 1px solid #e9ecef; background: #fff; }
.admin-stat-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.admin-stat-card:hover { transform: translateY(-2px); box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.08) !important; }

/* --- Portal Helpers (from portal.css) --- */
.extra-small { font-size: 0.75rem; }
.hover-bg-light:hover { background-color: #f8f9fa; }
.hover-shadow { transition: box-shadow 0.2s ease; }
.hover-shadow:hover { box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important; }

/* --- Sale Price Display --- */
.sale-price-display { display: inline-flex; align-items: center; gap: 0.35rem; }
.sale-price-display .sale-amount { color: #dc3545; font-weight: 700; }
.sale-price-display .regular-amount { color: #6c757d; text-decoration: line-through; font-size: 0.875em; }
.sale-badge { background: #dc3545; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.15em 0.45em; border-radius: 4px; margin-left: 0.25rem; vertical-align: middle; }
