
/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #20201d;
  background: #ffffff;
  line-height: 1.6;
}
:root {
  --black: #11110f;
  --charcoal: #232320;
  --gray: #77746d;
  --silver: #dedbd3;
  --ivory: #faf9f6;
  --white: #ffffff;
  --gold: #c6a15b;
  --gold-dark: #9a7738;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header & Nav */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.logo {
  display: inline-flex; align-items: center; width: 92px; height: 64px;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 0.5rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0.75rem 1.25rem; font-size: 0.9rem; font-weight: 600;
  color: #11110f; text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 6px; transition: all 0.2s ease;
}
.nav-link:hover { background: #f2f0ea; color: #c6a15b; }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  padding: 1.5rem; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.25s ease; margin-top: 0.5rem;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-title {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: #77746d; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #dedbd3;
}
.dropdown-list li { margin-bottom: 0.25rem; }
.dropdown-list a {
  display: block; padding: 0.6rem 0.75rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 500; color: #11110f;
  transition: all 0.15s ease;
}
.dropdown-list a:hover { background: #f2f0ea; color: #c6a15b; }
.dropdown-list a small {
  display: block; font-size: 0.75rem; color: #77746d; font-weight: 400; margin-top: 2px;
}
.dropdown-footer {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dedbd3;
}
.dropdown-footer a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #c6a15b;
}
.dropdown-footer a:hover { text-decoration: underline; }

