/* Base styles - Raisovich dark theme */
:root {
  --bg: #050505;
  --bg2: #0a0a0a;
  --card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.06);
  --text: #ffffff;
  --text2: #a1a1a1;
  --text3: #666666;
  --gold: #d4a965;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 800px;
  --header: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
img { max-width: 100%; border-radius: 8px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header);
  background: rgba(5,5,5,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); z-index: 100;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-size: 1.1rem; font-weight: 700; }
.nav-brand span { color: var(--text3); font-weight: 300; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.875rem; color: var(--text2); }
.nav-links a:hover { color: var(--text); }

/* Main */
.main-content { min-height: 100vh; padding-top: calc(var(--header) + 2rem); padding-bottom: 3rem; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(212, 169, 101, 0.12);
  border: 1px solid rgba(212, 169, 101, 0.2);
  border-radius: 12px;
  color: var(--gold); font-size: 0.95rem; font-weight: 600;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: rgba(212, 169, 101, 0.2);
  border-color: rgba(212, 169, 101, 0.35);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text2); font-size: 0.95rem; font-weight: 500;
  transition: all 0.3s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); opacity: 1; }

/* Section title */
.section-title {
  font-size: 2rem; font-weight: 700; margin: 0 0 2rem; text-align: center; letter-spacing: -0.03em;
}

/* ===== HERO ===== */
.hero-section {
  position: relative; text-align: center; padding: 4rem 0 3rem;
  overflow: hidden; border-radius: 24px;
}
.hero-glass {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,169,101,0.03) 0%, rgba(212,169,101,0.06) 30%, transparent 60%, rgba(212,169,101,0.02) 100%);
  backdrop-filter: blur(20px); border: 1px solid rgba(212,169,101,0.08);
  border-radius: 24px;
}
.hero-content { position: relative; z-index: 1; padding: 3rem 2rem; }
.hero-badge {
  display: inline-block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 1.5rem;
  padding: 0.35rem 1rem; border: 1px solid rgba(212,169,101,0.15); border-radius: 100px;
}
.hero-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.25rem; }
.hero-accent { color: var(--gold); }
.hero-desc { font-size: 1.1rem; color: var(--text2); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SERVICES ===== */
.services-section { padding: 4rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card {
  display: flex; flex-direction: column; padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: 20px;
  transition: all 0.35s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(212,169,101,0.15); background: rgba(212,169,101,0.04); opacity: 1; }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; margin: 0 0 1rem; flex: 1; }
.service-arrow { font-size: 1.25rem; color: var(--gold); transition: transform 0.3s; }
.service-card:hover .service-arrow { transform: translateX(4px); }

/* ===== POSTS ===== */
.posts-section { padding: 4rem 0; }
.posts-list { display: flex; flex-direction: column; gap: 0.5rem; }
.post-item {
  display: block; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s;
}
.post-item:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); opacity: 1; }
.post-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.post-meta time { font-size: 0.8rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em; }
.post-tag {
  font-size: 0.7rem; padding: 0.15rem 0.5rem;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em;
}
.post-title { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.4; }
.post-title a { color: var(--text); }
.post-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.6; margin: 0; }
.posts-footer { text-align: center; margin-top: 2rem; }

/* ===== CTA ===== */
.cta-section {
  position: relative; text-align: center; padding: 4rem 0; overflow: hidden; border-radius: 24px; margin-top: 2rem;
}
.cta-glass {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,169,101,0.02), rgba(212,169,101,0.05), transparent, rgba(212,169,101,0.03));
  backdrop-filter: blur(20px); border: 1px solid rgba(212,169,101,0.06); border-radius: 24px;
}
.cta-content { position: relative; z-index: 1; padding: 3rem 2rem; }
.cta-content h2 { font-size: 2rem; font-weight: 700; margin: 0 0 0.75rem; letter-spacing: -0.03em; }
.cta-content p { font-size: 1.05rem; color: var(--text2); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }

/* ===== FORM ===== */
.form-section { padding: 4rem 0; }
.form-subtitle { text-align: center; color: var(--text3); margin: -1rem 0 2.5rem; }
.lead-form {
  max-width: 600px; margin: 0 auto; padding: 2rem;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text2); margin-bottom: 0.35rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 0.95rem; font-family: var(--font);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: rgba(212,169,101,0.3); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-btn { width: 100%; justify-content: center; margin-bottom: 0.75rem; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text3); }
.form-success { text-align: center; padding: 1rem; background: rgba(212,169,101,0.06); border-radius: 10px; margin-top: 1rem; }
.form-success p { color: var(--gold); margin: 0; }
.form-error { text-align: center; padding: 1rem; background: rgba(255,80,80,0.06); border-radius: 10px; margin-top: 1rem; }
.form-error p { color: #ff5050; margin: 0; font-size: 0.9rem; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-brand { font-size: 1rem; font-weight: 700; }
.footer-brand span { color: var(--text3); font-weight: 300; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text2); transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text3); }
.footer-copy a { color: var(--text2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .hero-badge { font-size: 0.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .cta-content h2 { font-size: 1.5rem; }
  .hero-section { padding: 2.5rem 0; }
  .services-section, .posts-section, .cta-section, .form-section { padding: 2.5rem 0; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .hero-title { font-size: 1.75rem; }
  .nav-links { gap: 1rem; }
}
