/* ===== Variables ===== */
:root {
  --bg-deep: #06080f;
  --bg-card: rgba(14, 18, 32, 0.72);
  --bg-elevated: #0f1424;
  --text-primary: #f0f2f8;
  --text-secondary: #8b93a8;
  --text-muted: #5c6478;
  --accent: #c9a962;
  --accent-light: #e8d5a3;
  --accent-glow: rgba(201, 169, 98, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(201, 169, 98, 0.4);
  --gradient-gold: linear-gradient(135deg, #c9a962 0%, #e8d5a3 50%, #a88b4a 100%);
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', 'Noto Sans SC', serif;
  --header-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea { font: inherit; border: none; outline: none; background: none; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-gold);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.logo-mark.sm { width: 36px; height: 36px; font-size: 1.1rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1rem; letter-spacing: 0.12em; }
.logo-text small { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.2em; }
.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav a:hover { color: var(--text-primary); }
.nav a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(201, 169, 98, 0.08);
}
.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(201, 169, 98, 0.12);
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -10%;
  background: rgba(80, 120, 200, 0.08);
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 28px;
}
.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat strong::after { content: '+'; font-size: 1.2rem; }
.stat span { font-size: 0.85rem; color: var(--text-muted); }
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Sections ===== */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}
.section-sub {
  margin-top: 16px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 400px;
}
.about-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.about-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: var(--gradient-gold);
  opacity: 0.15;
  z-index: 0;
}
.about-year {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: auto;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.about-card p { color: var(--text-muted); font-size: 0.9rem; }
.about-text .lead {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 400;
}
.about-text p { color: var(--text-secondary); margin-bottom: 32px; }
.about-values { display: flex; flex-direction: column; gap: 24px; }
.about-values li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.value-icon {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.6;
}
.about-values h4 { font-size: 1rem; margin-bottom: 4px; }
.about-values p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== Services ===== */
.services { background: var(--bg-elevated); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(6, 8, 15, 0.5);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 24px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Solutions ===== */
.solutions-list { max-width: 800px; }
.solution-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
  position: relative;
}
.solution-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  min-width: 60px;
}
.solution-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.solution-body p { color: var(--text-secondary); }
.solution-line {
  position: absolute;
  bottom: 0;
  left: 92px;
  right: 0;
  height: 1px;
  background: var(--border);
}

/* ===== CTA ===== */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { text-align: center; }
.cta-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.cta-inner p { color: var(--text-secondary); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-block { margin-bottom: 32px; }
.contact-block h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-block p { color: var(--text-secondary); }
.contact-block a:hover { color: var(--accent-light); }
.contact-form {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 20px;
}
.contact-form label span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(6, 8, 15, 0.6);
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--border-hover); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}
.form-feedback.success {
  color: #7dcea0;
  background: rgba(125, 206, 160, 0.1);
  border: 1px solid rgba(125, 206, 160, 0.3);
}
.form-feedback.error {
  color: #e8a0a0;
  background: rgba(232, 160, 160, 0.1);
  border: 1px solid rgba(232, 160, 160, 0.3);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.footer-brand small { font-size: 0.75rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { max-width: 100%; aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .solution-item { flex-direction: column; gap: 12px; }
  .solution-line { left: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .scroll-hint { display: none; }
}
