/* =============================================
   Reliable Enterprises — Main Stylesheet
   Color Palette: Navy Blue, Dark Blue, White, Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0a1628;
  --dark-blue: #0d1f3c;
  --mid-blue: #1a3560;
  --light-blue: #1e4080;
  --gold: #f0a500;
  --gold-light: #f7c244;
  --gold-dark: #c47d00;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --gray: #8a9bb0;
  --light-gray: #e8edf5;
  --text-dark: #0a1628;
  --shadow: 0 4px 24px rgba(10,22,40,0.18);
  --shadow-gold: 0 4px 24px rgba(240,165,0,0.18);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Loading Screen ---- */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2rem;
}
.loader-logo span { color: var(--gold); }
.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--mid-blue);
  border-radius: 4px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  animation: loading 1.5s ease forwards;
}
@keyframes loading { from { width: 0; } to { width: 100%; } }

/* ---- Scroll To Top ---- */
#scroll-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--gold-dark); transform: translateY(-3px); }

/* ---- Header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}
.logo span { color: var(--gold); }
.logo-icon { font-size: 1.6rem; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 14px;
  color: #c8d5e8;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
nav a:hover, nav a.active { color: var(--gold); background: rgba(240,165,0,0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-outline-gold {
  padding: 8px 18px;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-gold {
  padding: 8px 18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(240,165,0,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
  cursor: pointer;
}
.cart-btn:hover { background: var(--gold); color: var(--navy); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-count.show { display: flex; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark-blue);
  border-top: 1px solid var(--mid-blue);
  padding: 12px 24px;
  gap: 4px;
}
.mobile-nav a {
  padding: 10px 12px;
  color: #c8d5e8;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(240,165,0,0.1); }
.mobile-nav.open { display: flex; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 50%, var(--mid-blue) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold); }
.hero p {
  font-size: 1.15rem;
  color: #c8d5e8;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero {
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-hero-primary { background: var(--gold); color: var(--navy); }
.btn-hero-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-hero-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); font-family: 'Montserrat', sans-serif; }
.hero-stat .lbl { font-size: 0.8rem; color: #8a9bb0; letter-spacing: 1px; text-transform: uppercase; }

/* ---- Section Styles ---- */
section { padding: 80px 24px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin-bottom: 16px; }
.section-title p { color: var(--gray); max-width: 520px; margin: 0 auto; font-size: 1rem; }