/* Login Button */
.btn-login {
  background: #11110f; color: #fff; padding: 0.65rem 1.5rem;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: all 0.2s ease; border: none; cursor: pointer;
}
.btn-login:hover { background: #c6a15b; }

/* Mobile Toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: #11110f; transition: 0.3s; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background-image: linear-gradient(90deg, rgba(13,13,12,0.94) 0%, rgba(13,13,12,0.76) 40%, rgba(13,13,12,0.24) 72%, rgba(13,13,12,0.12) 100%), url('assets/roccrx-background.png');
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  color: #fff; padding-top: 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,15,0.05), rgba(17,17,15,0.34));
  pointer-events: none;
}
.hero-container { max-width: 1400px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-content h1 span { color: #c6a15b; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 500px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}
.badge svg { width: 16px; height: 16px; color: #c6a15b; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: #c6a15b; color: #fff; padding: 1rem 2rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all 0.2s ease; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { background: #9a7738; transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: #fff; padding: 1rem 2rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.3); transition: all 0.2s ease; display: inline-block;
}
.btn-secondary:hover { border-color: #c6a15b; color: #c6a15b; }

/* Hero Visual */
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.visual-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 2rem; text-align: center; transition: all 0.3s ease;
}
.visual-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); }
.visual-card .icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  background: rgba(198,161,91,0.15); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.visual-card .icon svg { width: 28px; height: 28px; color: #c6a15b; }
.visual-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.visual-card p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Marquee */
.marquee {
  background: #faf9f6; border-top: 1px solid #dedbd3; border-bottom: 1px solid #dedbd3;
  padding: 1.5rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem; animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; font-weight: 600; color: #77746d; white-space: nowrap;
}
.marquee-item svg { width: 18px; height: 18px; color: #c6a15b; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Base */
.section { padding: 6rem 2rem; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: #11110f; margin-bottom: 1rem; }
.section-header h2 span { color: #c6a15b; }
.section-header p { font-size: 1.1rem; color: #77746d; max-width: 600px; margin: 0 auto; }

/* Difference Grid */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.diff-card {
  background: #fff; border: 1px solid #dedbd3; border-radius: 16px;
  padding: 2.5rem 2rem; text-align: center; transition: all 0.3s ease;
}
.diff-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); transform: translateY(-5px); }
.diff-card .icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  background: rgba(198,161,91,0.1); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.diff-card .icon svg { width: 32px; height: 32px; color: #c6a15b; }
.diff-card h3 { font-size: 1.1rem; font-weight: 700; color: #11110f; margin-bottom: 0.75rem; }
.diff-card p { font-size: 0.9rem; color: #77746d; line-height: 1.7; }

/* Product Categories */
.products-section { background: #faf9f6; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid #dedbd3; transition: all 0.3s ease;
}
.product-card:hover { box-shadow: 0 25px 80px rgba(0,0,0,0.1); transform: translateY(-5px); }
.product-card-header {
  padding: 2.5rem 2rem; background: linear-gradient(135deg, #11110f 0%, #34332f 100%);
  color: #fff; position: relative; overflow: hidden;
}
.product-card-header::before {
  content: ''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px;
  background: rgba(198,161,91,0.15); border-radius: 50%;
}
.product-card-header .icon {
  width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; position: relative;
}
.product-card-header .icon svg { width: 24px; height: 24px; }
.product-card-header h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; position: relative; }
.product-card-header p { font-size: 0.85rem; color: rgba(255,255,255,0.7); position: relative; }
.product-card-body { padding: 2rem; }
.product-card-body ul { margin-bottom: 1.5rem; }
.product-card-body ul li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid #f2f0ea;
  font-size: 0.9rem; color: #5f5d57;
}
.product-card-body ul li:last-child { border-bottom: none; }
.product-card-body ul li svg { width: 18px; height: 18px; color: #c6a15b; flex-shrink: 0; margin-top: 2px; }
.product-card-footer { padding: 0 2rem 2rem; }
.btn-product {
  display: block; width: 100%; text-align: center;
  background: #f2f0ea; color: #11110f; padding: 0.9rem;
  border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.btn-product:hover { background: #c6a15b; color: #fff; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.partner-card {
  background: #fff; border: 1px solid #dedbd3; border-radius: 16px;
  padding: 3rem 2rem; text-align: center; transition: all 0.3s ease;
}
.partner-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.partner-logo {
  width: 80px; height: 80px; margin: 0 auto 1.5rem;
  background: #f2f0ea; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #11110f;
}
.partner-card h3 { font-size: 1.2rem; font-weight: 700; color: #11110f; margin-bottom: 0.5rem; }
.partner-card p { font-size: 0.9rem; color: #77746d; margin-bottom: 1.5rem; }
.partner-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #c6a15b;
}
.partner-link:hover { text-decoration: underline; }

/* On-site Partner Details */
.partner-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.partner-modal.open { opacity: 1; visibility: visible; }
.partner-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(13,13,12,0.78); backdrop-filter: blur(8px); cursor: default; }
.partner-modal-panel { position: relative; width: min(680px, 100%); max-height: min(760px, 90vh); overflow-y: auto; background: #faf9f6; border: 1px solid rgba(198,161,91,0.45); border-radius: 22px; padding: 3rem; box-shadow: 0 30px 100px rgba(0,0,0,0.35); transform: translateY(18px) scale(0.98); transition: transform 0.3s ease; }
.partner-modal.open .partner-modal-panel { transform: translateY(0) scale(1); }
.partner-modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid #dedbd3; border-radius: 50%; background: #fff; color: #11110f; font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.partner-modal-close:hover, .partner-modal-close:focus-visible { background: #11110f; color: #fff; outline: none; }
.partner-modal-eyebrow { color: #9a7738; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.7rem; }
.partner-modal-content h2 { color: #11110f; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin-bottom: 0.55rem; }
.partner-category { color: #77746d; font-size: 0.95rem; margin-bottom: 1.75rem; }
.partner-summary { color: #34332f; font-size: 1.05rem; margin-bottom: 1.6rem; }
.partner-source { border-left: 3px solid #c6a15b; padding: 0.15rem 0 0.15rem 1rem; color: #5f5d57; margin-bottom: 1.75rem; }
.partner-source strong { display: block; color: #11110f; margin-bottom: 0.25rem; }
.partner-highlights { display: grid; gap: 0.7rem; }
.partner-highlights li { position: relative; padding-left: 1.35rem; color: #34332f; }
.partner-highlights li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: #c6a15b; }
.partner-freshness { margin-top: 1.75rem; color: #77746d; font-size: 0.76rem; }
.partner-loading { min-height: 260px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 0.55rem; text-align: center; }
.partner-loading span { width: 10px; height: 10px; border-radius: 50%; background: #c6a15b; animation: partnerPulse 0.9s ease-in-out infinite alternate; }
.partner-loading span:nth-child(2) { animation-delay: 0.2s; }
.partner-loading span:nth-child(3) { animation-delay: 0.4s; }
.partner-loading p { flex-basis: 100%; color: #77746d; margin-top: 0.7rem; }
.partner-error { padding: 4rem 1rem; text-align: center; color: #5f5d57; }
body.modal-open { overflow: hidden; }
@keyframes partnerPulse { to { opacity: 0.25; transform: translateY(-5px); } }

/* Contact */
.contact-section { background: #11110f; color: #fff; }
.contact-section .section-header h2 { color: #fff; }
.contact-section .section-header p { color: rgba(255,255,255,0.7); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.contact-details li {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; font-size: 0.95rem;
}
.contact-details li svg { width: 20px; height: 20px; color: #c6a15b; }
.contact-form {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.9rem 1rem; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  color: #fff; font-size: 0.95rem; transition: all 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #c6a15b; background: rgba(255,255,255,0.12); }
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; background: #c6a15b; color: #fff; padding: 1rem;
  border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-submit:hover { background: #9a7738; }

/* Footer */
.footer {
  background: #0d0d0c; color: rgba(255,255,255,0.6); padding: 4rem 2rem 2rem;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; filter: drop-shadow(0 2px 8px rgba(198,161,91,0.18)); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,0.08);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: #c6a15b; }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #c6a15b; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero { background-position: 58% center; }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { background-image: linear-gradient(rgba(13,13,12,0.84), rgba(13,13,12,0.78)), url('assets/roccrx-background.png'); background-position: 62% center; }
  .logo { width: 76px; height: 56px; }
  .mobile-toggle { display: flex; }
  .nav-menu { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); background: #fff; flex-direction: column; padding: 2rem; gap: 0; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease; }
  .nav-menu.active { transform: translateX(0); }
  .nav-item { width: 100%; }
  .nav-link { padding: 1rem; border-bottom: 1px solid #f2f0ea; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 1rem; margin: 0; display: none; min-width: auto; }
  .nav-item.open .dropdown { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .partner-modal { padding: 0.75rem; }
  .partner-modal-panel { padding: 2.5rem 1.5rem 2rem; border-radius: 16px; }
}
