:root {
  --bg: #0b0c0e;
  --bg-alt: #101114;
  --silver-1: #f4f5f7;
  --silver-2: #d8dade;
  --silver-3: #a8acb4;
  --silver-4: #6e7178;
  --line: rgba(216, 218, 222, 0.14);
  --line-strong: rgba(216, 218, 222, 0.28);
  --text-main: #e9eaec;
  --text-muted: #9a9da5;
  --radius: 14px;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background flourishes */
.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(216, 218, 222, 0.14) 0%, rgba(168, 172, 180, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 218, 222, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 218, 222, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--silver-1) 0%, var(--silver-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin: 0 0 14px;
}

.center { text-align: center; }

/* Header */
.site-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1rem;
  background: linear-gradient(120deg, var(--silver-1), var(--silver-3), var(--silver-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--silver-1); }

.nav-cta {
  color: var(--silver-1) !important;
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: 999px;
}

.nav-cta:hover { border-color: var(--silver-2); }

/* Hero */
.hero {
  padding: 140px 0 110px;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.shine {
  position: relative;
  background: linear-gradient(110deg, var(--silver-3) 20%, var(--silver-1) 40%, var(--silver-1) 55%, var(--silver-3) 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--silver-1), var(--silver-3));
  color: #101114;
  box-shadow: 0 8px 24px rgba(216, 218, 222, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(216, 218, 222, 0.25);
}

.btn-ghost {
  color: var(--silver-1);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.02);
}

.btn-ghost:hover {
  border-color: var(--silver-2);
  background: rgba(255,255,255,0.05);
}

.btn-block { width: 100%; }

/* Sections */
.section { padding: 100px 0; border-top: 1px solid var(--line); }

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 48px;
}

/* Services cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}

.card-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--silver-4);
  border: 1px solid var(--line-strong);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p { font-size: 0.95rem; margin: 0; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 20px; }

.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  color: var(--text-main);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--silver-1), var(--silver-3));
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
}

.avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--silver-1), var(--silver-3) 45%, #3a3c40 100%);
  box-shadow: 0 0 80px rgba(216, 218, 222, 0.18), inset -20px -20px 50px rgba(0,0,0,0.35);
  animation: float 6s ease-in-out infinite;
}

.avatar-icon {
  width: 42%;
  height: 42%;
  color: #22242a;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

.avatar-icon path { fill: currentColor; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Contact */
.contact-sub { max-width: 480px; margin: 0 auto 48px; }

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.85rem;
  color: var(--silver-3);
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

input, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input::placeholder, textarea::placeholder { color: var(--silver-4); }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--silver-2);
  background: rgba(255,255,255,0.05);
}

textarea { resize: vertical; min-height: 120px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  text-align: center;
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.form-status.success { color: #b9e6c9; }
.form-status.error { color: #e6b9b9; }

.direct-contact {
  text-align: center;
  margin-top: 36px;
}

.direct-contact p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.direct-email {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--silver-1);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.direct-email:hover { border-color: var(--silver-2); opacity: 0.85; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--silver-4);
}

/* Responsive */
@media (max-width: 820px) {
  .card-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; height: 180px; }
  .avatar { width: 160px; height: 160px; }
}

@media (max-width: 620px) {
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 100px 0 70px; }
  .section { padding: 70px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}
