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

body {
  font-family: "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.app {
  display: flex;
}

/* ── Sidebar ── */
.sidebar {
  width: 240px;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 24px 20px;
  background: #0a1120;
  border-right: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #f97316;
  margin-bottom: 20px;
}

.avatar {
  width: 64px;
  height: 64px;
  background: #1e3a5f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}

.name {
  text-align: center;
  font-weight: bold;
  margin-bottom: 4px;
}

.role {
  text-align: center;
  font-size: 0.75rem;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 20px;
  padding: 3px 10px;
  display: block;
  width: fit-content;
  margin: 0 auto 20px;
}

nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

nav a:hover {
  background: #1e293b;
  color: white;
}

.lang-btns {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #1e293b;
  display: flex;
  gap: 6px;
}

.lang-btns button {
  flex: 1;
  padding: 6px;
  background: #1e293b;
  border: none;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: bold;
}

.lang-btns button:hover,
.lang-btns button.active {
  background: #f97316;
  color: white;
}

/* ── Content ── */
.content {
  flex: 1;
  padding: 40px;
  max-width: 820px;
}

section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f97316;
  margin-bottom: 16px;
}

/* ── About ── */
h1 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.15;
}

h1 span { color: #f97316; }

#about-text {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 500px;
}

.btns {
  display: flex;
  gap: 12px;
}

.btn-main {
  padding: 10px 22px;
  background: #1e3a5f;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-main:hover { background: #2a5082; }

.btn-orange { background: #f97316; }
.btn-orange:hover { background: #ea6c0a; }

/* ── Skills ── */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills span {
  padding: 8px 16px;
  background: #1e293b;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skills span i { color: #3b82f6; }

/* ── Projects ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: #0a1120;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: 0.2s;
}

.card:hover {
  border-color: #f97316;
  transform: translateY(-3px);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.card-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.card h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.live-badge {
  font-size: 0.72rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Contact ── */
.contact-box {
  background: #0a1120;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-box h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-box p  { font-size: 0.85rem; color: #64748b; }

button.tg-btn {
  padding: 10px 22px;
  background: #f97316;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

button.tg-btn:hover { background: #ea6c0a; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .content { padding: 20px; }
  h1 { font-size: 1.8rem; }
}
