/* =========================================================
   PlatSol Technologies — Core Theme
   Black + Platinum + Gold | Luxury Form meets Function
   ========================================================= */

/* ---------- Color System ---------- */
:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --platinum: #b8b8b8;
  --platinum-light: #d9d9d9;
  --gold: #c9a96e;
  --gold-dark: #a8894d;
  --gold-light: #dfc38b;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --bg-main: #fafaf8;
  --bg-white: #ffffff;

  /* Luxury polish */
  --divider: rgba(201, 169, 110, 0.35);
  --divider-subtle: rgba(184, 184, 184, 0.4);
  --soft-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --gold-glow: 0 4px 20px rgba(201, 169, 110, 0.15);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------- Base ---------- */
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue",
               -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.75rem;
}

/* ---------- Header ---------- */
header {
  background-color: var(--black);
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

header .container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Navigation ---------- */
nav a {
  margin-left: 1.75rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--platinum);
  transition: color 0.3s ease;
}

nav a:first-child {
  margin-left: 0;
}

nav a:hover,
nav a.cta {
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--divider);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--black);
  letter-spacing: 0.5px;
  line-height: 1.2;
  max-width: 800px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Gold accent line under hero heading */
.hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: #2f2f2f;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-weight: 600;
  color: var(--black);
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

/* Gold accent line under h1 */
main > h1::after,
main > .container > h1::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 0.75rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--divider);
  letter-spacing: 0.2px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--black);
}

/* ---------- Text ---------- */
p {
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.muted {
  color: var(--text-muted);
}

strong {
  color: var(--black);
}

/* ---------- Lists ---------- */
ul, ol {
  margin: 1.5rem 0 2rem 1.25rem;
}

li {
  margin-bottom: 0.75rem;
}

li::marker {
  color: var(--gold);
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.grid-item {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--divider-subtle);
  border-top: 3px solid var(--gold);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

.grid-item h3 {
  margin-bottom: 0.75rem;
}

.grid-item-dark {
  background: transparent;
  border-color: rgba(201, 169, 110, 0.3);
  border-top-color: var(--gold);
}

.grid-item-dark:hover {
  background: rgba(201, 169, 110, 0.05);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold);
  background-color: transparent;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: var(--gold);
  color: var(--black);
  box-shadow: var(--gold-glow);
}

.button-primary {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--gold-glow);
}

/* =========================================================
   Dark Section Band
   ========================================================= */
.section-dark {
  background-color: var(--black);
  color: var(--platinum-light);
  padding: 5rem 0;
  position: relative;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-dark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark h2 {
  border-bottom-color: rgba(201, 169, 110, 0.3);
}

.section-dark h1::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.section-dark p {
  color: var(--platinum-light);
}

.section-dark .muted {
  color: var(--platinum);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.section-dark strong {
  color: var(--gold-light);
}

.section-dark li::marker {
  color: var(--gold);
}

.section-dark .button {
  border-color: var(--gold);
  color: var(--gold);
}

.section-dark .button:hover {
  background-color: var(--gold);
  color: var(--black);
}

/* =========================================================
   CTA Section — Premium Conversion Moment
   ========================================================= */
.section-cta {
  background: linear-gradient(135deg, #111111, #1a1a1a);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.section-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-cta h2 {
  color: #ffffff;
  border-bottom: none;
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

.section-cta p {
  max-width: 640px;
  margin: 0 auto 1.5rem auto;
  color: var(--platinum);
}

.section-cta .button {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--black);
  font-weight: 700;
}

.section-cta .button:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--gold-glow);
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--black);
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  padding: 2.25rem 0;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: var(--platinum);
  letter-spacing: 0.5px;
}

/* ---------- Utility ---------- */
.text-gold {
  color: var(--gold);
}

.divider-gold {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 2rem 0;
}

/* ---------- Section spacing ---------- */
section {
  margin-bottom: 1rem;
}

main > section:last-child {
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
    margin-bottom: 0.25rem;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 2.25rem 1.25rem;
  }
}
