/*
  ZORYAN Website styles
  This stylesheet defines a dark, premium aesthetic inspired by
  modern managed IT service providers. Gold accents are used to
  highlight important elements, reflecting the ZORYAN brand.
*/

/* Base variables */
:root {
  --bg: #05060a;
  --bg2: #0a0b11;
  --card-bg: rgba(12, 14, 20, 0.55);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9e9ef;
  --muted: rgba(233, 233, 239, 0.75);
  --gold: #d4af37;
  --gold-dark: #8f6b16;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

/* Global resets */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 94%);
  margin-left: auto;
  margin-right: auto;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5, 6, 10, 0.7);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.brand-name {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  color: #07070a;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* Hero section */
.hero {
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.logo-wrap {
  max-width: 300px;
  margin-bottom: 24px;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6));
  border-radius: 12px;
}

.headline {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.gold-gradient {
  background: linear-gradient(135deg, #ffe08a, var(--gold), #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: 16px;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Metrics inside hero */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  text-align: left;
}

.metric-value {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3px;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Glass card on hero right */
.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.glass-title {
  font-weight: 700;
  letter-spacing: 0.6px;
}

.glass-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.7), rgba(255, 255, 255, 0.08), transparent);
  margin: 14px 0;
}

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.bullets li {
  margin: 8px 0;
}

.bullets strong {
  color: var(--text);
  font-weight: 600;
}

.mini-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(233, 233, 239, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.hero-divider {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.scroll-hint {
  font-size: 12px;
  color: rgba(233, 233, 239, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

/* Section base styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  text-align: center;
  max-width: 78ch;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: 0.4px;
  color: var(--gold);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Cards grid for capabilities */
.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--card-bg);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.25);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--gold);
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 12px;
  color: rgba(233, 233, 239, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

/* Why section cards */
.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.why {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 20px;
}

.why h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--gold);
}

.why p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Process steps */
.steps {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.45);
  border-radius: 18px;
  padding: 20px;
}

.step-no {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.07);
  color: rgba(233, 233, 239, 0.86);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--gold);
}

.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonial {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.testimonial-quote {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.testimonial-quote:before {
  content: '“';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}

.testimonial-author {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

/* Contact section */
.contact-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.55);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  max-width: 820px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.label {
  color: rgba(233, 233, 239, 0.6);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.value {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--gold);
}

.contact-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 20px;
  flex-wrap: wrap;
}

.fineprint {
  text-align: center;
  color: rgba(233, 233, 239, 0.55);
  font-size: 12px;
  margin-top: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 200px;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--gold);
  font-size: 20px;
}

.footer-sub {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}

.footer-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-right a {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.footer-right a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: rgba(233, 233, 239, 0.55);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-left {
    order: 2;
  }
  .hero-right {
    order: 1;
    margin-bottom: 40px;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* =========================================
   Form feedback (success / error messages)
   ========================================= */

.form-success,
.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.4;
  font-size: 14px;
  border: 1px solid transparent;
  animation: fadeInUp 0.35s ease forwards;
}

.form-success {
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.35);
}

.form-error {
  background: rgba(255, 80, 80, 0.12);
  color: #ff7b7b;
  border-color: rgba(255, 80, 80, 0.35);
}

/* Loading state for submit button */
.contact-form.loading button,
.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Small entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