/* ---- Cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ---- Products Section ---- */
.products-section { background: var(--off-white); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(10,22,40,0.18); }
.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.product-info { padding: 16px; }
.product-name { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.product-rating { color: var(--gold); font-size: 0.85rem; margin-bottom: 10px; }
.product-rating span { color: var(--gray); font-size: 0.8rem; margin-left: 4px; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--navy); font-family: 'Montserrat', sans-serif; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.btn-cart {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-cart:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-cart.added { background: #22c55e; color: #fff; }

/* ---- Categories ---- */
.categories-section { background: var(--navy); }
.categories-section .section-title h2 { color: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-card:hover { background: rgba(240,165,0,0.12); border-color: var(--gold); transform: translateY(-4px); }
.cat-icon { font-size: 2.4rem; margin-bottom: 12px; }
.cat-name { color: var(--white); font-size: 0.88rem; font-weight: 600; font-family: 'Montserrat', sans-serif; }

/* ---- Why Choose Us ---- */
.why-section { background: var(--off-white); }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--navy);
}
.why-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.why-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* ---- Testimonials ---- */
.testimonials-section { background: var(--dark-blue); }
.testimonials-section .section-title h2 { color: var(--white); }
.testimonials-section .section-title p { color: #8a9bb0; }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.stars { color: var(--gold); margin-bottom: 16px; font-size: 1rem; }
.testimonial-text { color: #c8d5e8; font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.reviewer-name { color: var(--white); font-weight: 700; font-size: 0.92rem; }
.reviewer-loc { color: var(--gray); font-size: 0.8rem; }

/* ---- Newsletter ---- */
.newsletter-section { background: linear-gradient(135deg, var(--navy) 0%, var(--mid-blue) 100%); padding: 80px 24px; }
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.newsletter-inner p { color: #8a9bb0; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: #8a9bb0; }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-dark); }

/* ---- Footer ---- */
footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 60px 24px 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: #8a9bb0; font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a9bb0;
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #8a9bb0; font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: #8a9bb0; font-size: 0.82rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 60%, var(--mid-blue) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?w=1600&q=80') center/cover;
  opacity: 0.06;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: #8a9bb0; font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); font-size: 0.85rem; }
.breadcrumb span { color: #8a9bb0; font-size: 0.85rem; }

/* ---- About Page ---- */
.about-intro { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-text .eyebrow { color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.about-text h2 { font-size: 2.2rem; color: var(--navy); margin-bottom: 20px; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

.stats-section { background: var(--navy); padding: 60px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 900; color: var(--gold); font-family: 'Montserrat', sans-serif; }
.stat-label { color: #8a9bb0; font-size: 0.9rem; margin-top: 6px; }

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.mv-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 16px; }
.mv-card p { color: var(--gray); line-height: 1.8; }

/* ---- Products Page ---- */
.products-controls {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 40px;
}
.products-controls .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.search-bar {
  flex: 1;
  min-width: 250px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--off-white);
}
.search-bar input:focus { border-color: var(--gold); background: #fff; }
.search-bar .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 1.1rem;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--off-white);
  color: var(--gray);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab.active, .filter-tab:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- Services Page ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  text-align: center;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 48px rgba(240,165,0,0.12); }
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--mid-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); }
.service-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* ---- Auth Pages ---- */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card .auth-logo .logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.auth-card .auth-logo .logo-text span { color: var(--gold); }
.auth-card h2 { font-size: 1.6rem; color: var(--navy); text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--off-white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240,165,0,0.1);
}
.form-group .input-wrap { position: relative; }
.form-group .input-wrap input { padding-right: 46px; }
.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--gray);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
}
.error-msg { color: #e53e3e; font-size: 0.8rem; margin-top: 6px; display: none; }
.error-msg.show { display: block; }
.form-group input.error { border-color: #e53e3e; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--gold); color: var(--navy); }
.auth-footer { text-align: center; margin-top: 24px; color: var(--gray); font-size: 0.88rem; }
.auth-footer a { color: var(--gold); font-weight: 600; }

/* ---- Contact Page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 28px; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 36px;
  color: var(--white);
}
.contact-info-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(240,165,0,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-text h4 { font-size: 0.88rem; color: #8a9bb0; margin-bottom: 4px; font-weight: 500; }
.info-text p { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.map-placeholder {
  height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 1px dashed rgba(240,165,0,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.map-placeholder:hover { background: rgba(240,165,0,0.08); }
.map-placeholder .map-icon { font-size: 2.4rem; margin-bottom: 8px; }
.map-placeholder p { color: #8a9bb0; font-size: 0.88rem; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox-group label { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }
.checkbox-group label a { color: var(--gold); text-decoration: underline; }

/* ---- Support Page ---- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.faq-q .chevron { font-size: 1.1rem; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 24px 20px; color: var(--gray); font-size: 0.9rem; line-height: 1.8; border-top: 1px solid var(--light-gray); padding-top: 16px; }
.faq-item.open .faq-a { max-height: 300px; }

.help-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.help-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.help-card .help-icon { font-size: 2.4rem; margin-bottom: 16px; }
.help-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 10px; }
.help-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }

/* ---- Legal Pages ---- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 60px;
  box-shadow: var(--shadow);
}
.legal-content h2 { font-size: 1.4rem; color: var(--navy); margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--gray); line-height: 1.9; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { color: var(--gray); line-height: 1.8; margin-bottom: 6px; list-style: disc; }

/* ---- Chatbot ---- */
#chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
#chatbot-toggle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(240,165,0,0.4);
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}
#chatbot-toggle:hover { transform: scale(1.08); }
#chatbot-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: var(--navy);
  border-radius: 16px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(240,165,0,0.2);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
#chatbot-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-header {
  background: linear-gradient(90deg, var(--dark-blue), var(--mid-blue));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(240,165,0,0.2);
}
.chat-header h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; }
.chat-close { color: #8a9bb0; font-size: 1.2rem; cursor: pointer; background: none; transition: var(--transition); }
.chat-close:hover { color: var(--white); }
.chat-body { padding: 16px; max-height: 280px; overflow-y: auto; }
.chat-msg {
  margin-bottom: 12px;
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot .bubble {
  background: rgba(255,255,255,0.08);
  color: #c8d5e8;
  border-radius: 12px 12px 12px 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  max-width: 85%;
  display: inline-block;
  line-height: 1.6;
}
.chat-msg.user { text-align: right; }
.chat-msg.user .bubble {
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px 12px 0 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  max-width: 85%;
  display: inline-block;
  font-weight: 600;
}
.chat-quick { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 6px; }
.quick-btn {
  padding: 9px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 8px;
  color: #c8d5e8;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.quick-btn:hover { background: rgba(240,165,0,0.12); color: var(--gold); border-color: var(--gold); }

/* ---- Toast Notification ---- */
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #22c55e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9000;
  pointer-events: none;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Animations ---- */
.fade-in { animation: fadeIn 0.7s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav, .header-actions .btn-outline-gold, .header-actions .btn-gold { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .legal-content { padding: 32px 24px; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
}
