/* ============================================================
   FAERIE LOCKS LLC — Master Stylesheet
   Industry: Computer Systems Design & Related Services
   ============================================================ */

:root {
  --bg-deep: #0a1018;
  --bg-primary: #101927;
  --bg-secondary: #18273a;
  --bg-card: #1d3048;
  --bg-elevated: #243a56;
  --bg-input: #152233;
  --text-primary: #ede8dd;
  --text-secondary: #a6b1bf;
  --text-muted: #6b788b;
  --accent-gold: #c49a3f;
  --accent-gold-light: #dbb858;
  --accent-gold-dark: #a07e2f;
  --accent-teal: #4d9a8c;
  --accent-teal-light: #63b5a5;
  --accent-teal-dark: #3a7368;
  --accent-rose: #b8556a;
  --border-subtle: #233048;
  --border-medium: #30445c;
  --border-strong: #405670;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 20px rgba(196,154,63,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --nav-height: 72px;
  --max-width: 1200px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ---- Typography ---- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--text-primary); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); color: var(--text-primary); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--accent-gold-light); }
h4 { font-size: 1.1rem; color: var(--text-secondary); }

p { margin-bottom: 1rem; }
a { color: var(--accent-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-gold-light); }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--text-primary); }

/* ---- Layout ---- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-primary);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 0.6rem;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1rem auto;
  border-radius: 2px;
}

/* ---- Navigation ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--bg-secondary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
  background: rgba(196,154,63,0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

/* ---- Hero ---- */

.hero {
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-primary) 40%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,154,140,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }
.hero-visual { flex: 1; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-deep);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,154,63,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.hero-stat:hover {
  border-color: var(--accent-gold);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---- Features ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gold);
  transition: height 0.3s;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(196,154,63,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---- Service Detail ---- */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.service-item:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.5;
  line-height: 1;
  min-width: 60px;
}

.service-detail h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.service-detail p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(77,154,140,0.12);
  color: var(--accent-teal-light);
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ---- About ---- */

.about-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text { flex: 1; }
.about-visual { flex: 1; }

.about-visual-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.about-box-large {
  grid-column: span 2;
}

.about-box-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.about-box-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.about-box-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

/* ---- Contact ---- */

.contact-layout {
  display: flex;
  gap: 3rem;
}

.contact-info { flex: 1; }
.contact-form-wrap { flex: 1.2; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}

.contact-card:hover {
  border-color: var(--border-medium);
}

.contact-card h4 {
  font-family: var(--font-heading);
  color: var(--accent-gold-light);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.25s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(196,154,63,0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ---- Content Page (Privacy / Terms) ---- */

.page-header {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
  margin-bottom: 0.6rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-body {
  padding: 3rem 0 5rem;
}

.content-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
}

.content-block h2 {
  font-size: 1.5rem;
  color: var(--accent-gold-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.content-block p, .content-block li {
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-block ul, .content-block ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}

.content-block a {
  color: var(--accent-teal-light);
}

.content-block a:hover {
  color: var(--accent-teal);
}

.content-block .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.content-block .highlight-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.content-block .highlight-box p {
  margin-bottom: 0;
  color: var(--text-primary);
}

/* ---- Footer ---- */

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ---- Page Banner ---- */

.page-banner {
  background: linear-gradient(160deg, var(--bg-deep), var(--bg-secondary));
  border-bottom: 1px solid var(--border-subtle);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(196,154,63,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- CTA Section ---- */

.cta-section {
  background: linear-gradient(160deg, var(--bg-secondary), var(--bg-deep));
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 0.8rem;
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hero-content { flex-direction: column; gap: 3rem; }
  .hero-visual { width: 100%; }
  .about-layout { flex-direction: column; gap: 3rem; }
  .contact-layout { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .hero { padding: calc(var(--nav-height) + 2rem) 0 3rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 16, 24, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .content-block { padding: 1.5rem; }
  .service-item { flex-direction: column; gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Animations ---- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

/* ---- Print ---- */

@media print {
  .navbar, .footer, .cta-section { display: none; }
  body { background: white; color: black; }
  .content-block { border: none; background: white; }
}
